Lines Matching refs:mLockedBuffer

50             mInputSurface(), mCpuConsumer(), mLockedBuffer(),  in SRGBTest()
87 ASSERT_TRUE(mLockedBuffer.data != NULL); in TearDown()
88 ASSERT_EQ(NO_ERROR, mCpuConsumer->unlockBuffer(mLockedBuffer)); in TearDown()
216 ASSERT_EQ(mLockedBuffer.format, format); in checkLockedBuffer()
217 ASSERT_EQ(mLockedBuffer.width, DISPLAY_WIDTH); in checkLockedBuffer()
218 ASSERT_EQ(mLockedBuffer.height, DISPLAY_HEIGHT); in checkLockedBuffer()
229 CpuConsumer::LockedBuffer mLockedBuffer; member in android::SRGBTest
323 size_t bufferSize = mLockedBuffer.height * mLockedBuffer.stride * in copyToDebugSurface()
329 ASSERT_EQ(mLockedBuffer.width, outBuffer.width); in copyToDebugSurface()
330 ASSERT_EQ(mLockedBuffer.height, outBuffer.height); in copyToDebugSurface()
331 ASSERT_EQ(mLockedBuffer.stride, outBuffer.stride); in copyToDebugSurface()
333 if (mLockedBuffer.format == outBuffer.format) { in copyToDebugSurface()
334 memcpy(outBuffer.bits, mLockedBuffer.data, bufferSize); in copyToDebugSurface()
336 ASSERT_EQ(mLockedBuffer.format, PIXEL_FORMAT_sRGB_A_8888); in copyToDebugSurface()
347 mLockedBuffer.data[colOffset + c]); in copyToDebugSurface()
352 mLockedBuffer.data[colOffset + 3]; in copyToDebugSurface()
380 ASSERT_EQ(NO_ERROR, mCpuConsumer->lockNextBuffer(&mLockedBuffer)); in TEST_F()
384 int midSRGBOffset = (DISPLAY_HEIGHT / 4) * mLockedBuffer.stride * in TEST_F()
390 int expectedValue = mLockedBuffer.data[midRGBOffset + c]; in TEST_F()
391 int actualValue = mLockedBuffer.data[midSRGBOffset + c]; in TEST_F()
411 ASSERT_EQ(NO_ERROR, mCpuConsumer->lockNextBuffer(&mLockedBuffer)); in TEST_F()
416 int middleOffset = (DISPLAY_HEIGHT / 2) * mLockedBuffer.stride * in TEST_F()
420 values[c] = mLockedBuffer.data[middleOffset + c]; in TEST_F()
424 ASSERT_EQ(NO_ERROR, mCpuConsumer->unlockBuffer(mLockedBuffer)); in TEST_F()
458 ASSERT_EQ(NO_ERROR, mCpuConsumer->lockNextBuffer(&mLockedBuffer)); in TEST_F()
469 int actualValue = mLockedBuffer.data[middleOffset + c]; in TEST_F()