Searched refs:mLockedBuffer (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/libs/gui/tests/ |
D | SRGB_test.cpp | 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() [all …]
|
/frameworks/native/libs/gui/ |
D | Surface.cpp | 799 if (mLockedBuffer != 0) { in lock() 879 mLockedBuffer = backBuffer; in lock() 892 if (mLockedBuffer == 0) { in unlockAndPost() 898 status_t err = mLockedBuffer->unlockAsync(&fd); in unlockAndPost() 899 ALOGE_IF(err, "failed unlocking buffer (%p)", mLockedBuffer->handle); in unlockAndPost() 901 err = queueBuffer(mLockedBuffer.get(), fd); in unlockAndPost() 903 mLockedBuffer->handle, strerror(-err)); in unlockAndPost() 905 mPostedBuffer = mLockedBuffer; in unlockAndPost() 906 mLockedBuffer = 0; in unlockAndPost()
|
/frameworks/base/media/jni/ |
D | android_media_ImageReader.cpp | 65 jfieldID mLockedBuffer; member 257 env->GetLongField(image, gSurfaceImageClassInfo.mLockedBuffer)); in Image_getLockedBuffer() 263 env->SetLongField(thiz, gSurfaceImageClassInfo.mLockedBuffer, reinterpret_cast<jlong>(buffer)); in Image_setBuffer() 627 gSurfaceImageClassInfo.mLockedBuffer = env->GetFieldID( in ImageReader_classInit() 629 LOG_ALWAYS_FATAL_IF(gSurfaceImageClassInfo.mLockedBuffer == NULL, in ImageReader_classInit()
|
/frameworks/native/include/gui/ |
D | Surface.h | 283 sp<GraphicBuffer> mLockedBuffer; variable
|
/frameworks/base/media/java/android/media/ |
D | ImageReader.java | 705 private long mLockedBuffer; field in ImageReader.SurfaceImage
|