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

Commit f699cbff authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "gralloc4-vts: update sampleIncrementInBits"

parents 5efd0f71 b6809a06
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;