commit | 47b1d228305444bc22c8eb68f186779cc4c9eb10 | [log] [tgz] |
---|---|---|
author | Vignesh Venkatasubramanian <vigneshv@google.com> | Thu Jan 12 21:45:40 2023 +0000 |
committer | Vignesh Venkatasubramanian <vigneshv@google.com> | Thu Jan 12 22:02:53 2023 +0000 |
tree | 1d8706b67accba07e0daf900da9a5f65a6bf27f2 | |
parent | e984374cae538423cc69d04eb93411b0e920c1dd [diff] |
Use separate stride for V plane in convertYUV420Planar8ToYV12 The code assumes that U and V planes in C2GraphicsBuffer will always have the same stride (which may or may not be the case). Pass in separate V stride and use that for populating the V plane. Bug: 260137064 Test: atest CtsMediaCodecTestCases CtsMediaDecoderTestCases CtsMediaPlayerTestCases Change-Id: I4ca67104e69e04aba92eb01d40b24d0af80609ab