/device/asus/flo/camera/QCamera2/stack/common/ |
mm_camera_interface.h | 81 * @camera_handle : camera handler to uniquely identify 90 uint32_t camera_handle; member in struct:__anon1745 109 * @camera_handle : camera handler 113 typedef void (*mm_camera_event_notify_t)(uint32_t camera_handle, 263 * @camera_handle : camer handler 268 int32_t (*query_capability) (uint32_t camera_handle); 272 * @camera_handle : camer handler 278 int32_t (*register_event_notify) (uint32_t camera_handle, 283 * @camera_handle : camer handler 287 int32_t (*close_camera) (uint32_t camera_handle); 631 uint32_t camera_handle; member in struct:__anon1754 [all...] |
/hardware/qcom/camera/QCamera2/stack/common/ |
mm_camera_interface.h | 81 * @camera_handle : camera handler to uniquely identify 90 uint32_t camera_handle; member in struct:__anon33174 109 * @camera_handle : camera handler 113 typedef void (*mm_camera_event_notify_t)(uint32_t camera_handle, 263 * @camera_handle : camer handler 268 int32_t (*query_capability) (uint32_t camera_handle); 272 * @camera_handle : camer handler 278 int32_t (*register_event_notify) (uint32_t camera_handle, 283 * @camera_handle : camer handler 287 int32_t (*close_camera) (uint32_t camera_handle); 631 uint32_t camera_handle; member in struct:__anon33183 [all...] |
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/inc/ |
mm_camera_interface.h | 186 uint32_t camera_handle; member in struct:__anon2097 192 typedef void (*mm_camera_event_notify_t)(uint32_t camera_handle, 202 int32_t (*get_buf) (uint32_t camera_handle, 209 int32_t (*put_buf) (uint32_t camera_handle, 221 int32_t (*sync) (uint32_t camera_handle); 222 uint8_t (*is_event_supported) (uint32_t camera_handle, 224 int32_t (*register_event_notify) (uint32_t camera_handle, 228 int32_t (*qbuf) (uint32_t camera_handle, uint32_t ch_id, 230 void (*camera_close) (uint32_t camera_handle); 233 mm_camera_2nd_sensor_t * (*query_2nd_sensor_info) (uint32_t camera_handle); 316 uint32_t camera_handle; \/* camera object handle *\/ member in struct:__anon2101 [all...] |
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera_interface.c | 141 * @camera_handle: camera handle 147 static int32_t mm_camera_intf_query_capability(uint32_t camera_handle) 152 CDBG("%s E: camera_handler = %d ", __func__, camera_handle); 155 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); 174 * @camera_handle: camera handle 184 static int32_t mm_camera_intf_set_parms(uint32_t camera_handle, 191 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); 209 * @camera_handle: camera handle 221 static int32_t mm_camera_intf_get_parms(uint32_t camera_handle, 228 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); [all...] |
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera_interface.c | 141 * @camera_handle: camera handle 147 static int32_t mm_camera_intf_query_capability(uint32_t camera_handle) 152 CDBG("%s E: camera_handler = %d ", __func__, camera_handle); 155 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); 174 * @camera_handle: camera handle 184 static int32_t mm_camera_intf_set_parms(uint32_t camera_handle, 191 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); 209 * @camera_handle: camera handle 221 static int32_t mm_camera_intf_get_parms(uint32_t camera_handle, 228 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); [all...] |
/device/lge/mako/camera/QCamera/stack/mm-camera-test/src/ |
mm_qcamera_rdi.c | 59 //pme->cam->ops->get_parm(pme->cam->camera_handle,MM_CAMERA_PARM_DIMENSION, &dim); 111 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle,pme->ch_id,frame)) { 135 //pme->cam->ops->set_parm(pme->cam->camera_handle,MM_CAMERA_PARM_CH_INTERFACE, &value); 136 //pme->cam->ops->get_parm(pme->cam->camera_handle,MM_CAMERA_PARM_CH_INTERFACE, &rdi_mode); 138 pme->stream[MM_CAMERA_RDI].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->ch_id, 153 if (MM_CAMERA_OK != (rc = pme->cam->ops->config_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[MM_CAMERA_RDI].id, 160 pme->stream[MM_CAMERA_PREVIEW].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->ch_id, 176 if (MM_CAMERA_OK != (rc = pme->cam->ops->config_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[MM_CAMERA_PREVIEW].id, 209 if (MM_CAMERA_OK != (rc = pme->cam->ops->start_streams(pme->cam->camera_handle,pme->ch_id,num_of_streams,&stream))) { 226 CDBG("pme = %p, pme->cam =%p, pme->cam->camera_handle = %d" [all...] |
mm_qcamera_preview.c | 189 pme->cam->ops->set_parm(pme->cam->camera_handle,MM_CAMERA_PARM_RECORDING_HINT, &value); 218 pme->cam->ops->set_parm(pme->cam->camera_handle,MM_CAMERA_PARM_RECORDING_HINT, &value); 230 int mm_stream_deinit_preview_buf(uint32_t camera_handle, 249 int mm_stream_init_preview_buf(uint32_t camera_handle, 324 int mm_stream_initbuf(uint32_t camera_handle, 407 int mm_stream_initbuf_1(uint32_t camera_handle, 433 mm_stream_init_preview_buf( camera_handle, 442 mm_stream_init_video_buf( camera_handle, 451 mm_stream_init_main_buf( camera_handle, 460 mm_stream_init_thumbnail_buf( camera_handle, [all...] |
mm_qcamera_video.c | 87 int mm_stream_deinit_video_buf(uint32_t camera_handle, 106 int mm_stream_init_video_buf(uint32_t camera_handle, 203 if(MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle,pme->ch_id,frame)) 222 if(MM_CAMERA_OK != (rc = pme->cam->ops->config_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[MM_CAMERA_VIDEO].id, 235 if(MM_CAMERA_OK != (rc = pme->cam->ops->config_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id, 251 pme->stream[MM_CAMERA_VIDEO].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->ch_id, 264 pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->ch_id, 287 if(MM_CAMERA_OK != (rc = pme->cam->ops->del_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[MM_CAMERA_VIDEO].id))){ 292 if(MM_CAMERA_OK != (rc = pme->cam->ops->del_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id))){ 314 if(MM_CAMERA_OK != (rc = pme->cam->ops->start_streams(pme->cam->camera_handle,pme->ch_id,1,&stream[1])) [all...] |
mm_qcamera_app.c | 189 static void notify_evt_cb(uint32_t camera_handle, 238 CDBG("Open Camera id = %d handle = %d",cam_id,pme->cam->camera_handle); 246 pme->cam->ops->register_event_notify(pme->cam->camera_handle,notify_evt_cb,pme,evt); 252 pme->ch_id = pme->cam->ops->ch_acquire(pme->cam->camera_handle); 270 pme->cam->ops->ch_release(pme->cam->camera_handle,pme->ch_id); 271 pme->cam->ops->camera_close(pme->cam->camera_handle); 349 pme->cam->camera_handle,MM_CAMERA_PARM_DIMENSION, &pme->dim))) 389 pme->cam->ops->ch_release(pme->cam->camera_handle,pme->ch_id);
|
mm_qcamera_snapshot.c | 322 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle,pme->ch_id,main_frame)) { 325 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle,pme->ch_id,thumb_frame)) { 568 pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->ch_id, 579 pme->stream[MM_CAMERA_SNAPSHOT_THUMBNAIL].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->ch_id, 595 pme->cam->ops->set_parm(pme->cam->camera_handle,MM_CAMERA_PARM_OP_MODE, &op_mode); 611 if (MM_CAMERA_OK != (rc = pme->cam->ops->config_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id, 620 if (MM_CAMERA_OK != (rc = pme->cam->ops->config_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[MM_CAMERA_SNAPSHOT_THUMBNAIL].id, 649 pme->cam->camera_handle,pme->ch_id,snapshot_raw_cb,pme,&attr,2,stream))) { 654 if (MM_CAMERA_OK != (rc = pme->cam->ops->start_streams(pme->cam->camera_handle,pme->ch_id, 660 if (MM_CAMERA_OK != (rc =pme->cam->ops->request_super_buf(pme->cam->camera_handle,pme->ch_id))) [all...] |
/device/asus/flo/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_app.c | 436 static void notify_evt_cb(uint32_t camera_handle, 442 if (test_obj == NULL || test_obj->cam->camera_handle != camera_handle) { 477 CDBG("Open Camera id = %d handle = %d", cam_id, test_obj->cam->camera_handle); 492 rc = test_obj->cam->ops->map_buf(test_obj->cam->camera_handle, 514 rc = test_obj->cam->ops->map_buf(test_obj->cam->camera_handle, 523 rc = test_obj->cam->ops->register_event_notify(test_obj->cam->camera_handle, 532 rc = test_obj->cam->ops->query_capability(test_obj->cam->camera_handle); 550 test_obj->cam->ops->unmap_buf(test_obj->cam->camera_handle, 555 test_obj->cam->ops->unmap_buf(test_obj->cam->camera_handle, [all...] |
mm_qcamera_preview.c | 42 snprintf(file_name, sizeof(file_name), "P_C%d", pme->cam->camera_handle); 45 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, 129 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, 138 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle,
|
mm_qcamera_video.c | 42 snprintf(file_name, sizeof(file_name), "V_C%d", pme->cam->camera_handle); 45 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle,
|
mm_qcamera_rdi.c | 70 snprintf(file_name, sizeof(file_name), "RDI_dump_%d", pme->cam->camera_handle); 73 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle,
|
mm_qcamera_snapshot.c | 62 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->current_job_frames->camera_handle, 251 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle,
|
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_app.c | 436 static void notify_evt_cb(uint32_t camera_handle, 442 if (test_obj == NULL || test_obj->cam->camera_handle != camera_handle) { 477 CDBG("Open Camera id = %d handle = %d", cam_id, test_obj->cam->camera_handle); 492 rc = test_obj->cam->ops->map_buf(test_obj->cam->camera_handle, 514 rc = test_obj->cam->ops->map_buf(test_obj->cam->camera_handle, 523 rc = test_obj->cam->ops->register_event_notify(test_obj->cam->camera_handle, 532 rc = test_obj->cam->ops->query_capability(test_obj->cam->camera_handle); 550 test_obj->cam->ops->unmap_buf(test_obj->cam->camera_handle, 555 test_obj->cam->ops->unmap_buf(test_obj->cam->camera_handle, [all...] |
mm_qcamera_preview.c | 42 snprintf(file_name, sizeof(file_name), "P_C%d", pme->cam->camera_handle); 45 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, 129 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, 138 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle,
|
mm_qcamera_video.c | 42 snprintf(file_name, sizeof(file_name), "V_C%d", pme->cam->camera_handle); 45 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle,
|
mm_qcamera_rdi.c | 70 snprintf(file_name, sizeof(file_name), "RDI_dump_%d", pme->cam->camera_handle); 73 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle,
|
/device/asus/flo/camera/QCamera2/HAL/ |
QCamera2HWICallbacks.cpp | 62 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ 113 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ 204 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ 379 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ 528 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ [all...] |
QCamera2HWI.cpp | [all...] |
/hardware/qcom/camera/QCamera2/HAL/ |
QCamera2HWICallbacks.cpp | 62 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ 113 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ 204 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ 379 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ 528 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ [all...] |
QCamera2HWI.cpp | [all...] |
/device/lge/mako/camera/QCamera/stack/mm-camera-test/inc/ |
mm_qcamera_app.h | 187 extern int mm_stream_initbuf(uint32_t camera_handle, 195 extern int mm_stream_deinitbuf(uint32_t camera_handle,
|
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/ |
mm_camera_interface.c | 686 uint32_t camera_handle, 696 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); 698 CDBG("%s :E camera_handle = %d,ch_id = %d,s_id = %d,parm_type = %d",__func__, 699 camera_handle,ch_id,s_id,parm_type); 715 uint32_t camera_handle, 725 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); 727 CDBG("%s :E camera_handle = %d,ch_id = %d,s_id = %d,parm_type = %d",__func__, 728 camera_handle,ch_id,s_id,parm_type); 930 cam_obj->vtbl.camera_handle = cam_obj->my_hdl; /* set handler */
|