mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
gralloc4-vts: RGBA_8888 sampleIncrementInBits should be 32
SampleIncrementInBits is the delta between samples not components. It should be 32 for RGBA_8888. Test: VtsHalGraphicsMapperV4_0 Bug: 150461327 Change-Id: Idf283b93cd0243fa33eabac23185c513825d83ca
This commit is contained in:
committed by
Marissa Ikonomidis
parent
c0e9ca7987
commit
67829613c0
@@ -221,7 +221,7 @@ class GraphicsMapperHidlTest
|
||||
case PlaneLayoutComponentType::Y:
|
||||
ASSERT_EQ(nullptr, outYCbCr->y);
|
||||
ASSERT_EQ(8, planeLayoutComponent.sizeInBits);
|
||||
ASSERT_EQ(8, planeLayout.sampleIncrementInBits);
|
||||
ASSERT_EQ(32, planeLayout.sampleIncrementInBits);
|
||||
outYCbCr->y = tmpData;
|
||||
outYCbCr->ystride = planeLayout.strideInBytes;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user