Home
last modified time | relevance | path

Searched refs:imgBuffer (Results 1 – 5 of 5) 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 …]
DBurstCapture.cpp78 CpuConsumer::LockedBuffer *imgBuffer, in jpegEncode() argument
86 imgEncoded->width = imgBuffer->width; in jpegEncode()
87 imgEncoded->height = imgBuffer->height; in jpegEncode()
88 imgEncoded->stride = imgBuffer->stride; in jpegEncode()
91 buffers.push_back(imgBuffer); in jpegEncode()
DJpegProcessor.cpp217 CpuConsumer::LockedBuffer imgBuffer; in processNewCapture() local
226 res = mCaptureConsumer->lockNextBuffer(&imgBuffer); in processNewCapture()
239 if (imgBuffer.format != HAL_PIXEL_FORMAT_BLOB) { in processNewCapture()
242 imgBuffer.format, in processNewCapture()
244 mCaptureConsumer->unlockBuffer(imgBuffer); in processNewCapture()
249 size_t jpegSize = findJpegSize(imgBuffer.data, imgBuffer.width); in processNewCapture()
251 jpegSize = imgBuffer.width; in processNewCapture()
264 memcpy(captureMemory, imgBuffer.data, jpegSize); in processNewCapture()
266 mCaptureConsumer->unlockBuffer(imgBuffer); in processNewCapture()
271 sequencer->onCaptureAvailable(imgBuffer.timestamp, captureBuffer); in processNewCapture()
DStreamingProcessor.cpp678 BufferItemConsumer::BufferItem imgBuffer; in processRecordingFrame() local
679 res = mRecordingConsumer->acquireBuffer(&imgBuffer, 0); in processRecordingFrame()
687 mRecordingConsumer->releaseBuffer(imgBuffer); in processRecordingFrame()
696 BufferItemConsumer::BufferItem imgBuffer; in processRecordingFrame() local
697 res = mRecordingConsumer->acquireBuffer(&imgBuffer, 0); in processRecordingFrame()
705 timestamp = imgBuffer.mTimestamp; in processRecordingFrame()
715 mRecordingConsumer->releaseBuffer(imgBuffer); in processRecordingFrame()
730 mRecordingConsumer->releaseBuffer(imgBuffer); in processRecordingFrame()
751 mRecordingConsumer->releaseBuffer(imgBuffer); in processRecordingFrame()
771 *((buffer_handle_t*)(data + 4)) = imgBuffer.mGraphicBuffer->handle; in processRecordingFrame()
[all …]
DBurstCapture.h59 CpuConsumer::LockedBuffer *imgBuffer,