/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/inc/ |
D | mm_camera_muxer.h | 62 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/ |
D | mm_camera_interface.h | 170 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/ |
D | mm_camera_interface.c | 235 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 …]
|
D | mm_camera_muxer.c | 285 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 …]
|
D | mm_camera_stream.c | 290 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()
|
D | mm_camera_channel.c | 742 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/ |
D | mm_qcamera_app.c | 483 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 …]
|
D | mm_qcamera_video.c | 111 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()
|
D | mm_qcamera_reprocess.c | 87 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()
|
D | mm_qcamera_snapshot.c | 63 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()
|
D | mm_qcamera_rdi.c | 77 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()
|
D | mm_qcamera_preview.c | 215 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/ |
D | QCamera2HWICallbacks.cpp | 78 (!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 …]
|
D | QCamera2HWI.cpp | 1930 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 …]
|
D | QCameraParameters.cpp | 6359 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 …]
|
D | QCamera2HWI.h | 519 static void camEvtHandle(uint32_t camera_handle,
|
/hardware/qcom/camera/msm8998/QCamera2/util/ |
D | QCameraDualFOVPP.cpp | 204 pInputData->src_reproc_frame->camera_handle); in feedInput() 272 pOutputFrame->camera_handle = pInputFrame->camera_handle; in feedOutput()
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
D | QCamera3HWI.cpp | 702 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 …]
|
D | QCamera3HWI.h | 261 static void camEvtHandle(uint32_t camera_handle, mm_camera_event_t *evt,
|
D | QCamera3Channel.cpp | 4361 src_frame->camera_handle = m_camHandle; in returnYuvBufferAndEncode() 4382 metadataBuf->camera_handle = m_camHandle; in returnYuvBufferAndEncode()
|