commit | 67829613c08b3ee3fd1d85f818fa9fca1fc43d61 | [log] [tgz] |
---|---|---|
author | Marissa Wall <marissaw@google.com> | Fri Feb 28 09:37:17 2020 -0800 |
committer | Marissa Ikonomidis <marissaw@google.com> | Fri Feb 28 17:43:46 2020 +0000 |
tree | cee84a23cf19f29f003891d29ad346e3842b5dfe | |
parent | c0e9ca798759ada4542293e183108cf3b4d04f0b [diff] |
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
diff --git a/graphics/mapper/4.0/vts/functional/VtsHalGraphicsMapperV4_0TargetTest.cpp b/graphics/mapper/4.0/vts/functional/VtsHalGraphicsMapperV4_0TargetTest.cpp index 295ba36..6cc5e34 100644 --- a/graphics/mapper/4.0/vts/functional/VtsHalGraphicsMapperV4_0TargetTest.cpp +++ b/graphics/mapper/4.0/vts/functional/VtsHalGraphicsMapperV4_0TargetTest.cpp
@@ -221,7 +221,7 @@ 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;