Home
last modified time | relevance | path

Searched refs:frameNumber (Results 1 – 22 of 22) sorted by relevance

/hardware/interfaces/camera/device/3.2/default/
DCameraDeviceSession.cpp416 void CameraDeviceSession::ResultBatcher::registerBatch(uint32_t frameNumber, uint32_t batchSize) { in registerBatch() argument
418 batch->mFirstFrame = frameNumber; in registerBatch()
431 uint32_t frameNumber) { in getBatch() argument
439 if (frameNumber < frameMin || frameNumber > frameMax) { in getBatch()
443 if (frameNumber >= mInflightBatches[i]->mFirstFrame && in getBatch()
444 frameNumber <= mInflightBatches[i]->mLastFrame) { in getBatch()
569 results[i].frameNumber = batch->mFirstFrame + i; in sendBatchBuffersLocked()
629 result.frameNumber = p.first; in sendBatchMetadataLocked()
659 uint32_t frameNumber; in notify() local
661 frameNumber = msg.msg.shutter.frameNumber; in notify()
[all …]
Dconvert.cpp121 dst->msg.error.frameNumber = src->message.error.frame_number; in convertToHidl()
127 dst->msg.shutter.frameNumber = src->message.shutter.frame_number; in convertToHidl()
DCameraDeviceSession.h194 void registerBatch(uint32_t frameNumber, uint32_t batchSize);
250 std::pair<int, std::shared_ptr<InflightBatch>> getBatch(uint32_t frameNumber);
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3Mem.h72 virtual int32_t markFrameNumber(uint32_t index, uint32_t frameNumber) = 0;
74 virtual int32_t getBufferIndex(uint32_t frameNumber) = 0;
117 virtual int32_t markFrameNumber(uint32_t index, uint32_t frameNumber);
119 virtual int32_t getBufferIndex(uint32_t frameNumber);
144 virtual int32_t markFrameNumber(uint32_t index, uint32_t frameNumber);
146 virtual int32_t getBufferIndex(uint32_t frameNumber);
DQCamera3Channel.h76 typedef void (*channel_cb_buffer_err)(QCamera3Channel* ch, uint32_t frameNumber,
137 virtual int32_t timeoutFrame(__unused uint32_t frameNumber) = 0;
214 uint32_t frameNumber,
248 uint32_t frameNumber);
252 virtual int32_t timeoutFrame(uint32_t frameNumber);
320 virtual int32_t request(buffer_handle_t *buffer, uint32_t frameNumber,
348 virtual int32_t request(buffer_handle_t *buffer, uint32_t frameNumber,
357 virtual int32_t timeoutFrame(__unused uint32_t frameNumber) {return NO_ERROR; }; in timeoutFrame() argument
424 virtual int32_t timeoutFrame(__unused uint32_t frameNumber) {return NO_ERROR;}; in timeoutFrame() argument
425 virtual int32_t request(buffer_handle_t *buffer, uint32_t frameNumber,
[all …]
DQCamera3StreamMem.cpp435 int32_t QCamera3StreamMem::markFrameNumber(uint32_t index, uint32_t frameNumber) in markFrameNumber() argument
439 return mHeapMem.markFrameNumber(index, frameNumber); in markFrameNumber()
441 return mGrallocMem.markFrameNumber(index, frameNumber); in markFrameNumber()
520 int32_t QCamera3StreamMem::getGrallocBufferIndex(uint32_t frameNumber) in getGrallocBufferIndex() argument
523 int32_t index = mGrallocMem.getBufferIndex(frameNumber); in getGrallocBufferIndex()
539 int32_t QCamera3StreamMem::getHeapBufferIndex(uint32_t frameNumber) in getHeapBufferIndex() argument
542 int32_t index = mHeapMem.getBufferIndex(frameNumber); in getHeapBufferIndex()
559 int32_t QCamera3StreamMem::getBufferIndex(uint32_t frameNumber) in getBufferIndex() argument
562 int32_t index = mGrallocMem.getBufferIndex(frameNumber); in getBufferIndex()
565 return mHeapMem.getBufferIndex(frameNumber); in getBufferIndex()
DQCamera3StreamMem.h84 int32_t markFrameNumber(uint32_t index, uint32_t frameNumber);
87 int32_t getGrallocBufferIndex(uint32_t frameNumber);
88 int32_t getHeapBufferIndex(uint32_t frameNumber);
89 int32_t getBufferIndex(uint32_t frameNumber);
DQCamera3PostProc.h59 uint32_t frameNumber; member
87 uint32_t frameNumber; member
125 buffer_handle_t *output, uint32_t frameNumber);
130 qcamera_hal3_pp_data_t *dequeuePPJob(uint32_t frameNumber);
DQCamera3Channel.cpp1028 int32_t QCamera3ProcessingChannel::timeoutFrame(uint32_t frameNumber) in timeoutFrame() argument
1032 bufIdx = mMemory.getBufferIndex(frameNumber); in timeoutFrame()
1035 LOGE("%s: Buffer not found for frame:%d", __func__, frameNumber); in timeoutFrame()
1066 LOGE("Input frame number: %d dropped!", ppBuffer->frameNumber); in postprocFail()
1072 mChannelCB(NULL, &result, ppBuffer->frameNumber, false, mUserData); in postprocFail()
1099 uint32_t frameNumber, in request() argument
1131 rc = setFwkInputPPData(src_frame, pInputBuffer, &reproc_cfg, metadata, buffer, frameNumber); in request()
1155 rc = mMemory.markFrameNumber(index, frameNumber); in request()
1157 LOGE("Error marking frame number:%d for index %d", frameNumber, in request()
1322 uint32_t frameNumber) in setFwkInputPPData() argument
[all …]
DQCamera3HWI.h177 void expectShutter(uint32_t frameNumber, bool isReprocess, bool isZsl);
179 void markShutterReady(uint32_t frameNumber, uint64_t timestamp);
181 void clear(uint32_t frameNumber);
215 status_t expectBuffer(uint32_t frameNumber, camera3_stream_t *stream);
217 void markBufferReady(uint32_t frameNumber, const camera3_stream_buffer_t &buffer);
355 static void setBufferErrorStatus(QCamera3Channel*, uint32_t frameNumber,
357 void setBufferErrorStatus(QCamera3Channel*, uint32_t frameNumber,
462 void handlePendingResultMetadataWithLock(uint32_t frameNumber,
472 void dispatchResultMetadataWithLock(uint32_t frameNumber,
475 uint32_t frameNumber, uint8_t valid);
[all …]
DQCamera3Mem.cpp419 int32_t QCamera3HeapMemory::markFrameNumber(uint32_t index, uint32_t frameNumber) in markFrameNumber() argument
434 mCurrentFrameNumbers[index] = (int32_t)frameNumber; in markFrameNumber()
523 int32_t QCamera3HeapMemory::getBufferIndex(uint32_t frameNumber) in getBufferIndex() argument
530 mCurrentFrameNumbers[index] == (int32_t)frameNumber) in getBufferIndex()
969 int32_t QCamera3GrallocMemory::markFrameNumber(uint32_t index, uint32_t frameNumber) in markFrameNumber() argument
988 mCurrentFrameNumbers[index] = (int32_t)frameNumber; in markFrameNumber()
1077 int32_t QCamera3GrallocMemory::getBufferIndex(uint32_t frameNumber) in getBufferIndex() argument
1082 mCurrentFrameNumbers[index] == (int32_t)frameNumber) in getBufferIndex()
DQCamera3HWI.cpp1785 uint32_t frameNumber, nsecs_t timestamp) in updateTimeStampInPendingBuffers() argument
1790 if(req->frame_number == frameNumber + 1) { in updateTimeStampInPendingBuffers()
1794 if (req->frame_number != frameNumber) in updateTimeStampInPendingBuffers()
3433 uint32_t frameNumber = request->frame_number; in validateCaptureRequest() local
3437 __FUNCTION__, frameNumber); in validateCaptureRequest()
3449 frameNumber, (long)idx); in validateCaptureRequest()
3454 frameNumber, (long)idx); in validateCaptureRequest()
3459 frameNumber, (long)idx); in validateCaptureRequest()
3474 frameNumber, (long)idx); in validateCaptureRequest()
3479 frameNumber, (long)idx); in validateCaptureRequest()
[all …]
DQCamera3PostProc.cpp570 buffer_handle_t *output, uint32_t frameNumber) in processData() argument
585 pp_buffer->frameNumber = frameNumber; in processData()
659 ATRACE_ASYNC_BEGIN("Camera:Reprocess", frame->frameNumber); in processData()
788 ATRACE_ASYNC_END("Camera:Reprocess", job->fwk_src_frame->frameNumber); in processPPData()
818 qcamera_hal3_pp_data_t *QCamera3PostProcessor::dequeuePPJob(uint32_t frameNumber) { in dequeuePPJob() argument
827 (pp_job->fwk_src_frame->frameNumber != frameNumber)) { in dequeuePPJob()
2208 fwk_frame.frameNumber = pp_buffer->frameNumber; in dataProcessRoutine()
/hardware/interfaces/camera/device/3.4/default/
DCameraDeviceSession.cpp324 mResultBatcher_3_4.registerBatch(requests[0].v3_2.frameNumber, requests.size()); in processCaptureRequest_3_4()
347 halRequest.frame_number = request.v3_2.frameNumber; in processOneCaptureRequest_3_4()
403 auto key = std::make_pair(request.v3_2.inputBuffer.streamId, request.v3_2.frameNumber); in processOneCaptureRequest_3_4()
418 auto key = std::make_pair(streamId, request.v3_2.frameNumber); in processOneCaptureRequest_3_4()
486 ATRACE_ASYNC_BEGIN("frame capture", request.v3_2.frameNumber); in processOneCaptureRequest_3_4()
499 auto key = std::make_pair(request.v3_2.inputBuffer.streamId, request.v3_2.frameNumber); in processOneCaptureRequest_3_4()
504 request.v3_2.frameNumber); in processOneCaptureRequest_3_4()
508 mInflightAETriggerOverrides.erase(request.v3_2.frameNumber); in processOneCaptureRequest_3_4()
594 hidlMsg.msg.error.frameNumber); in sNotify_3_4()
597 hidlMsg.msg.error.frameNumber); in sNotify_3_4()
[all …]
DExternalCameraDeviceSession.cpp292 for (const auto& frameNumber : inflightFrames) { in dumpState() local
293 dprintf(fd, "%d, ", frameNumber); in dumpState()
746 halReq->frameNumber = request.frameNumber; in processOneCaptureRequest()
766 mInflightFrames.insert(halReq->frameNumber); in processOneCaptureRequest()
774 void ExternalCameraDeviceSession::notifyShutter(uint32_t frameNumber, nsecs_t shutterTs) { in notifyShutter() argument
777 msg.msg.shutter.frameNumber = frameNumber; in notifyShutter()
783 uint32_t frameNumber, int32_t streamId, ErrorCode ec) { in notifyError() argument
786 msg.msg.error.frameNumber = frameNumber; in notifyError()
800 notifyShutter(req->frameNumber, req->shutterTs); in processCaptureRequestError()
802 notifyError(/*frameNum*/req->frameNumber, /*stream*/-1, ErrorCode::ERROR_REQUEST); in processCaptureRequestError()
[all …]
/hardware/google/easel/amber/camera/libhdrplusclient/include/
DHdrPlusClient.h143 virtual void notifyFrameMetadata(uint32_t frameNumber, const camera_metadata_t &resultMetadata,
/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/
DExternalCameraDeviceSession.h166 uint32_t frameNumber; member
241 void notifyShutter(uint32_t frameNumber, nsecs_t shutterTs);
242 void notifyError(uint32_t frameNumber, int32_t streamId, ErrorCode ec);
/hardware/interfaces/camera/provider/2.4/vts/functional/
DVtsHalCameraProviderV2_4TargetTest.cpp862 int64_t frameNumber; member
890 frameNumber(0), in InFlightRequest()
906 frameNumber(0), in InFlightRequest()
1087 uint32_t frameNumber = results.frameNumber; in processCaptureResultLocked() local
1094 __func__, frameNumber, (int) results.fmqResultSize); in processCaptureResultLocked()
1099 ssize_t idx = mParent->mInflightMap.indexOfKey(frameNumber); in processCaptureResultLocked()
1102 __func__, frameNumber); in processCaptureResultLocked()
1121 "size = %" PRIu64, __func__, frameNumber, in processCaptureResultLocked()
1134 "size = %" PRIu64, __func__, frameNumber, in processCaptureResultLocked()
1151 frameNumber, results.partialResult); in processCaptureResultLocked()
[all …]
/hardware/interfaces/camera/device/3.2/
Dtypes.hal572 * client must reopen the device to use it again. The frameNumber field
579 * buffers) must be produced for this request. The frameNumber field
589 * operational. The frameNumber field specifies the request for which
598 * operational. The frameNumber field specifies the request for which the
615 uint32_t frameNumber;
639 uint32_t frameNumber;
740 * capture is identified by the frameNumber.
753 uint32_t frameNumber;
853 uint32_t frameNumber;
872 * Multiple calls to processCaptureResult() with a given frameNumber
[all …]
/hardware/interfaces/camera/device/3.4/
Dtypes.hal205 * capture is identified by the frameNumber.
/hardware/interfaces/camera/metadata/3.2/
Dtypes.hal1787 /** android.sync.frameNumber [dynamic, enum, ndk_public]
2442 /** android.sync.frameNumber enumeration values
/hardware/interfaces/graphics/bufferqueue/1.0/
DIGraphicBufferProducer.hal67 uint64_t frameNumber;