Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f6b3e5e9 authored by Harish Mahendrakar's avatar Harish Mahendrakar
Browse files

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
parent 75b19fc6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment