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
Loading
Please register or sign in to comment