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

Skip to content
Commit 554d686e authored by Jessie Hao's avatar Jessie Hao Committed by Michael Bestas
Browse files

Change lock to lockYCbCr for to get the actual y,cb,cr.



Found when use google sw decoder,below CTS case will fail:
CtsMediaTestCases android.media.cts.DecodeAccuracyTest 8,12,24,28,40,44.
Checked the failed case,test video height is not 4 bytes align,
eg 426x182,854x362,1920x818.
Some platform GPU may need height 4 bytes align, so the dst_v,dst_u calculation
should consider height alignment.
Here change lock to lockYCbCr to get the actual y,cb,cr.

Change-Id: Ibbccbad3936ab36ee2c25773367b0fbb67d9226e
Signed-off-by: default avatarJessie Hao <juan.hao@nxp.com>
(cherry picked from commit e106cd87)
parent f35ffc97
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment