Home
last modified time | relevance | path

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

/device/google/marlin/camera/QCamera2/stack/common/
Dmm_camera_interface.h156 uint32_t camera_handle; member
195 typedef void (*mm_camera_event_notify_t)(uint32_t camera_handle,
399 int32_t (*query_capability) (uint32_t camera_handle);
409 int32_t (*register_event_notify) (uint32_t camera_handle,
418 int32_t (*close_camera) (uint32_t camera_handle);
432 int32_t (*map_buf) (uint32_t camera_handle,
445 int32_t (*map_bufs) (uint32_t camera_handle,
458 int32_t (*unmap_buf) (uint32_t camera_handle,
472 int32_t (*set_parms) (uint32_t camera_handle,
486 int32_t (*get_parms) (uint32_t camera_handle,
[all …]
/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_interface.c182 static int32_t mm_camera_intf_query_capability(uint32_t camera_handle) in mm_camera_intf_query_capability() argument
187 LOGD("E: camera_handler = %d ", camera_handle); in mm_camera_intf_query_capability()
190 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); in mm_camera_intf_query_capability()
219 static int32_t mm_camera_intf_set_parms(uint32_t camera_handle, in mm_camera_intf_set_parms() argument
226 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); in mm_camera_intf_set_parms()
256 static int32_t mm_camera_intf_get_parms(uint32_t camera_handle, in mm_camera_intf_get_parms() argument
263 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); in mm_camera_intf_get_parms()
289 static int32_t mm_camera_intf_do_auto_focus(uint32_t camera_handle) in mm_camera_intf_do_auto_focus() argument
295 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); in mm_camera_intf_do_auto_focus()
319 static int32_t mm_camera_intf_cancel_auto_focus(uint32_t camera_handle) in mm_camera_intf_cancel_auto_focus() argument
[all …]
Dmm_camera_stream.c277 super_buf.camera_handle = my_obj->ch_obj->cam_obj->my_hdl; in mm_stream_dispatch_sync_data()
407 super_buf.camera_handle = my_obj->ch_obj->cam_obj->my_hdl; in mm_stream_dispatch_app_data()
Dmm_camera_channel.c605 cb_node->u.superbuf.camera_handle = ch_obj->cam_obj->my_hdl; in mm_channel_send_super_buf()
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c476 static void notify_evt_cb(uint32_t camera_handle, in notify_evt_cb() argument
482 if (test_obj == NULL || test_obj->cam->camera_handle != camera_handle) { in notify_evt_cb()
517 LOGD("Open Camera id = %d handle = %d", cam_id, test_obj->cam->camera_handle); in mm_app_open()
534 rc = test_obj->cam->ops->map_buf(test_obj->cam->camera_handle, in mm_app_open()
558 rc = test_obj->cam->ops->map_buf(test_obj->cam->camera_handle, in mm_app_open()
570 rc = test_obj->cam->ops->register_event_notify(test_obj->cam->camera_handle, in mm_app_open()
579 rc = test_obj->cam->ops->query_capability(test_obj->cam->camera_handle); in mm_app_open()
600 test_obj->cam->ops->unmap_buf(test_obj->cam->camera_handle, in mm_app_open()
605 test_obj->cam->ops->unmap_buf(test_obj->cam->camera_handle, in mm_app_open()
610 test_obj->cam->ops->close_camera(test_obj->cam->camera_handle); in mm_app_open()
[all …]
Dmm_qcamera_reprocess.c87 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_reprocess_notify_cb()
325 rc = test_obj->cam->ops->set_stream_parms(test_obj->cam->camera_handle, in mm_app_do_reprocess()
340 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle, in mm_app_release_ppinput()
Dmm_qcamera_video.c43 snprintf(file_name, sizeof(file_name), "V_C%d", pme->cam->camera_handle); in mm_app_video_notify_cb()
46 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_video_notify_cb()
Dmm_qcamera_snapshot.c63 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->current_job_frames->camera_handle, in jpeg_encode_cb()
256 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_snapshot_metadata_notify_cb()
321 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_snapshot_notify_cb_raw()
437 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_snapshot_notify_cb()
Dmm_qcamera_preview.c124 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_metadata_notify_cb()
237 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_snapshot_notify_cb()
304 snprintf(file_name, sizeof(file_name), "P_C%d", pme->cam->camera_handle); in mm_app_preview_notify_cb()
312 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_preview_notify_cb()
486 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_zsl_notify_cb()
497 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_zsl_notify_cb()
506 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_zsl_notify_cb()
Dmm_qcamera_rdi.c78 snprintf(file_name, sizeof(file_name), "RDI_dump_%d", pme->cam->camera_handle); in mm_app_rdi_notify_cb()
81 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_rdi_notify_cb()
/device/google/marlin/camera/QCamera2/HAL/
DQCamera2HWICallbacks.cpp77 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ in zsl_channel_cb()
387 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ in capture_channel_cb_routine()
644 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ in postproc_channel_cb_routine()
1132 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ in nodisplay_preview_stream_cb_routine()
1216 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ in rdi_mode_stream_cb_routine()
1405 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ in video_stream_cb_routine()
1607 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ in snapshot_channel_cb_routine()
1704 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ in raw_stream_cb_routine()
1742 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ in raw_channel_cb_routine()
1837 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ in preview_raw_stream_cb_routine()
[all …]
DQCamera2HWI.cpp1914 mCameraHandle->ops->register_event_notify(mCameraHandle->camera_handle, in openCamera()
1933 mCameraHandle->ops->register_event_notify(mCameraHandle->camera_handle, in openCamera()
1981 mCameraHandle->ops->close_camera(mCameraHandle->camera_handle); in openCamera()
2035 rc = mCameraHandle->ops->get_session_id(mCameraHandle->camera_handle, in getCameraSessionId()
2261 rc = mCameraHandle->ops->close_camera(mCameraHandle->camera_handle); in closeCamera()
2332 rc = cameraHandle->ops->map_bufs(cameraHandle->camera_handle, in initCapabilities()
2342 rc = cameraHandle->ops->query_capability(cameraHandle->camera_handle); in initCapabilities()
2368 cameraHandle->ops->unmap_buf(cameraHandle->camera_handle, in initCapabilities()
3813 rc = mCameraHandle->ops->do_auto_focus(mCameraHandle->camera_handle); in autoFocus()
3853 rc = mCameraHandle->ops->cancel_auto_focus(mCameraHandle->camera_handle); in cancelAutoFocus()
[all …]
DQCamera2HWI.h495 static void camEvtHandle(uint32_t camera_handle,
DQCameraParameters.cpp6148 rc = m_pCamOpsTbl->ops->map_bufs(m_pCamOpsTbl->camera_handle, in init()
6174 rc = m_pCamOpsTbl->ops->map_buf(m_pCamOpsTbl->camera_handle, in init()
6235 m_pCamOpsTbl->camera_handle, in deinit()
6240 m_pCamOpsTbl->camera_handle, in deinit()
11900 m_pCamOpsTbl->camera_handle, m_pRelCamSyncBuf); in bundleRelatedCameras()
12016 rc = m_pCamOpsTbl->ops->set_parms(m_pCamOpsTbl->camera_handle, m_pParamBuf); in commitSetBatch()
12058 return m_pCamOpsTbl->ops->get_parms(m_pCamOpsTbl->camera_handle, m_pParamBuf); in commitGetBatch()
/device/google/marlin/camera/QCamera2/HAL3/
DQCamera3HWI.cpp522 mCameraHandle->ops->stop_channel(mCameraHandle->camera_handle, in ~QCamera3HardwareInterface()
569 int rc = mCameraHandle->ops->set_parms(mCameraHandle->camera_handle, mParameters); in ~QCamera3HardwareInterface()
578 mCameraHandle->ops->delete_channel(mCameraHandle->camera_handle, in ~QCamera3HardwareInterface()
758 rc = mCameraHandle->ops->register_event_notify(mCameraHandle->camera_handle, in openCamera()
795 rc = mCameraHandle->ops->get_session_id(mCameraHandle->camera_handle, in openCamera()
815 rc = mCameraHandle->ops->map_buf(mCameraHandle->camera_handle, in openCamera()
853 rc = mCameraHandle->ops->close_camera(mCameraHandle->camera_handle); in closeCamera()
933 mCameraHandle->camera_handle, NULL, NULL, this); in initialize()
1247 rc = mCameraHandle->ops->set_parms(mCameraHandle->camera_handle, mParameters); in getSensorOutputSize()
1256 rc = mCameraHandle->ops->get_parms(mCameraHandle->camera_handle, in getSensorOutputSize()
[all …]
DQCamera3HWI.h148 static void camEvtHandle(uint32_t camera_handle, mm_camera_event_t *evt,