Searched refs:imgBuffer (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | CallbackProcessor.cpp | 259 CpuConsumer::LockedBuffer imgBuffer; in discardNewCallback() local 260 res = mCallbackConsumer->lockNextBuffer(&imgBuffer); in discardNewCallback() 268 mCallbackConsumer->unlockBuffer(imgBuffer); in discardNewCallback() 286 CpuConsumer::LockedBuffer imgBuffer; in processNewCallback() local 294 res = mCallbackConsumer->lockNextBuffer(&imgBuffer); in processNewCallback() 310 mCallbackConsumer->unlockBuffer(imgBuffer); in processNewCallback() 317 mCallbackConsumer->unlockBuffer(imgBuffer); in processNewCallback() 324 mCallbackConsumer->unlockBuffer(imgBuffer); in processNewCallback() 328 if (imgBuffer.width != static_cast<uint32_t>(l.mParameters.previewWidth) || in processNewCallback() 329 imgBuffer.height != static_cast<uint32_t>(l.mParameters.previewHeight)) { in processNewCallback() [all …]
|
D | JpegProcessor.cpp | 234 CpuConsumer::LockedBuffer imgBuffer; in processNewCapture() local 243 res = mCaptureConsumer->lockNextBuffer(&imgBuffer); in processNewCapture() 256 if (imgBuffer.format != HAL_PIXEL_FORMAT_BLOB) { in processNewCapture() 259 imgBuffer.format, in processNewCapture() 261 mCaptureConsumer->unlockBuffer(imgBuffer); in processNewCapture() 266 size_t jpegSize = findJpegSize(imgBuffer.data, imgBuffer.width); in processNewCapture() 268 jpegSize = imgBuffer.width; in processNewCapture() 281 memcpy(captureMemory, imgBuffer.data, jpegSize); in processNewCapture() 283 mCaptureConsumer->unlockBuffer(imgBuffer); in processNewCapture() 288 sequencer->onCaptureAvailable(imgBuffer.timestamp, captureBuffer, !captureSuccess); in processNewCapture()
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | DepthCompositeStream.cpp | 120 CpuConsumer::LockedBuffer imgBuffer; in compilePendingInputLocked() local 124 auto res = mBlobConsumer->lockNextBuffer(&imgBuffer); in compilePendingInputLocked() 136 if (*it != imgBuffer.timestamp) { in compilePendingInputLocked() 138 "time stamp: %" PRId64, __FUNCTION__, *it, imgBuffer.timestamp); in compilePendingInputLocked() 141 if ((mPendingInputFrames.find(imgBuffer.timestamp) != mPendingInputFrames.end()) && in compilePendingInputLocked() 142 (mPendingInputFrames[imgBuffer.timestamp].error)) { in compilePendingInputLocked() 143 mBlobConsumer->unlockBuffer(imgBuffer); in compilePendingInputLocked() 145 mPendingInputFrames[imgBuffer.timestamp].jpegBuffer = imgBuffer; in compilePendingInputLocked() 153 auto res = mDepthConsumer->lockNextBuffer(&imgBuffer); in compilePendingInputLocked() 165 if (*it != imgBuffer.timestamp) { in compilePendingInputLocked() [all …]
|
D | JpegRCompositeStream.cpp | 92 CpuConsumer::LockedBuffer imgBuffer; in compilePendingInputLocked() local 96 auto res = mBlobConsumer->lockNextBuffer(&imgBuffer); in compilePendingInputLocked() 108 if (*it != imgBuffer.timestamp) { in compilePendingInputLocked() 110 "time stamp: %" PRId64, __FUNCTION__, *it, imgBuffer.timestamp); in compilePendingInputLocked() 113 if ((mPendingInputFrames.find(imgBuffer.timestamp) != mPendingInputFrames.end()) && in compilePendingInputLocked() 114 (mPendingInputFrames[imgBuffer.timestamp].error)) { in compilePendingInputLocked() 115 mBlobConsumer->unlockBuffer(imgBuffer); in compilePendingInputLocked() 117 mPendingInputFrames[imgBuffer.timestamp].jpegBuffer = imgBuffer; in compilePendingInputLocked() 125 auto res = mP010Consumer->lockNextBuffer(&imgBuffer); in compilePendingInputLocked() 137 if (*it != imgBuffer.timestamp) { in compilePendingInputLocked() [all …]
|
D | HeicCompositeStream.cpp | 639 CpuConsumer::LockedBuffer imgBuffer; in compilePendingInputLocked() local 641 auto res = mAppSegmentConsumer->lockNextBuffer(&imgBuffer); in compilePendingInputLocked() 645 } else if ((res != OK) || (*it != imgBuffer.timestamp)) { in compilePendingInputLocked() 652 *it, imgBuffer.timestamp); in compilePendingInputLocked() 653 mAppSegmentConsumer->unlockBuffer(imgBuffer); in compilePendingInputLocked() 674 mAppSegmentConsumer->unlockBuffer(imgBuffer); in compilePendingInputLocked() 676 mPendingInputFrames[frameNumber].appSegmentBuffer = imgBuffer; in compilePendingInputLocked() 683 CpuConsumer::LockedBuffer imgBuffer; in compilePendingInputLocked() local 685 auto res = mMainImageConsumer->lockNextBuffer(&imgBuffer); in compilePendingInputLocked() 695 } else if (*it != imgBuffer.timestamp) { in compilePendingInputLocked() [all …]
|