Home
last modified time | relevance | path

Searched refs:mLockedBuffer (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/ndk/
DNdkImage.cpp36 mReader(reader), mFormat(format), mUsage(usage), mBuffer(buffer), mLockedBuffer(nullptr), in AImage()
71 mLockedBuffer = nullptr; in close()
186 if (mLockedBuffer != nullptr) { in lockImage()
203 mLockedBuffer = std::move(lockedBuffer); in lockImage()
219 if (mLockedBuffer == nullptr) { in unlockImageIfLocked()
240 if (mLockedBuffer == nullptr) { in getPlanePixelStride()
257 int32_t fmt = mLockedBuffer->flexFormat; in getPlanePixelStride()
260 *pixelStride = (planeIdx == 0) ? 1 : mLockedBuffer->chromaStep; in getPlanePixelStride()
300 if (mLockedBuffer == nullptr) { in getPlaneRowStride()
317 int32_t fmt = mLockedBuffer->flexFormat; in getPlaneRowStride()
[all …]
DNdkImagePriv.h79 std::unique_ptr<CpuConsumer::LockedBuffer> mLockedBuffer; member
DNdkImageReader.cpp533 image->mLockedBuffer = nullptr; in releaseImageLocked()
/frameworks/native/libs/gui/
DSurface.cpp1776 if (mLockedBuffer != nullptr) { in lock()
1857 mLockedBuffer = backBuffer; in lock()
1870 if (mLockedBuffer == nullptr) { in unlockAndPost()
1876 status_t err = mLockedBuffer->unlockAsync(&fd); in unlockAndPost()
1877 ALOGE_IF(err, "failed unlocking buffer (%p)", mLockedBuffer->handle); in unlockAndPost()
1879 err = queueBuffer(mLockedBuffer.get(), fd); in unlockAndPost()
1881 mLockedBuffer->handle, strerror(-err)); in unlockAndPost()
1883 mPostedBuffer = mLockedBuffer; in unlockAndPost()
1884 mLockedBuffer = nullptr; in unlockAndPost()
/frameworks/native/libs/gui/include/gui/
DSurface.h413 sp<GraphicBuffer> mLockedBuffer; variable