commit | f6b3e5e9284fceffdebefa7c4a5d41928ecced38 | [log] [tgz] |
---|---|---|
author | Harish Mahendrakar <hmahendrakar@google.com> | Thu Mar 21 21:04:28 2024 +0000 |
committer | Harish Mahendrakar <hmahendrakar@google.com> | Fri Mar 22 23:59:58 2024 +0000 |
tree | d61aeea93cf672c71e153b4aba35019860dd268d | |
parent | 75b19fc6a71b459549fc725cf5b7699e903d2497 [diff] |
C2: Update graphic buffer allocation calls to allow odd dimensions Use width and height aligned to multiples of two while allocating graphic buffers in the encode path. Also allow width and height to be odd while converting from RGB to YUV. This is necessary to allow encoders to support odd dimensions. Bug: 329378524 Bug: 325679394 Test: atest CtsMediaEncoderTestCases:VideoEncoderTest Change-Id: I30533df402603a83874408a49b2f15747f8e972d