Searched refs:imgBuffer (Results 1 – 4 of 4) sorted by relevance
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | CallbackProcessor.cpp | 248 CpuConsumer::LockedBuffer imgBuffer; in discardNewCallback() local 249 res = mCallbackConsumer->lockNextBuffer(&imgBuffer); in discardNewCallback() 257 mCallbackConsumer->unlockBuffer(imgBuffer); in discardNewCallback() 275 CpuConsumer::LockedBuffer imgBuffer; in processNewCallback() local 283 res = mCallbackConsumer->lockNextBuffer(&imgBuffer); in processNewCallback() 299 mCallbackConsumer->unlockBuffer(imgBuffer); in processNewCallback() 306 mCallbackConsumer->unlockBuffer(imgBuffer); in processNewCallback() 313 mCallbackConsumer->unlockBuffer(imgBuffer); in processNewCallback() 317 if (imgBuffer.width != static_cast<uint32_t>(l.mParameters.previewWidth) || in processNewCallback() 318 imgBuffer.height != static_cast<uint32_t>(l.mParameters.previewHeight)) { in processNewCallback() [all …]
|
D | JpegProcessor.cpp | 226 CpuConsumer::LockedBuffer imgBuffer; in processNewCapture() local 235 res = mCaptureConsumer->lockNextBuffer(&imgBuffer); in processNewCapture() 248 if (imgBuffer.format != HAL_PIXEL_FORMAT_BLOB) { in processNewCapture() 251 imgBuffer.format, in processNewCapture() 253 mCaptureConsumer->unlockBuffer(imgBuffer); in processNewCapture() 258 size_t jpegSize = findJpegSize(imgBuffer.data, imgBuffer.width); in processNewCapture() 260 jpegSize = imgBuffer.width; in processNewCapture() 273 memcpy(captureMemory, imgBuffer.data, jpegSize); in processNewCapture() 275 mCaptureConsumer->unlockBuffer(imgBuffer); in processNewCapture() 280 sequencer->onCaptureAvailable(imgBuffer.timestamp, captureBuffer, !captureSuccess); in processNewCapture()
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | DepthCompositeStream.cpp | 119 CpuConsumer::LockedBuffer imgBuffer; in compilePendingInputLocked() local 123 auto res = mBlobConsumer->lockNextBuffer(&imgBuffer); in compilePendingInputLocked() 135 if (*it != imgBuffer.timestamp) { in compilePendingInputLocked() 137 "time stamp: %" PRId64, __FUNCTION__, *it, imgBuffer.timestamp); in compilePendingInputLocked() 140 if ((mPendingInputFrames.find(imgBuffer.timestamp) != mPendingInputFrames.end()) && in compilePendingInputLocked() 141 (mPendingInputFrames[imgBuffer.timestamp].error)) { in compilePendingInputLocked() 142 mBlobConsumer->unlockBuffer(imgBuffer); in compilePendingInputLocked() 144 mPendingInputFrames[imgBuffer.timestamp].jpegBuffer = imgBuffer; in compilePendingInputLocked() 152 auto res = mDepthConsumer->lockNextBuffer(&imgBuffer); in compilePendingInputLocked() 164 if (*it != imgBuffer.timestamp) { in compilePendingInputLocked() [all …]
|
D | HeicCompositeStream.cpp | 524 CpuConsumer::LockedBuffer imgBuffer; in compilePendingInputLocked() local 526 auto res = mAppSegmentConsumer->lockNextBuffer(&imgBuffer); in compilePendingInputLocked() 530 } else if ((res != OK) || (*it != imgBuffer.timestamp)) { in compilePendingInputLocked() 537 *it, imgBuffer.timestamp); in compilePendingInputLocked() 544 if ((mPendingInputFrames.find(imgBuffer.timestamp) != mPendingInputFrames.end()) && in compilePendingInputLocked() 545 (mPendingInputFrames[imgBuffer.timestamp].error)) { in compilePendingInputLocked() 546 mAppSegmentConsumer->unlockBuffer(imgBuffer); in compilePendingInputLocked() 548 mPendingInputFrames[imgBuffer.timestamp].appSegmentBuffer = imgBuffer; in compilePendingInputLocked() 555 CpuConsumer::LockedBuffer imgBuffer; in compilePendingInputLocked() local 557 auto res = mMainImageConsumer->lockNextBuffer(&imgBuffer); in compilePendingInputLocked() [all …]
|