Searched refs:mLockedBuffer (Results 1 – 5 of 5) sorted by relevance
36 mReader(reader), mFormat(format), mUsage(usage), mBuffer(buffer), mLockedBuffer(nullptr), in AImage()69 mLockedBuffer = nullptr; in close()188 if (mLockedBuffer != nullptr) { in lockImage()205 mLockedBuffer = std::move(lockedBuffer); in lockImage()221 if (mLockedBuffer == nullptr) { in unlockImageIfLocked()242 if (mLockedBuffer == nullptr) { in getPlanePixelStride()259 int32_t fmt = mLockedBuffer->flexFormat; in getPlanePixelStride()262 *pixelStride = (planeIdx == 0) ? 1 : mLockedBuffer->chromaStep; in getPlanePixelStride()268 if (mLockedBuffer->dataCb && mLockedBuffer->dataCr) { in getPlanePixelStride()269 *pixelStride = (planeIdx == 0) ? 2 : mLockedBuffer->chromaStep; in getPlanePixelStride()[all …]
100 std::unique_ptr<CpuConsumer::LockedBuffer> mLockedBuffer; member
549 image->mLockedBuffer = nullptr; in releaseImageLocked()
2405 if (mLockedBuffer != nullptr) { in lock()2486 mLockedBuffer = backBuffer; in lock()2499 if (mLockedBuffer == nullptr) { in unlockAndPost()2505 status_t err = mLockedBuffer->unlockAsync(&fd); in unlockAndPost()2506 ALOGE_IF(err, "failed unlocking buffer (%p)", mLockedBuffer->handle); in unlockAndPost()2508 err = queueBuffer(mLockedBuffer.get(), fd); in unlockAndPost()2510 mLockedBuffer->handle, strerror(-err)); in unlockAndPost()2512 mPostedBuffer = mLockedBuffer; in unlockAndPost()2513 mLockedBuffer = nullptr; in unlockAndPost()
579 sp<GraphicBuffer> mLockedBuffer; variable