/device/google/marlin/camera/QCamera2/stack/common/ |
D | mm_camera_interface.h | 156 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/ |
D | mm_camera_interface.c | 182 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 …]
|
D | mm_camera_stream.c | 277 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()
|
D | mm_camera_channel.c | 605 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/ |
D | mm_qcamera_app.c | 476 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 …]
|
D | mm_qcamera_reprocess.c | 87 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()
|
D | mm_qcamera_video.c | 43 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()
|
D | mm_qcamera_snapshot.c | 63 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()
|
D | mm_qcamera_preview.c | 124 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()
|
D | mm_qcamera_rdi.c | 78 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/ |
D | QCamera2HWICallbacks.cpp | 77 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 …]
|
D | QCamera2HWI.cpp | 1914 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 …]
|
D | QCamera2HWI.h | 495 static void camEvtHandle(uint32_t camera_handle,
|
D | QCameraParameters.cpp | 6148 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/ |
D | QCamera3HWI.cpp | 522 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 …]
|
D | QCamera3HWI.h | 148 static void camEvtHandle(uint32_t camera_handle, mm_camera_event_t *evt,
|