/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/inc/ |
mm_camera_interface.h | 206 uint32_t camera_handle; member in struct:__anon5665 212 typedef void (*mm_camera_event_notify_t)(uint32_t camera_handle, 222 int32_t (*get_buf) (uint32_t camera_handle, 229 int32_t (*put_buf) (uint32_t camera_handle, 260 int32_t (*sync) (uint32_t camera_handle); 261 uint8_t (*is_event_supported) (uint32_t camera_handle, 263 int32_t (*register_event_notify) (uint32_t camera_handle, 267 int32_t (*qbuf) (uint32_t camera_handle, uint32_t ch_id, 269 void (*camera_close) (uint32_t camera_handle); 272 mm_camera_2nd_sensor_t * (*query_2nd_sensor_info) (uint32_t camera_handle); 409 uint32_t camera_handle; \/* camera object handle *\/ member in struct:__anon5672 [all...] |
/hardware/qcom/camera/QCamera2/stack/common/ |
mm_camera_interface.h | 145 * @camera_handle : camera handler to uniquely identify 154 uint32_t camera_handle; member in struct:__anon32898 189 * @camera_handle : camera handler 193 typedef void (*mm_camera_event_notify_t)(uint32_t camera_handle, 391 * @camera_handle : camer handler 396 int32_t (*query_capability) (uint32_t camera_handle); 400 * @camera_handle : camer handler 406 int32_t (*register_event_notify) (uint32_t camera_handle, 411 * @camera_handle : camer handler 415 int32_t (*close_camera) (uint32_t camera_handle); 883 uint32_t camera_handle; member in struct:__anon32910 [all...] |
/device/huawei/angler/camera/QCamera2/stack/common/ |
mm_camera_interface.h | 141 * @camera_handle : camera handler to uniquely identify 150 uint32_t camera_handle; member in struct:__anon3929 171 * @camera_handle : camera handler 175 typedef void (*mm_camera_event_notify_t)(uint32_t camera_handle, 346 * @camera_handle : camer handler 351 int32_t (*query_capability) (uint32_t camera_handle); 355 * @camera_handle : camer handler 361 int32_t (*register_event_notify) (uint32_t camera_handle, 366 * @camera_handle : camer handler 370 int32_t (*close_camera) (uint32_t camera_handle); 767 uint32_t camera_handle; member in struct:__anon3939 [all...] |
/device/lge/bullhead/camera/QCamera2/stack/common/ |
mm_camera_interface.h | 141 * @camera_handle : camera handler to uniquely identify 150 uint32_t camera_handle; member in struct:__anon4840 171 * @camera_handle : camera handler 175 typedef void (*mm_camera_event_notify_t)(uint32_t camera_handle, 346 * @camera_handle : camer handler 351 int32_t (*query_capability) (uint32_t camera_handle); 355 * @camera_handle : camer handler 361 int32_t (*register_event_notify) (uint32_t camera_handle, 366 * @camera_handle : camer handler 370 int32_t (*close_camera) (uint32_t camera_handle); 767 uint32_t camera_handle; member in struct:__anon4850 [all...] |
/device/moto/shamu/camera/QCamera2/stack/common/ |
mm_camera_interface.h | 82 * @camera_handle : camera handler to uniquely identify 91 uint32_t camera_handle; member in struct:__anon5985 112 * @camera_handle : camera handler 116 typedef void (*mm_camera_event_notify_t)(uint32_t camera_handle, 283 * @camera_handle : camer handler 288 int32_t (*query_capability) (uint32_t camera_handle); 292 * @camera_handle : camer handler 298 int32_t (*register_event_notify) (uint32_t camera_handle, 303 * @camera_handle : camer handler 307 int32_t (*close_camera) (uint32_t camera_handle); 681 uint32_t camera_handle; member in struct:__anon5995 [all...] |
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/ |
mm_qcamera_pp.c | 73 pme->cam->ops->qbuf(pme->cam->camera_handle, pme->ch_id, buf_info->frame); 79 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle, pme->ch_id, frame)) { 109 pme->cam->ops->qbuf(pme->cam->camera_handle, pme->ch_id, buf_info->frame); 115 if(MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle, pme->ch_id, frame)) 148 pme->cam->camera_handle, 174 pme->cam->camera_handle, 187 pme->cam->camera_handle, 202 pme->cam->camera_handle, 212 pme->cam->ops->del_stream(pme->cam->camera_handle, 221 pme->cam->camera_handle, [all...] |
mm_qcamera_preview.c | 230 pme->cam->ops->set_parm(pme->cam->camera_handle,MM_CAMERA_PARM_RECORDING_HINT, &value); 258 pme->cam->ops->set_parm(pme->cam->camera_handle,MM_CAMERA_PARM_RECORDING_HINT, &value); 286 pme->cam->ops->set_parm(pme->cam->camera_handle,MM_CAMERA_PARM_RECORDING_HINT, &value); 298 int mm_stream_deinit_preview_buf(uint32_t camera_handle, 317 int mm_stream_init_preview_buf(uint32_t camera_handle, 392 int mm_stream_initbuf(uint32_t camera_handle, 443 int mm_stream_initbuf_1(uint32_t camera_handle, 469 mm_stream_init_preview_buf( camera_handle, 478 mm_stream_init_video_buf( camera_handle, 487 mm_stream_init_main_buf( camera_handle, [all...] |
mm_qcamera_video.c | 95 int mm_stream_deinit_video_buf(uint32_t camera_handle, 114 int mm_stream_init_video_buf(uint32_t camera_handle, 217 if(MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle,pme->ch_id,frame)) 237 if(MM_CAMERA_OK != (rc = pme->cam->ops->config_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[MM_CAMERA_VIDEO].id, 250 if(MM_CAMERA_OK != (rc = pme->cam->ops->config_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id, 266 pme->stream[MM_CAMERA_VIDEO].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->ch_id, 279 pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->ch_id, 302 if(MM_CAMERA_OK != (rc = pme->cam->ops->del_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[MM_CAMERA_VIDEO].id))){ 307 if(MM_CAMERA_OK != (rc = pme->cam->ops->del_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id))){ 329 if(MM_CAMERA_OK != (rc = pme->cam->ops->start_streams(pme->cam->camera_handle,pme->ch_id,1,&stream)) [all...] |
mm_qcamera_snapshot.c | 218 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->current_job_frames->camera_handle, 303 pme->cam->ops->get_stream_parm(pme->cam->camera_handle, 334 pme->cam->ops->get_stream_parm(pme->cam->camera_handle, 373 pme->cam->ops->send_command(bufs->camera_handle, 385 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, 406 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, 440 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle,pme->ch_id, 472 pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->ch_id, 483 pme->stream[MM_CAMERA_SNAPSHOT_THUMBNAIL].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->ch_id, 500 pme->cam->ops->set_parm(pme->cam->camera_handle,MM_CAMERA_PARM_OP_MODE, &op_mode) [all...] |
mm_qcamera_rdi.c | 93 pme->cam->camera_handle,MM_CAMERA_PARM_OP_MODE, &op_mode))) { 106 //pme->cam->ops->get_parm(pme->cam->camera_handle,MM_CAMERA_PARM_DIMENSION, &dim); 162 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle, 189 //pme->cam->ops->set_parm(pme->cam->camera_handle,MM_CAMERA_PARM_CH_INTERFACE, &value); 190 //pme->cam->ops->get_parm(pme->cam->camera_handle,MM_CAMERA_PARM_CH_INTERFACE, &rdi_mode); 192 pme->stream[MM_CAMERA_RDI].id = pme->cam->ops->add_stream(pme->cam->camera_handle, 210 if (MM_CAMERA_OK != (rc = pme->cam->ops->config_stream(pme->cam->camera_handle, 243 if (MM_CAMERA_OK != (rc = pme->cam->ops->start_streams(pme->cam->camera_handle, 263 CDBG_ERROR("pme = %p, pme->cam =%p, pme->cam->camera_handle = %d", 264 pme,pme->cam,pme->cam->camera_handle); [all...] |
mm_qcamera_app.c | 198 static void notify_evt_cb(uint32_t camera_handle, 250 CDBG("Open Camera id = %d handle = %d", cam_id, pme->cam->camera_handle); 252 pme->cam->ops->sync(pme->cam->camera_handle); 260 pme->cam->ops->register_event_notify(pme->cam->camera_handle, notify_evt_cb, pme,evt); 266 pme->ch_id = pme->cam->ops->ch_acquire(pme->cam->camera_handle); 300 pme->cam->ops->ch_release(pme->cam->camera_handle,pme->ch_id); 301 pme->cam->ops->camera_close(pme->cam->camera_handle); 385 pme->cam->camera_handle,MM_CAMERA_PARM_DIMENSION, &pme->dim))) 425 pme->cam->ops->ch_release(pme->cam->camera_handle,pme->ch_id);
|
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera_interface.c | 175 * @camera_handle: camera handle 181 static int32_t mm_camera_intf_query_capability(uint32_t camera_handle) 186 LOGD("E: camera_handler = %d ", camera_handle); 189 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); 208 * @camera_handle: camera handle 218 static int32_t mm_camera_intf_set_parms(uint32_t camera_handle, 225 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); 243 * @camera_handle: camera handle 255 static int32_t mm_camera_intf_get_parms(uint32_t camera_handle, 262 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); [all...] |
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera_interface.c | 146 * @camera_handle: camera handle 152 static int32_t mm_camera_intf_query_capability(uint32_t camera_handle) 157 CDBG("%s E: camera_handler = %d ", __func__, camera_handle); 160 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); 179 * @camera_handle: camera handle 189 static int32_t mm_camera_intf_set_parms(uint32_t camera_handle, 196 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); 214 * @camera_handle: camera handle 226 static int32_t mm_camera_intf_get_parms(uint32_t camera_handle, 233 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); [all...] |
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera_interface.c | 146 * @camera_handle: camera handle 152 static int32_t mm_camera_intf_query_capability(uint32_t camera_handle) 157 CDBG("%s E: camera_handler = %d ", __func__, camera_handle); 160 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); 179 * @camera_handle: camera handle 189 static int32_t mm_camera_intf_set_parms(uint32_t camera_handle, 196 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); 214 * @camera_handle: camera handle 226 static int32_t mm_camera_intf_get_parms(uint32_t camera_handle, 233 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); [all...] |
/device/moto/shamu/camera/QCamera/HAL2/core/src/ |
QCameraHWI.cpp | 81 rc = mCameraHandle->ops->set_parm(mCameraHandle->camera_handle, 186 int32_t get_buffer_hook(uint32_t camera_handle, 195 return pme->getBuf(camera_handle, ch_id, stream_id, 202 int32_t put_buffer_hook(uint32_t camera_handle, 208 return pme->putBuf(camera_handle, ch_id, stream_id, 213 int QCameraHardwareInterface::getBuf(uint32_t camera_handle, 249 int QCameraHardwareInterface::putBuf(uint32_t camera_handle, 281 mCameraHandle->ops->sync(mCameraHandle->camera_handle); 283 mChannelId=mCameraHandle->ops->ch_acquire(mCameraHandle->camera_handle); 287 mCameraHandle->ops->camera_close(mCameraHandle->camera_handle); [all...] |
QCameraHAL.cpp | 116 p_camera_vtbl->ops->sync(p_camera_vtbl->camera_handle); 130 p_camera_vtbl->ops->camera_close(p_camera_vtbl->camera_handle);
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera_interface.c | 146 * @camera_handle: camera handle 152 static int32_t mm_camera_intf_query_capability(uint32_t camera_handle) 157 CDBG("%s E: camera_handler = %d ", __func__, camera_handle); 160 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); 179 * @camera_handle: camera handle 189 static int32_t mm_camera_intf_set_parms(uint32_t camera_handle, 196 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); 214 * @camera_handle: camera handle 226 static int32_t mm_camera_intf_get_parms(uint32_t camera_handle, 233 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); [all...] |
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/ |
mm_camera_interface.c | 721 uint32_t camera_handle, 731 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); 733 CDBG("%s :E camera_handle = %d,ch_id = %d,s_id = %d,parm_type = %d",__func__, 734 camera_handle,ch_id,s_id,parm_type); 750 uint32_t camera_handle, 760 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); 762 CDBG("%s :E camera_handle = %d,ch_id = %d,s_id = %d,parm_type = %d",__func__, 763 camera_handle,ch_id,s_id,parm_type); 779 static int32_t mm_camera_intf_send_private_ioctl(uint32_t camera_handle, 788 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); [all...] |
/device/moto/shamu/camera/QCamera/HAL/core/src/ |
QCameraHWI_Parm.cpp | 405 if(mCameraHandle->ops->set_parm(mCameraHandle->camera_handle, type,value ) < 0) { 418 *result= mCameraHandle->ops->set_parm(mCameraHandle->camera_handle, type,value ); 570 if(mCameraHandle->ops->is_op_supported(mCameraHandle->camera_handle, MM_CAMERA_OPS_FOCUS)) { 583 mCameraHandle->ops->is_parm_supported(mCameraHandle->camera_handle,MM_CAMERA_PARM_ASD_ENABLE,(uint8_t*)&rc,(uint8_t*)&rc); 589 mCameraHandle->ops->is_parm_supported(mCameraHandle->camera_handle,MM_CAMERA_PARM_FD,(uint8_t*)&rc,(uint8_t*)&rc); 595 mCameraHandle->ops->is_parm_supported(mCameraHandle->camera_handle,MM_CAMERA_PARM_FOCUS_RECT,(uint8_t*)&rc,(uint8_t*)&rc); 601 mCameraHandle->ops->is_parm_supported(mCameraHandle->camera_handle,MM_CAMERA_PARM_REDEYE_REDUCTION,(uint8_t*)&rc,(uint8_t*)&rc); 626 ret = mCameraHandle->ops->get_parm(mCameraHandle->camera_handle, 652 ret = mCameraHandle->ops->get_parm(mCameraHandle->camera_handle, 658 if(mCameraHandle->ops->get_parm(mCameraHandle->camera_handle, [all...] |
QCameraHWI.cpp | 61 pme->mCameraHandle->ops->qbuf(recvd_frame->camera_handle, 77 camera_handle, pme->mHdrInfo.recvd_frame[pme->mHdrInfo. 135 pme->mCameraHandle->ops->qbuf(cookie->src_frame->camera_handle, 185 mCameraHandle->ops->qbuf(super_buf->camera_handle, 559 mCameraHandle->ops->get_parm(mCameraHandle->camera_handle, MM_CAMERA_PARM_MOBICAT, 820 static void HAL_event_cb(uint32_t camera_handle, mm_camera_event_t *evt, void *user_data) [all...] |
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_app.c | 467 static void notify_evt_cb(uint32_t camera_handle, 473 if (test_obj == NULL || test_obj->cam->camera_handle != camera_handle) { 508 CDBG("Open Camera id = %d handle = %d", cam_id, test_obj->cam->camera_handle); 525 rc = test_obj->cam->ops->map_buf(test_obj->cam->camera_handle, 548 rc = test_obj->cam->ops->map_buf(test_obj->cam->camera_handle, 559 rc = test_obj->cam->ops->register_event_notify(test_obj->cam->camera_handle, 568 rc = test_obj->cam->ops->query_capability(test_obj->cam->camera_handle); 589 test_obj->cam->ops->unmap_buf(test_obj->cam->camera_handle, 594 test_obj->cam->ops->unmap_buf(test_obj->cam->camera_handle, [all...] |
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_app.c | 467 static void notify_evt_cb(uint32_t camera_handle, 473 if (test_obj == NULL || test_obj->cam->camera_handle != camera_handle) { 508 CDBG("Open Camera id = %d handle = %d", cam_id, test_obj->cam->camera_handle); 525 rc = test_obj->cam->ops->map_buf(test_obj->cam->camera_handle, 548 rc = test_obj->cam->ops->map_buf(test_obj->cam->camera_handle, 559 rc = test_obj->cam->ops->register_event_notify(test_obj->cam->camera_handle, 568 rc = test_obj->cam->ops->query_capability(test_obj->cam->camera_handle); 589 test_obj->cam->ops->unmap_buf(test_obj->cam->camera_handle, 594 test_obj->cam->ops->unmap_buf(test_obj->cam->camera_handle, [all...] |
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_app.c | 456 static void notify_evt_cb(uint32_t camera_handle, 462 if (test_obj == NULL || test_obj->cam->camera_handle != camera_handle) { 497 CDBG("Open Camera id = %d handle = %d", cam_id, test_obj->cam->camera_handle); 514 rc = test_obj->cam->ops->map_buf(test_obj->cam->camera_handle, 537 rc = test_obj->cam->ops->map_buf(test_obj->cam->camera_handle, 548 rc = test_obj->cam->ops->register_event_notify(test_obj->cam->camera_handle, 557 rc = test_obj->cam->ops->query_capability(test_obj->cam->camera_handle); 578 test_obj->cam->ops->unmap_buf(test_obj->cam->camera_handle, 583 test_obj->cam->ops->unmap_buf(test_obj->cam->camera_handle, [all...] |
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_app.c | 473 static void notify_evt_cb(uint32_t camera_handle, 479 if (test_obj == NULL || test_obj->cam->camera_handle != camera_handle) { 514 LOGD("Open Camera id = %d handle = %d", cam_id, test_obj->cam->camera_handle); 531 rc = test_obj->cam->ops->map_buf(test_obj->cam->camera_handle, 555 rc = test_obj->cam->ops->map_buf(test_obj->cam->camera_handle, 567 rc = test_obj->cam->ops->register_event_notify(test_obj->cam->camera_handle, 576 rc = test_obj->cam->ops->query_capability(test_obj->cam->camera_handle); 597 test_obj->cam->ops->unmap_buf(test_obj->cam->camera_handle, 602 test_obj->cam->ops->unmap_buf(test_obj->cam->camera_handle, [all...] |
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/inc/ |
mm_qcamera_app.h | 218 extern int mm_stream_initbuf(uint32_t camera_handle, 226 extern int mm_stream_deinitbuf(uint32_t camera_handle,
|