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()
67 mLockedBuffer = nullptr; in close()
172 if (mLockedBuffer != nullptr) { in lockImage()
189 mLockedBuffer = std::move(lockedBuffer); in lockImage()
205 if (mLockedBuffer == nullptr) { in unlockImageIfLocked()
226 if (mLockedBuffer == nullptr) { in getPlanePixelStride()
243 int32_t fmt = mLockedBuffer->flexFormat; in getPlanePixelStride()
246 *pixelStride = (planeIdx == 0) ? 1 : mLockedBuffer->chromaStep; in getPlanePixelStride()
286 if (mLockedBuffer == nullptr) { in getPlaneRowStride()
303 int32_t fmt = mLockedBuffer->flexFormat; in getPlaneRowStride()
[all …]
DNdkImagePriv.h79 std::unique_ptr<CpuConsumer::LockedBuffer> mLockedBuffer; member
DNdkImageReader.cpp542 image->mLockedBuffer = nullptr; in releaseImageLocked()
/frameworks/native/libs/gui/
DSurface.cpp1807 if (mLockedBuffer != nullptr) { in lock()
1888 mLockedBuffer = backBuffer; in lock()
1901 if (mLockedBuffer == nullptr) { in unlockAndPost()
1907 status_t err = mLockedBuffer->unlockAsync(&fd); in unlockAndPost()
1908 ALOGE_IF(err, "failed unlocking buffer (%p)", mLockedBuffer->handle); in unlockAndPost()
1910 err = queueBuffer(mLockedBuffer.get(), fd); in unlockAndPost()
1912 mLockedBuffer->handle, strerror(-err)); in unlockAndPost()
1914 mPostedBuffer = mLockedBuffer; in unlockAndPost()
1915 mLockedBuffer = nullptr; in unlockAndPost()
/frameworks/native/libs/gui/include/gui/
DSurface.h454 sp<GraphicBuffer> mLockedBuffer; variable