Searched refs:imgBuffer (Results 1 – 5 of 5) sorted by relevance
248 CpuConsumer::LockedBuffer imgBuffer; in discardNewCallback() local249 res = mCallbackConsumer->lockNextBuffer(&imgBuffer); in discardNewCallback()257 mCallbackConsumer->unlockBuffer(imgBuffer); in discardNewCallback()275 CpuConsumer::LockedBuffer imgBuffer; in processNewCallback() local283 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 …]
78 CpuConsumer::LockedBuffer *imgBuffer, in jpegEncode() argument86 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()
217 CpuConsumer::LockedBuffer imgBuffer; in processNewCapture() local226 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()
678 BufferItemConsumer::BufferItem imgBuffer; in processRecordingFrame() local679 res = mRecordingConsumer->acquireBuffer(&imgBuffer, 0); in processRecordingFrame()687 mRecordingConsumer->releaseBuffer(imgBuffer); in processRecordingFrame()696 BufferItemConsumer::BufferItem imgBuffer; in processRecordingFrame() local697 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 …]
59 CpuConsumer::LockedBuffer *imgBuffer,