mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:23:37 +00:00
Merge "gralloc4-vts: update sampleIncrementInBits"
This commit is contained in:
committed by
Android (Google) Code Review
commit
f699cbff74
@@ -143,7 +143,7 @@ class GraphicsMapperHidlTest
|
||||
EXPECT_EQ(24, offsetInBitsA);
|
||||
|
||||
EXPECT_EQ(0, planeLayout.offsetInBytes);
|
||||
EXPECT_EQ(8, planeLayout.sampleIncrementInBits);
|
||||
EXPECT_EQ(32, planeLayout.sampleIncrementInBits);
|
||||
// Skip testing stride because any stride is valid
|
||||
EXPECT_EQ(mDummyDescriptorInfo.width, planeLayout.widthInSamples);
|
||||
EXPECT_EQ(mDummyDescriptorInfo.height, planeLayout.heightInSamples);
|
||||
@@ -1384,7 +1384,7 @@ TEST_P(GraphicsMapperHidlTest, SetPlaneLayouts) {
|
||||
planeLayouts.push_back(planeLayoutA);
|
||||
|
||||
planeLayoutRGB.offsetInBytes = 0;
|
||||
planeLayoutRGB.sampleIncrementInBits = 32;
|
||||
planeLayoutRGB.sampleIncrementInBits = 24;
|
||||
planeLayoutRGB.strideInBytes = info.width + 20;
|
||||
planeLayoutRGB.widthInSamples = info.width;
|
||||
planeLayoutRGB.heightInSamples = info.height;
|
||||
|
||||
Reference in New Issue
Block a user