Home
last modified time | relevance | path

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

12

/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.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
88 uint32_t frameNumber; member
126 buffer_handle_t *output, uint32_t frameNumber);
132 qcamera_hal3_pp_data_t *dequeuePPJob(uint32_t frameNumber);
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);
352 static void setBufferErrorStatus(QCamera3Channel*, uint32_t frameNumber,
354 void setBufferErrorStatus(QCamera3Channel*, uint32_t frameNumber,
459 void handlePendingResultMetadataWithLock(uint32_t frameNumber,
469 void dispatchResultMetadataWithLock(uint32_t frameNumber,
472 uint32_t frameNumber, uint8_t valid);
[all …]
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 …]
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()
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()
839 qcamera_hal3_pp_data_t *QCamera3PostProcessor::dequeuePPJob(uint32_t frameNumber) { in dequeuePPJob() argument
848 (pp_job->fwk_src_frame->frameNumber != frameNumber)) { in dequeuePPJob()
2229 fwk_frame.frameNumber = pp_buffer->frameNumber; in dataProcessRoutine()
/hardware/google/camera/common/hal/google_camera_hal/
Drealtime_zsl_result_processor.cc80 uint32_t frameNumber, HalCameraMetadata* metadata) { in HandleLsResultForHdrplus() argument
86 auto iter = requested_lens_shading_map_modes_.find(frameNumber); in HandleLsResultForHdrplus()
88 ALOGW("%s: can't find frame (%d)", __FUNCTION__, frameNumber); in HandleLsResultForHdrplus()
121 uint32_t frameNumber, HalCameraMetadata* metadata) { in HandleFdResultForHdrplus() argument
127 auto iter = requested_face_detect_modes_.find(frameNumber); in HandleFdResultForHdrplus()
129 ALOGW("%s: can't find frame (%d)", __FUNCTION__, frameNumber); in HandleFdResultForHdrplus()
Drealtime_zsl_result_processor.h61 status_t HandleFdResultForHdrplus(uint32_t frameNumber,
66 status_t HandleLsResultForHdrplus(uint32_t frameNumber,
Drgbird_result_request_processor.h105 status_t HandleFdResultForHdrplus(uint32_t frameNumber,
110 status_t HandleLsResultForHdrplus(uint32_t frameNumber,
Drgbird_result_request_processor.cc116 uint32_t frameNumber, HalCameraMetadata* metadata) { in HandleLsResultForHdrplus() argument
122 auto iter = requested_lens_shading_map_modes_.find(frameNumber); in HandleLsResultForHdrplus()
124 ALOGW("%s: can't find frame (%d)", __FUNCTION__, frameNumber); in HandleLsResultForHdrplus()
192 uint32_t frameNumber, HalCameraMetadata* metadata) { in HandleFdResultForHdrplus() argument
198 auto iter = requested_face_detect_modes_.find(frameNumber); in HandleFdResultForHdrplus()
200 ALOGW("%s: can't find frame (%d)", __FUNCTION__, frameNumber); in HandleFdResultForHdrplus()
/hardware/interfaces/camera/device/3.6/default/
DExternalCameraOfflineSession.cpp120 req->frameNumber, /*stream*/-1, ErrorCode::ERROR_DEVICE); in threadLoop()
344 result.frameNumber = req->frameNumber; in processCaptureResult()
358 notifyError(req->frameNumber, req->buffers[i].streamId, ErrorCode::ERROR_BUFFER); in processCaptureResult()
424 notifyError(/*frameNum*/req->frameNumber, /*stream*/-1, ErrorCode::ERROR_REQUEST); in processCaptureRequestError()
428 shutter.msg.shutter.frameNumber = req->frameNumber; in processCaptureRequestError()
433 error.msg.error.frameNumber = req->frameNumber; in processCaptureRequestError()
444 result.frameNumber = req->frameNumber; in processCaptureRequestError()
475 void ExternalCameraOfflineSession::notifyError(uint32_t frameNumber, int32_t streamId, ErrorCode ec… in notifyError() argument
478 msg.msg.error.frameNumber = frameNumber; in notifyError()
DExternalCameraDeviceSession.cpp154 info->offlineRequests[i].frameNumber = offlineReqs[i]->frameNumber; in fillOfflineSessionInfo()
230 shutter.msg.shutter.frameNumber = halReq->frameNumber; in switchToOffline()
246 error.msg.error.frameNumber = halReq->frameNumber; in switchToOffline()
252 result.frameNumber = halReq->frameNumber; in switchToOffline()
278 offlineReqs[i]->frameNumber = v4lReq->frameNumber; in switchToOffline()
/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.cpp290 for (const auto& frameNumber : inflightFrames) { in dumpState() local
291 dprintf(fd, "%d, ", frameNumber); in dumpState()
718 halReq->frameNumber = request.frameNumber; in processOneCaptureRequest()
738 mInflightFrames.insert(halReq->frameNumber); in processOneCaptureRequest()
746 void ExternalCameraDeviceSession::notifyShutter(uint32_t frameNumber, nsecs_t shutterTs) { in notifyShutter() argument
749 msg.msg.shutter.frameNumber = frameNumber; in notifyShutter()
755 uint32_t frameNumber, int32_t streamId, ErrorCode ec) { in notifyError() argument
758 msg.msg.error.frameNumber = frameNumber; in notifyError()
776 notifyShutter(req->frameNumber, req->shutterTs); in processCaptureRequestError()
777 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/
DExternalCameraUtils.h207 uint32_t frameNumber; member
264 virtual void notifyError(uint32_t frameNumber, int32_t streamId, ErrorCode ec) = 0;
DExternalCameraDeviceSession.h244 virtual void notifyError(uint32_t frameNumber, int32_t streamId, ErrorCode ec) override;
306 void notifyShutter(uint32_t frameNumber, nsecs_t shutterTs);
/hardware/interfaces/camera/provider/2.4/vts/functional/
DVtsHalCameraProviderV2_4TargetTest.cpp924 int64_t frameNumber; member
956 frameNumber(0), in InFlightRequest()
972 frameNumber(0), in InFlightRequest()
989 frameNumber(0), in InFlightRequest()
1172 uint32_t frameNumber = results.frameNumber; in processCaptureResultLocked() local
1179 __func__, frameNumber, (int) results.fmqResultSize); in processCaptureResultLocked()
1184 ssize_t idx = mParent->mInflightMap.indexOfKey(frameNumber); in processCaptureResultLocked()
1187 __func__, frameNumber); in processCaptureResultLocked()
1206 "size = %" PRIu64, __func__, frameNumber, in processCaptureResultLocked()
1214 "must be equal to expected count %zu", __func__, frameNumber, 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/google/camera/common/hal/hidl_service/
Dhidl_utils.cc363 hidl_result->frameNumber = hal_result->frame_number; in ConvertToHidlCaptureResult_V3_2()
458 hidl_error->frameNumber = hal_error.frame_number; in ConvertToHidlErrorMessage()
490 hidl_shutter->frameNumber = hal_shutter.frame_number; in ConvertToHidlShutterMessage()
707 hal_request->frame_number = hidl_request.v3_2.frameNumber; in ConvertToHalCaptureRequest()

12