Searched refs:mLockedBuffer (Results 1 – 5 of 5) sorted by relevance
36 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 …]
79 std::unique_ptr<CpuConsumer::LockedBuffer> mLockedBuffer; member
505 image->mLockedBuffer = nullptr; in releaseImageLocked()
1668 if (mLockedBuffer != 0) { in lock()1749 mLockedBuffer = backBuffer; in lock()1762 if (mLockedBuffer == 0) { in unlockAndPost()1768 status_t err = mLockedBuffer->unlockAsync(&fd); in unlockAndPost()1769 ALOGE_IF(err, "failed unlocking buffer (%p)", mLockedBuffer->handle); in unlockAndPost()1771 err = queueBuffer(mLockedBuffer.get(), fd); in unlockAndPost()1773 mLockedBuffer->handle, strerror(-err)); in unlockAndPost()1775 mPostedBuffer = mLockedBuffer; in unlockAndPost()1776 mLockedBuffer = 0; in unlockAndPost()
410 sp<GraphicBuffer> mLockedBuffer; variable