Home
last modified time | relevance | path

Searched refs:camera_handle (Results 1 – 20 of 20) sorted by relevance

/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera_muxer.h62 int32_t mm_camera_muxer_query_capability(uint32_t camera_handle,
64 int32_t mm_camera_muxer_register_event_notify(uint32_t camera_handle,
67 int32_t mm_camera_muxer_close_camera(uint32_t camera_handle,
69 int32_t mm_camera_muxer_map_buf(uint32_t camera_handle, uint8_t buf_type,
71 int32_t mm_camera_muxer_map_bufs(uint32_t camera_handle,
74 int32_t mm_camera_muxer_unmap_buf(uint32_t camera_handle,
76 int32_t mm_camera_muxer_set_parms(uint32_t camera_handle,
78 int32_t mm_camera_muxer_get_parms(uint32_t camera_handle,
80 int32_t mm_camera_muxer_do_auto_focus(uint32_t camera_handle,
82 int32_t mm_camera_muxer_cancel_auto_focus(uint32_t camera_handle,
[all …]
/hardware/qcom/camera/msm8998/QCamera2/stack/common/
Dmm_camera_interface.h170 uint32_t camera_handle; member
210 typedef void (*mm_camera_event_notify_t)(uint32_t camera_handle,
423 uint32_t camera_handle; member
439 int32_t (*query_capability) (uint32_t camera_handle);
449 int32_t (*register_event_notify) (uint32_t camera_handle,
458 int32_t (*close_camera) (uint32_t camera_handle);
472 int32_t (*map_buf) (uint32_t camera_handle,
485 int32_t (*map_bufs) (uint32_t camera_handle,
498 int32_t (*unmap_buf) (uint32_t camera_handle,
512 int32_t (*set_parms) (uint32_t camera_handle,
[all …]
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_interface.c235 static int32_t mm_camera_intf_query_capability(uint32_t camera_handle) in mm_camera_intf_query_capability() argument
242 LOGD("E: camera_handler = %d ", camera_handle); in mm_camera_intf_query_capability()
245 handle = get_main_camera_handle(camera_handle); in mm_camera_intf_query_capability()
246 aux_handle = get_aux_camera_handle(camera_handle); in mm_camera_intf_query_capability()
274 LOGH("camera_handle = %u rc = %u X", camera_handle, rc); in mm_camera_intf_query_capability()
294 static int32_t mm_camera_intf_set_parms(uint32_t camera_handle, in mm_camera_intf_set_parms() argument
300 uint32_t handle = get_main_camera_handle(camera_handle); in mm_camera_intf_set_parms()
301 uint32_t aux_handle = get_aux_camera_handle(camera_handle); in mm_camera_intf_set_parms()
349 static int32_t mm_camera_intf_get_parms(uint32_t camera_handle, in mm_camera_intf_get_parms() argument
354 uint32_t handle = get_main_camera_handle(camera_handle); in mm_camera_intf_get_parms()
[all …]
Dmm_camera_muxer.c285 my_obj->vtbl.camera_handle = (cam_obj->my_hdl | my_obj->my_hdl); in mm_camera_muxer_camera_open()
286 cam_obj->vtbl.camera_handle = my_obj->vtbl.camera_handle; in mm_camera_muxer_camera_open()
308 int32_t mm_camera_muxer_query_capability(uint32_t camera_handle, in mm_camera_muxer_query_capability() argument
314 my_obj = mm_muxer_util_get_camera_by_obj(camera_handle, cam_obj); in mm_camera_muxer_query_capability()
341 int32_t mm_camera_muxer_register_event_notify(uint32_t camera_handle, in mm_camera_muxer_register_event_notify() argument
348 my_obj = mm_muxer_util_get_camera_by_obj(camera_handle, cam_obj); in mm_camera_muxer_register_event_notify()
372 int32_t mm_camera_muxer_close_camera(uint32_t camera_handle, in mm_camera_muxer_close_camera() argument
378 my_obj = mm_muxer_util_get_camera_by_obj(camera_handle, cam_obj); in mm_camera_muxer_close_camera()
421 int32_t mm_camera_muxer_map_buf(uint32_t camera_handle, uint8_t buf_type, in mm_camera_muxer_map_buf() argument
426 my_obj = mm_muxer_util_get_camera_by_obj(camera_handle, cam_obj); in mm_camera_muxer_map_buf()
[all …]
Dmm_camera_stream.c290 super_buf.camera_handle = my_obj->ch_obj->cam_obj->my_hdl; in mm_stream_dispatch_sync_data()
422 super_buf.camera_handle = my_obj->ch_obj->cam_obj->my_hdl; in mm_stream_dispatch_app_data()
Dmm_camera_channel.c742 cb_node->u.superbuf.camera_handle = ch_obj->cam_obj->my_hdl; in mm_channel_send_super_buf()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c483 static void notify_evt_cb(uint32_t camera_handle, in notify_evt_cb() argument
489 if (test_obj == NULL || test_obj->cam->camera_handle != camera_handle) { in notify_evt_cb()
524 LOGD("Open Camera id = %d handle = %d", cam_id, test_obj->cam->camera_handle); in mm_app_open()
541 rc = test_obj->cam->ops->map_buf(test_obj->cam->camera_handle, in mm_app_open()
565 rc = test_obj->cam->ops->map_buf(test_obj->cam->camera_handle, in mm_app_open()
577 rc = test_obj->cam->ops->register_event_notify(test_obj->cam->camera_handle, in mm_app_open()
586 rc = test_obj->cam->ops->query_capability(test_obj->cam->camera_handle); in mm_app_open()
617 test_obj->cam->ops->unmap_buf(test_obj->cam->camera_handle, in mm_app_open()
622 test_obj->cam->ops->unmap_buf(test_obj->cam->camera_handle, in mm_app_open()
627 test_obj->cam->ops->close_camera(test_obj->cam->camera_handle); in mm_app_open()
[all …]
Dmm_qcamera_video.c111 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_metadata_notify_cb()
225 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_snapshot_notify_cb()
292 snprintf(file_name, sizeof(file_name), "P_C%d", pme->cam->camera_handle); in mm_app_preview_notify_cb()
300 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_preview_notify_cb()
321 snprintf(file_name, sizeof(file_name), "V_C%d", pme->cam->camera_handle); in mm_app_video_notify_cb()
324 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_video_notify_cb()
Dmm_qcamera_reprocess.c87 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_reprocess_notify_cb()
328 rc = test_obj->cam->ops->set_stream_parms(test_obj->cam->camera_handle, in mm_app_do_reprocess()
343 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle, in mm_app_release_ppinput()
Dmm_qcamera_snapshot.c63 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->current_job_frames->camera_handle, in jpeg_encode_cb()
338 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_snapshot_metadata_notify_cb()
403 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_snapshot_notify_cb_raw()
517 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_snapshot_notify_cb()
Dmm_qcamera_rdi.c77 snprintf(file_name, sizeof(file_name), "RDI_dump_%d", pme->cam->camera_handle); in mm_app_rdi_notify_cb()
80 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_rdi_notify_cb()
Dmm_qcamera_preview.c215 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_metadata_notify_cb()
328 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_snapshot_notify_cb()
398 snprintf(file_name, sizeof(file_name), "P_C%d", pme->cam->camera_handle); in mm_app_preview_notify_cb()
406 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_preview_notify_cb()
589 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_zsl_notify_cb()
600 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_zsl_notify_cb()
609 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_zsl_notify_cb()
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCamera2HWICallbacks.cpp78 (!validate_handle(pme->mCameraHandle->camera_handle, in zsl_channel_cb()
79 recvd_frame->camera_handle))) { in zsl_channel_cb()
390 !validate_handle(pme->mCameraHandle->camera_handle, in capture_channel_cb_routine()
391 recvd_frame->camera_handle)){ in capture_channel_cb_routine()
650 !validate_handle(pme->mCameraHandle->camera_handle, in postproc_channel_cb_routine()
651 recvd_frame->camera_handle)) { in postproc_channel_cb_routine()
1165 !validate_handle(pme->mCameraHandle->camera_handle, in nodisplay_preview_stream_cb_routine()
1166 super_frame->camera_handle)){ in nodisplay_preview_stream_cb_routine()
1248 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ in secure_stream_cb_routine()
1329 !validate_handle(pme->mCameraHandle->camera_handle, in rdi_mode_stream_cb_routine()
[all …]
DQCamera2HWI.cpp1930 mCameraHandle->ops->register_event_notify(mCameraHandle->camera_handle, in openCamera()
1949 mCameraHandle->ops->register_event_notify(mCameraHandle->camera_handle, in openCamera()
2036 mCameraHandle->ops->close_camera(mCameraHandle->camera_handle); in openCamera()
2085 rc = mCameraHandle->ops->get_session_id(mCameraHandle->camera_handle, in getCameraSessionId()
2311 rc = mCameraHandle->ops->close_camera(mCameraHandle->camera_handle); in closeCamera()
2471 handle = get_main_camera_handle(cameraHandle->camera_handle); in initCapabilities()
2480 handle = get_aux_camera_handle(cameraHandle->camera_handle); in initCapabilities()
2501 cameraHandle->ops->close_camera(cameraHandle->camera_handle); in initCapabilities()
2937 return mCameraHandle->camera_handle; in getCamHandleForChannel()
2953 handle = mCameraHandle->camera_handle; in getCamHandleForChannel()
[all …]
DQCameraParameters.cpp6359 m_bDualCamera = is_dual_camera_by_handle(mmOps->camera_handle); in init()
6367 rc = m_pCamOpsTbl->ops->map_bufs(m_pCamOpsTbl->camera_handle, in init()
6388 get_aux_camera_handle(m_pCamOpsTbl->camera_handle), in init()
6420 get_main_camera_handle(m_pCamOpsTbl->camera_handle), in init()
6433 get_aux_camera_handle(m_pCamOpsTbl->camera_handle), in init()
6444 rc = m_pCamOpsTbl->ops->get_session_id(m_pCamOpsTbl->camera_handle, in init()
6503 m_pCamOpsTbl->camera_handle, in deinit()
6506 get_main_camera_handle(m_pCamOpsTbl->camera_handle), in deinit()
6510 get_aux_camera_handle(m_pCamOpsTbl->camera_handle), in deinit()
12460 rc = m_pCamOpsTbl->ops->set_dual_cam_cmd(m_pCamOpsTbl->camera_handle); in sendDualCamCmd()
[all …]
DQCamera2HWI.h519 static void camEvtHandle(uint32_t camera_handle,
/hardware/qcom/camera/msm8998/QCamera2/util/
DQCameraDualFOVPP.cpp204 pInputData->src_reproc_frame->camera_handle); in feedInput()
272 pOutputFrame->camera_handle = pInputFrame->camera_handle; in feedOutput()
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3HWI.cpp702 mCameraHandle->camera_handle); in ~QCamera3HardwareInterface()
789 int rc = mCameraHandle->ops->set_parms(mCameraHandle->camera_handle, mParameters); in ~QCamera3HardwareInterface()
798 mCameraHandle->ops->delete_channel(mCameraHandle->camera_handle, in ~QCamera3HardwareInterface()
1031 rc = mCameraHandle->ops->register_event_notify(mCameraHandle->camera_handle, in openCamera()
1068 rc = mCameraHandle->ops->get_session_id(mCameraHandle->camera_handle, in openCamera()
1088 rc = mCameraHandle->ops->map_buf(mCameraHandle->camera_handle, in openCamera()
1128 mCameraHandle->ops->unmap_buf(mCameraHandle->camera_handle, in closeCamera()
1137 rc = mCameraHandle->ops->close_camera(mCameraHandle->camera_handle); in closeCamera()
1230 mCameraHandle->camera_handle, NULL, NULL, this); in initialize()
1585 rc = mCameraHandle->ops->set_parms(mCameraHandle->camera_handle, mParameters); in getSensorModeInfo()
[all …]
DQCamera3HWI.h261 static void camEvtHandle(uint32_t camera_handle, mm_camera_event_t *evt,
DQCamera3Channel.cpp4361 src_frame->camera_handle = m_camHandle; in returnYuvBufferAndEncode()
4382 metadataBuf->camera_handle = m_camHandle; in returnYuvBufferAndEncode()