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

Commit 67829613 authored by Marissa Wall's avatar Marissa Wall Committed by Marissa Ikonomidis
Browse files

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
parent c0e9ca79
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;