Home
last modified time | relevance | path

Searched refs:imgBuffer (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/services/camera/libcameraservice/api1/client2/
DCallbackProcessor.cpp248 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 …]
DJpegProcessor.cpp226 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/
DDepthCompositeStream.cpp119 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 …]
DHeicCompositeStream.cpp531 CpuConsumer::LockedBuffer imgBuffer; in compilePendingInputLocked() local
533 auto res = mAppSegmentConsumer->lockNextBuffer(&imgBuffer); in compilePendingInputLocked()
537 } else if ((res != OK) || (*it != imgBuffer.timestamp)) { in compilePendingInputLocked()
544 *it, imgBuffer.timestamp); in compilePendingInputLocked()
545 mAppSegmentConsumer->unlockBuffer(imgBuffer); in compilePendingInputLocked()
552 if ((mPendingInputFrames.find(imgBuffer.timestamp) != mPendingInputFrames.end()) && in compilePendingInputLocked()
553 (mPendingInputFrames[imgBuffer.timestamp].error)) { in compilePendingInputLocked()
554 mAppSegmentConsumer->unlockBuffer(imgBuffer); in compilePendingInputLocked()
556 mPendingInputFrames[imgBuffer.timestamp].appSegmentBuffer = imgBuffer; in compilePendingInputLocked()
563 CpuConsumer::LockedBuffer imgBuffer; in compilePendingInputLocked() local
[all …]