/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/ |
mm_camera_stream.c | 47 int32_t mm_stream_qbuf(mm_stream_t *my_obj, 49 int32_t mm_stream_set_ext_mode(mm_stream_t * my_obj); 50 int32_t mm_stream_set_fmt(mm_stream_t * my_obj); 51 int32_t mm_stream_get_offset(mm_stream_t *my_obj); 52 int32_t mm_stream_set_cid(mm_stream_t *my_obj,stream_cid_t *in_value); 53 int32_t mm_stream_init_bufs(mm_stream_t * my_obj); 54 int32_t mm_stream_deinit_bufs(mm_stream_t * my_obj); 55 int32_t mm_stream_request_buf(mm_stream_t * my_obj); 56 int32_t mm_stream_unreg_buf(mm_stream_t * my_obj); 57 int32_t mm_stream_release(mm_stream_t *my_obj); 203 mm_stream_t *my_obj = (mm_stream_t*)user_data; local 258 mm_stream_t * my_obj = (mm_stream_t*)user_data; local 315 mm_stream_t * my_obj = (mm_stream_t *)user_data; local [all...] |
mm_camera.c | 51 int32_t mm_camera_send_native_ctrl_cmd(mm_camera_obj_t * my_obj, 55 int32_t mm_camera_send_native_ctrl_timeout_cmd(mm_camera_obj_t * my_obj, 60 int mm_camera_evt_sub(mm_camera_obj_t * my_obj, 63 int32_t mm_camera_set_general_parm(mm_camera_obj_t * my_obj, 66 int32_t mm_camera_enqueue_evt(mm_camera_obj_t *my_obj, 68 extern int32_t mm_channel_init(mm_channel_t *my_obj); 93 mm_camera_obj_t * my_obj = (mm_camera_obj_t *)user_data; local 94 if (NULL != my_obj) { 96 pthread_mutex_lock(&my_obj->cb_lock); 98 if(my_obj->evt[evt_type].evt[i].evt_cb) 115 mm_camera_obj_t * my_obj = NULL; local 139 mm_camera_obj_t *my_obj = (mm_camera_obj_t*)user_data; local [all...] |
mm_camera_interface.c | 53 extern int32_t mm_camera_send_native_ctrl_cmd(mm_camera_obj_t * my_obj, 101 mm_camera_obj_t * my_obj = NULL; local 106 my_obj = mm_camera_util_get_camera_by_handler(camera_handler); 108 if(my_obj) { 109 pthread_mutex_lock(&my_obj->cam_lock); 111 rc = mm_camera_sync(my_obj); 123 mm_camera_obj_t * my_obj = NULL; local 126 my_obj = mm_camera_util_get_camera_by_handler(camera_handler); 128 if(my_obj) { 129 pthread_mutex_lock(&my_obj->cam_lock) 145 mm_camera_obj_t * my_obj = NULL; local 168 mm_camera_obj_t * my_obj = NULL; local 189 mm_camera_obj_t * my_obj = NULL; local 208 mm_camera_obj_t * my_obj = NULL; local 252 mm_camera_obj_t * my_obj = NULL; local 271 mm_camera_obj_t * my_obj = NULL; local 309 mm_camera_obj_t * my_obj = NULL; local 329 mm_camera_obj_t * my_obj = NULL; local 351 mm_camera_obj_t * my_obj = NULL; local 374 mm_camera_obj_t * my_obj = NULL; local 400 mm_camera_obj_t * my_obj = NULL; local 426 mm_camera_obj_t * my_obj = NULL; local 457 mm_camera_obj_t * my_obj = NULL; local 489 mm_camera_obj_t * my_obj = NULL; local 514 mm_camera_obj_t * my_obj = NULL; local 545 mm_camera_obj_t * my_obj = NULL; local 578 mm_camera_obj_t * my_obj = NULL; local 612 mm_camera_obj_t * my_obj = NULL; local 633 mm_camera_obj_t * my_obj = NULL; local 658 mm_camera_obj_t * my_obj = NULL; local 682 mm_camera_obj_t * my_obj = NULL; local 704 mm_camera_obj_t * my_obj = NULL; local 728 mm_camera_obj_t * my_obj = NULL; local 757 mm_camera_obj_t * my_obj = NULL; local 785 mm_camera_obj_t *my_obj = NULL; local 805 mm_camera_obj_t *my_obj = NULL; local 895 mm_camera_obj_t * my_obj = NULL; local 922 mm_camera_obj_t * my_obj = NULL; local 948 mm_camera_obj_t * my_obj = NULL; local 974 mm_camera_obj_t * my_obj = NULL; local 1000 mm_camera_obj_t * my_obj = NULL; local 1026 mm_camera_obj_t * my_obj = NULL; local 1052 mm_camera_obj_t * my_obj = NULL; local 1077 mm_camera_obj_t * my_obj = NULL; local [all...] |
mm_camera_channel.c | 47 extern int32_t mm_camera_send_native_ctrl_cmd(mm_camera_obj_t * my_obj, 51 extern int32_t mm_camera_send_native_ctrl_timeout_cmd(mm_camera_obj_t * my_obj, 58 int32_t mm_channel_qbuf(mm_channel_t *my_obj, 60 int32_t mm_channel_init(mm_channel_t *my_obj); 61 void mm_channel_release(mm_channel_t *my_obj); 62 uint32_t mm_channel_add_stream(mm_channel_t *my_obj, 65 int32_t mm_channel_del_stream(mm_channel_t *my_obj, 67 int32_t mm_channel_config_stream(mm_channel_t *my_obj, 70 int32_t mm_channel_bundle_stream(mm_channel_t *my_obj, 76 int32_t mm_channel_destroy_bundle(mm_channel_t *my_obj); 173 mm_channel_t * my_obj = (mm_channel_t *)user_data; local [all...] |
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
mm_jpeg_inlines.h | 39 * @my_obj: jpeg object 49 static inline mm_jpeg_job_session_t *mm_jpeg_get_session(mm_jpeg_obj *my_obj, uint32_t job_id) 63 pthread_mutex_lock(&my_obj->clnt_mgr[client_idx].lock); 64 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; 65 pthread_mutex_unlock(&my_obj->clnt_mgr[client_idx].lock); 72 * @my_obj: jpeg object 82 static inline int mm_jpeg_get_new_session_idx(mm_jpeg_obj *my_obj, int client_idx, 88 pthread_mutex_lock(&my_obj->clnt_mgr[client_idx].lock); 89 if (!my_obj->clnt_mgr[client_idx].session[i].active) { 90 *pp_session = &my_obj->clnt_mgr[client_idx].session[i] [all...] |
/hardware/qcom/camera/msmcobalt/QCamera2/stack/mm-jpeg-interface/inc/ |
mm_jpeg_inlines.h | 39 * @my_obj: jpeg object 49 static inline mm_jpeg_job_session_t *mm_jpeg_get_session(mm_jpeg_obj *my_obj, uint32_t job_id) 63 pthread_mutex_lock(&my_obj->clnt_mgr[client_idx].lock); 64 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; 65 pthread_mutex_unlock(&my_obj->clnt_mgr[client_idx].lock); 72 * @my_obj: jpeg object 82 static inline int mm_jpeg_get_new_session_idx(mm_jpeg_obj *my_obj, int client_idx, 88 pthread_mutex_lock(&my_obj->clnt_mgr[client_idx].lock); 89 if (!my_obj->clnt_mgr[client_idx].session[i].active) { 90 *pp_session = &my_obj->clnt_mgr[client_idx].session[i] [all...] |
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera.c | 56 int32_t mm_camera_evt_sub(mm_camera_obj_t * my_obj, 58 int32_t mm_camera_enqueue_evt(mm_camera_obj_t *my_obj, 124 mm_camera_obj_t * my_obj = (mm_camera_obj_t *)user_data; local 125 if (NULL != my_obj) { 126 pthread_mutex_lock(&my_obj->cb_lock); 128 if(my_obj->evt.evt[i].evt_cb) { 129 my_obj->evt.evt[i].evt_cb( 130 my_obj->my_hdl, 132 my_obj->evt.evt[i].user_data); 135 pthread_mutex_unlock(&my_obj->cb_lock) 158 mm_camera_obj_t *my_obj = (mm_camera_obj_t*)user_data; local [all...] |
mm_camera_interface.c | 155 mm_camera_obj_t * my_obj = NULL; local 160 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); 162 if(my_obj) { 163 pthread_mutex_lock(&my_obj->cam_lock); 165 rc = mm_camera_query_capability(my_obj); 193 mm_camera_obj_t * my_obj = NULL; local 196 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); 198 if(my_obj) { 199 pthread_mutex_lock(&my_obj->cam_lock); 201 rc = mm_camera_set_parms(my_obj, parms) 230 mm_camera_obj_t * my_obj = NULL; local 262 mm_camera_obj_t * my_obj = NULL; local 292 mm_camera_obj_t * my_obj = NULL; local 324 mm_camera_obj_t * my_obj = NULL; local 355 mm_camera_obj_t * my_obj = NULL; local 406 mm_camera_obj_t * my_obj = NULL; local 459 mm_camera_obj_t * my_obj = NULL; local 495 mm_camera_obj_t * my_obj = NULL; local 533 mm_camera_obj_t * my_obj = NULL; local 569 mm_camera_obj_t * my_obj = NULL; local 605 mm_camera_obj_t * my_obj = NULL; local 638 mm_camera_obj_t * my_obj = NULL; local 675 mm_camera_obj_t * my_obj = NULL; local 712 mm_camera_obj_t * my_obj = NULL; local 751 mm_camera_obj_t * my_obj = NULL; local 791 mm_camera_obj_t * my_obj = NULL; local 829 mm_camera_obj_t * my_obj = NULL; local 862 mm_camera_obj_t * my_obj = NULL; local 901 mm_camera_obj_t * my_obj = NULL; local 936 mm_camera_obj_t * my_obj = NULL; local 972 mm_camera_obj_t * my_obj = NULL; local 1007 mm_camera_obj_t * my_obj = NULL; local 1042 mm_camera_obj_t * my_obj = NULL; local 1079 mm_camera_obj_t * my_obj = NULL; local 1121 mm_camera_obj_t * my_obj = NULL; local 1156 mm_camera_obj_t * my_obj = NULL; local 1195 mm_camera_obj_t * my_obj = NULL; local 1240 mm_camera_obj_t * my_obj = NULL; local 1296 mm_camera_obj_t * my_obj = NULL; local 1350 mm_camera_obj_t * my_obj = NULL; local 1695 mm_camera_obj_t * my_obj = NULL; local [all...] |
mm_camera_stream.c | 49 int32_t mm_stream_qbuf(mm_stream_t *my_obj, 51 int32_t mm_stream_set_ext_mode(mm_stream_t * my_obj); 52 int32_t mm_stream_set_fmt(mm_stream_t * my_obj); 53 int32_t mm_stream_sync_info(mm_stream_t *my_obj); 54 int32_t mm_stream_init_bufs(mm_stream_t * my_obj); 55 int32_t mm_stream_deinit_bufs(mm_stream_t * my_obj); 56 int32_t mm_stream_request_buf(mm_stream_t * my_obj); 57 int32_t mm_stream_unreg_buf(mm_stream_t * my_obj); 58 int32_t mm_stream_release(mm_stream_t *my_obj); 59 int32_t mm_stream_set_parm(mm_stream_t *my_obj, 253 mm_stream_t *my_obj = (mm_stream_t*)user_data; local 327 mm_stream_t * my_obj = (mm_stream_t *)user_data; local 1695 mm_stream_t *my_obj = (mm_stream_t *)userdata; local 1727 mm_stream_t *my_obj = (mm_stream_t *)userdata; local [all...] |
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera.c | 56 int32_t mm_camera_evt_sub(mm_camera_obj_t * my_obj, 58 int32_t mm_camera_enqueue_evt(mm_camera_obj_t *my_obj, 124 mm_camera_obj_t * my_obj = (mm_camera_obj_t *)user_data; local 125 if (NULL != my_obj) { 126 pthread_mutex_lock(&my_obj->cb_lock); 128 if(my_obj->evt.evt[i].evt_cb) { 129 my_obj->evt.evt[i].evt_cb( 130 my_obj->my_hdl, 132 my_obj->evt.evt[i].user_data); 135 pthread_mutex_unlock(&my_obj->cb_lock) 158 mm_camera_obj_t *my_obj = (mm_camera_obj_t*)user_data; local [all...] |
mm_camera_interface.c | 155 mm_camera_obj_t * my_obj = NULL; local 160 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); 162 if(my_obj) { 163 pthread_mutex_lock(&my_obj->cam_lock); 165 rc = mm_camera_query_capability(my_obj); 193 mm_camera_obj_t * my_obj = NULL; local 196 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); 198 if(my_obj) { 199 pthread_mutex_lock(&my_obj->cam_lock); 201 rc = mm_camera_set_parms(my_obj, parms) 230 mm_camera_obj_t * my_obj = NULL; local 262 mm_camera_obj_t * my_obj = NULL; local 292 mm_camera_obj_t * my_obj = NULL; local 324 mm_camera_obj_t * my_obj = NULL; local 355 mm_camera_obj_t * my_obj = NULL; local 406 mm_camera_obj_t * my_obj = NULL; local 459 mm_camera_obj_t * my_obj = NULL; local 495 mm_camera_obj_t * my_obj = NULL; local 533 mm_camera_obj_t * my_obj = NULL; local 569 mm_camera_obj_t * my_obj = NULL; local 605 mm_camera_obj_t * my_obj = NULL; local 638 mm_camera_obj_t * my_obj = NULL; local 675 mm_camera_obj_t * my_obj = NULL; local 712 mm_camera_obj_t * my_obj = NULL; local 751 mm_camera_obj_t * my_obj = NULL; local 791 mm_camera_obj_t * my_obj = NULL; local 829 mm_camera_obj_t * my_obj = NULL; local 862 mm_camera_obj_t * my_obj = NULL; local 901 mm_camera_obj_t * my_obj = NULL; local 936 mm_camera_obj_t * my_obj = NULL; local 972 mm_camera_obj_t * my_obj = NULL; local 1007 mm_camera_obj_t * my_obj = NULL; local 1042 mm_camera_obj_t * my_obj = NULL; local 1079 mm_camera_obj_t * my_obj = NULL; local 1121 mm_camera_obj_t * my_obj = NULL; local 1156 mm_camera_obj_t * my_obj = NULL; local 1195 mm_camera_obj_t * my_obj = NULL; local 1240 mm_camera_obj_t * my_obj = NULL; local 1296 mm_camera_obj_t * my_obj = NULL; local 1350 mm_camera_obj_t * my_obj = NULL; local 1695 mm_camera_obj_t * my_obj = NULL; local [all...] |
mm_camera_stream.c | 49 int32_t mm_stream_qbuf(mm_stream_t *my_obj, 51 int32_t mm_stream_set_ext_mode(mm_stream_t * my_obj); 52 int32_t mm_stream_set_fmt(mm_stream_t * my_obj); 53 int32_t mm_stream_sync_info(mm_stream_t *my_obj); 54 int32_t mm_stream_init_bufs(mm_stream_t * my_obj); 55 int32_t mm_stream_deinit_bufs(mm_stream_t * my_obj); 56 int32_t mm_stream_request_buf(mm_stream_t * my_obj); 57 int32_t mm_stream_unreg_buf(mm_stream_t * my_obj); 58 int32_t mm_stream_release(mm_stream_t *my_obj); 59 int32_t mm_stream_set_parm(mm_stream_t *my_obj, 253 mm_stream_t *my_obj = (mm_stream_t*)user_data; local 327 mm_stream_t * my_obj = (mm_stream_t *)user_data; local 1695 mm_stream_t *my_obj = (mm_stream_t *)userdata; local 1727 mm_stream_t *my_obj = (mm_stream_t *)userdata; local [all...] |
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera.c | 52 int32_t mm_camera_evt_sub(mm_camera_obj_t * my_obj, 54 int32_t mm_camera_enqueue_evt(mm_camera_obj_t *my_obj, 120 mm_camera_obj_t * my_obj = (mm_camera_obj_t *)user_data; local 121 if (NULL != my_obj) { 122 pthread_mutex_lock(&my_obj->cb_lock); 124 if(my_obj->evt.evt[i].evt_cb) { 125 my_obj->evt.evt[i].evt_cb( 126 my_obj->my_hdl, 128 my_obj->evt.evt[i].user_data); 131 pthread_mutex_unlock(&my_obj->cb_lock) 154 mm_camera_obj_t *my_obj = (mm_camera_obj_t*)user_data; local [all...] |
mm_camera_interface.c | 155 mm_camera_obj_t * my_obj = NULL; local 160 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); 162 if(my_obj) { 163 pthread_mutex_lock(&my_obj->cam_lock); 165 rc = mm_camera_query_capability(my_obj); 193 mm_camera_obj_t * my_obj = NULL; local 196 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); 198 if(my_obj) { 199 pthread_mutex_lock(&my_obj->cam_lock); 201 rc = mm_camera_set_parms(my_obj, parms) 230 mm_camera_obj_t * my_obj = NULL; local 262 mm_camera_obj_t * my_obj = NULL; local 292 mm_camera_obj_t * my_obj = NULL; local 324 mm_camera_obj_t * my_obj = NULL; local 355 mm_camera_obj_t * my_obj = NULL; local 405 mm_camera_obj_t * my_obj = NULL; local 458 mm_camera_obj_t * my_obj = NULL; local 494 mm_camera_obj_t * my_obj = NULL; local 532 mm_camera_obj_t * my_obj = NULL; local 568 mm_camera_obj_t * my_obj = NULL; local 604 mm_camera_obj_t * my_obj = NULL; local 637 mm_camera_obj_t * my_obj = NULL; local 676 mm_camera_obj_t * my_obj = NULL; local 716 mm_camera_obj_t * my_obj = NULL; local 754 mm_camera_obj_t * my_obj = NULL; local 787 mm_camera_obj_t * my_obj = NULL; local 826 mm_camera_obj_t * my_obj = NULL; local 861 mm_camera_obj_t * my_obj = NULL; local 897 mm_camera_obj_t * my_obj = NULL; local 932 mm_camera_obj_t * my_obj = NULL; local 967 mm_camera_obj_t * my_obj = NULL; local 1004 mm_camera_obj_t * my_obj = NULL; local 1046 mm_camera_obj_t * my_obj = NULL; local 1081 mm_camera_obj_t * my_obj = NULL; local 1120 mm_camera_obj_t * my_obj = NULL; local 1165 mm_camera_obj_t * my_obj = NULL; local 1221 mm_camera_obj_t * my_obj = NULL; local 1275 mm_camera_obj_t * my_obj = NULL; local 1564 mm_camera_obj_t * my_obj = NULL; local [all...] |
/hardware/qcom/camera/msmcobalt/QCamera2/stack/mm-camera-interface/src/ |
mm_camera_muxer.c | 250 mm_camera_obj_t *my_obj = NULL; local 253 my_obj = (mm_camera_obj_t *)malloc(sizeof(mm_camera_obj_t)); 254 if(NULL == my_obj) { 261 memset(my_obj, 0, sizeof(mm_camera_obj_t)); 262 my_obj->ctrl_fd = -1; 263 my_obj->ds_fd = -1; 264 my_obj->ref_count++; 265 my_obj->my_num = my_num; 266 my_obj->my_hdl = mm_camera_util_generate_handler_by_num(my_num, cam_idx); 267 pthread_mutex_init(&my_obj->cam_lock, NULL) 312 mm_camera_obj_t *my_obj = NULL; local 346 mm_camera_obj_t *my_obj = NULL; local 376 mm_camera_obj_t *my_obj = NULL; local 425 mm_camera_obj_t * my_obj = NULL; local 460 mm_camera_obj_t * my_obj = NULL; local 494 mm_camera_obj_t * my_obj = NULL; local 525 mm_camera_obj_t *my_obj = NULL; local 556 mm_camera_obj_t *my_obj = NULL; local 586 mm_camera_obj_t *my_obj = NULL; local 616 mm_camera_obj_t *my_obj = NULL; local 647 mm_camera_obj_t *my_obj = NULL; local 678 mm_camera_obj_t *my_obj = NULL; local 710 mm_camera_obj_t *my_obj = NULL; local 745 mm_camera_obj_t *my_obj = NULL; local 791 mm_camera_obj_t *my_obj = NULL; local 823 mm_camera_obj_t *my_obj = NULL; local 856 mm_camera_obj_t *my_obj = NULL; local 903 mm_camera_obj_t *my_obj = NULL; local 937 mm_camera_obj_t *my_obj = NULL; local 970 mm_camera_obj_t * my_obj = NULL; local 1023 mm_camera_obj_t * my_obj = NULL; local 1062 mm_camera_obj_t *my_obj = NULL; local 1108 mm_camera_obj_t * my_obj = NULL; local 1145 mm_camera_obj_t * my_obj = NULL; local 1178 mm_camera_obj_t * my_obj = NULL; local 1208 mm_camera_obj_t * my_obj = NULL; local 1238 mm_camera_obj_t * my_obj = NULL; local 1269 mm_camera_obj_t * my_obj = NULL; local 1300 mm_camera_obj_t * my_obj = NULL; local 1331 mm_camera_obj_t * my_obj = cam_obj; local 1368 mm_camera_obj_t * my_obj = NULL; local 1415 mm_camera_obj_t * my_obj = NULL; local 1447 mm_camera_obj_t * my_obj = NULL; local 1481 mm_camera_obj_t * my_obj = NULL; local 1512 mm_camera_obj_t * my_obj = NULL; local 1542 mm_camera_obj_t * my_obj = NULL; local 1577 mm_camera_obj_t * my_obj = NULL; local 1740 mm_camera_obj_t * my_obj = NULL; local 1771 mm_stream_t *my_obj = (mm_stream_t *)user_data; local 2087 mm_camera_obj_t *my_obj = NULL; local 2158 mm_stream_t *my_obj = str_obj; local 2236 mm_stream_t *my_obj = str_obj; local 2361 mm_stream_t *my_obj = (mm_stream_t *)userdata; local 2416 mm_stream_t *my_obj = (mm_stream_t *)userdata; local 2499 mm_stream_t *my_obj = (mm_stream_t *)userdata; local [all...] |
mm_camera.c | 58 int32_t mm_camera_evt_sub(mm_camera_obj_t * my_obj, 60 int32_t mm_camera_enqueue_evt(mm_camera_obj_t *my_obj, 127 mm_camera_obj_t * my_obj = (mm_camera_obj_t *)user_data; local 128 if (NULL != my_obj) { 129 mm_camera_cmd_thread_name(my_obj->evt_thread.threadName); 130 pthread_mutex_lock(&my_obj->cb_lock); 132 if(my_obj->evt.evt[i].evt_cb) { 133 my_obj->evt.evt[i].evt_cb( 134 my_obj->my_hdl, 136 my_obj->evt.evt[i].user_data) 162 mm_camera_obj_t *my_obj = (mm_camera_obj_t*)user_data; local [all...] |
mm_camera_interface.c | 247 mm_camera_obj_t *my_obj = NULL; local 258 my_obj = mm_camera_util_get_camera_by_handler(handle); 260 if(my_obj) { 261 pthread_mutex_lock(&my_obj->cam_lock); 263 rc = mm_camera_query_capability(my_obj); 273 my_obj = mm_camera_util_get_camera_head(aux_handle); 274 if (my_obj) { 275 pthread_mutex_lock(&my_obj->muxer_lock); 277 rc = mm_camera_muxer_query_capability(aux_handle, my_obj); 307 mm_camera_obj_t * my_obj = NULL local 362 mm_camera_obj_t * my_obj = NULL; local 412 mm_camera_obj_t * my_obj = NULL; local 459 mm_camera_obj_t * my_obj = NULL; local 507 mm_camera_obj_t * my_obj = NULL; local 557 mm_camera_obj_t * my_obj = NULL; local 605 mm_camera_obj_t *my_obj = NULL; local 695 mm_camera_obj_t * my_obj = NULL; local 753 mm_camera_obj_t * my_obj = NULL; local 810 mm_camera_obj_t * my_obj = NULL; local 868 mm_camera_obj_t *my_obj = NULL; local 920 mm_camera_obj_t *my_obj = NULL; local 977 mm_camera_obj_t * my_obj = NULL; local 1032 mm_camera_obj_t * my_obj = NULL; local 1093 mm_camera_obj_t *my_obj = NULL; local 1156 mm_camera_obj_t * my_obj = NULL; local 1217 mm_camera_obj_t * my_obj = NULL; local 1275 mm_camera_obj_t * my_obj = NULL; local 1327 mm_camera_obj_t * my_obj = NULL; local 1384 mm_camera_obj_t * my_obj = NULL; local 1448 mm_camera_obj_t * my_obj = NULL; local 1509 mm_camera_obj_t * my_obj = NULL; local 1563 mm_camera_obj_t *my_obj = NULL; local 1617 mm_camera_obj_t * my_obj = NULL; local 1673 mm_camera_obj_t * my_obj = NULL; local 1733 mm_camera_obj_t *my_obj = NULL; local 1783 mm_camera_obj_t * my_obj = NULL; local 1831 mm_camera_obj_t * my_obj = NULL; local 1886 mm_camera_obj_t * my_obj = NULL; local 1952 mm_camera_obj_t * my_obj = NULL; local 2024 mm_camera_obj_t * my_obj = NULL; local 2088 mm_camera_obj_t * my_obj = NULL; local 2175 mm_camera_obj_t * my_obj = NULL; local 2236 mm_camera_obj_t * my_obj = NULL; local 2285 mm_camera_obj_t * my_obj = NULL; local 2765 mm_camera_obj_t * my_obj = NULL; local 2826 mm_camera_obj_t * my_obj = NULL; local 2888 mm_camera_obj_t * my_obj = NULL; local 2924 mm_camera_obj_t * my_obj = NULL; local 2964 mm_camera_obj_t * my_obj = NULL; local 3004 mm_camera_obj_t * my_obj = NULL; local 3355 mm_camera_obj_t *my_obj = local [all...] |
mm_camera_stream.c | 49 int32_t mm_stream_qbuf(mm_stream_t *my_obj, 51 int32_t mm_stream_set_ext_mode(mm_stream_t * my_obj); 52 int32_t mm_stream_set_fmt(mm_stream_t * my_obj); 53 int32_t mm_stream_sync_info(mm_stream_t *my_obj); 54 int32_t mm_stream_init_bufs(mm_stream_t * my_obj); 55 int32_t mm_stream_deinit_bufs(mm_stream_t * my_obj); 56 int32_t mm_stream_request_buf(mm_stream_t * my_obj); 57 int32_t mm_stream_unreg_buf(mm_stream_t * my_obj); 58 int32_t mm_stream_release(mm_stream_t *my_obj); 59 int32_t mm_stream_set_parm(mm_stream_t *my_obj, 306 mm_stream_t *my_obj = (mm_stream_t*)user_data; local 385 mm_stream_t * my_obj = (mm_stream_t *)user_data; local 1115 mm_stream_t *my_obj = str_obj; local [all...] |
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
mm_jpeg_inlines.h | 38 * @my_obj: jpeg object 48 static inline mm_jpeg_job_session_t *mm_jpeg_get_session(mm_jpeg_obj *my_obj, uint32_t job_id) 62 pthread_mutex_lock(&my_obj->clnt_mgr[client_idx].lock); 63 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; 64 pthread_mutex_unlock(&my_obj->clnt_mgr[client_idx].lock); 71 * @my_obj: jpeg object 81 static inline int mm_jpeg_get_new_session_idx(mm_jpeg_obj *my_obj, int client_idx, 87 pthread_mutex_lock(&my_obj->clnt_mgr[client_idx].lock); 88 if (!my_obj->clnt_mgr[client_idx].session[i].active) { 89 *pp_session = &my_obj->clnt_mgr[client_idx].session[i] [all...] |
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
mm_jpeg_inlines.h | 38 * @my_obj: jpeg object 48 static inline mm_jpeg_job_session_t *mm_jpeg_get_session(mm_jpeg_obj *my_obj, uint32_t job_id) 62 pthread_mutex_lock(&my_obj->clnt_mgr[client_idx].lock); 63 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; 64 pthread_mutex_unlock(&my_obj->clnt_mgr[client_idx].lock); 71 * @my_obj: jpeg object 81 static inline int mm_jpeg_get_new_session_idx(mm_jpeg_obj *my_obj, int client_idx, 87 pthread_mutex_lock(&my_obj->clnt_mgr[client_idx].lock); 88 if (!my_obj->clnt_mgr[client_idx].session[i].active) { 89 *pp_session = &my_obj->clnt_mgr[client_idx].session[i] [all...] |
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
mm_jpeg_inlines.h | 38 * @my_obj: jpeg object 48 static inline mm_jpeg_job_session_t *mm_jpeg_get_session(mm_jpeg_obj *my_obj, uint32_t job_id) 62 pthread_mutex_lock(&my_obj->clnt_mgr[client_idx].lock); 63 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; 64 pthread_mutex_unlock(&my_obj->clnt_mgr[client_idx].lock); 71 * @my_obj: jpeg object 81 static inline int mm_jpeg_get_new_session_idx(mm_jpeg_obj *my_obj, int client_idx, 87 pthread_mutex_lock(&my_obj->clnt_mgr[client_idx].lock); 88 if (!my_obj->clnt_mgr[client_idx].session[i].active) { 89 *pp_session = &my_obj->clnt_mgr[client_idx].session[i] [all...] |
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera_interface.c | 184 mm_camera_obj_t * my_obj = NULL; local 189 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); 191 if(my_obj) { 192 pthread_mutex_lock(&my_obj->cam_lock); 194 rc = mm_camera_query_capability(my_obj); 222 mm_camera_obj_t * my_obj = NULL; local 225 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); 227 if(my_obj) { 228 pthread_mutex_lock(&my_obj->cam_lock); 230 rc = mm_camera_set_parms(my_obj, parms) 259 mm_camera_obj_t * my_obj = NULL; local 291 mm_camera_obj_t * my_obj = NULL; local 321 mm_camera_obj_t * my_obj = NULL; local 353 mm_camera_obj_t * my_obj = NULL; local 383 mm_camera_obj_t * my_obj = NULL; local 414 mm_camera_obj_t * my_obj = NULL; local 472 mm_camera_obj_t * my_obj = NULL; local 508 mm_camera_obj_t * my_obj = NULL; local 546 mm_camera_obj_t * my_obj = NULL; local 582 mm_camera_obj_t * my_obj = NULL; local 618 mm_camera_obj_t * my_obj = NULL; local 652 mm_camera_obj_t * my_obj = NULL; local 686 mm_camera_obj_t * my_obj = NULL; local 723 mm_camera_obj_t * my_obj = NULL; local 760 mm_camera_obj_t * my_obj = NULL; local 799 mm_camera_obj_t * my_obj = NULL; local 839 mm_camera_obj_t * my_obj = NULL; local 877 mm_camera_obj_t * my_obj = NULL; local 910 mm_camera_obj_t * my_obj = NULL; local 947 mm_camera_obj_t * my_obj = NULL; local 981 mm_camera_obj_t * my_obj = NULL; local 1017 mm_camera_obj_t * my_obj = NULL; local 1052 mm_camera_obj_t * my_obj = NULL; local 1087 mm_camera_obj_t * my_obj = NULL; local 1124 mm_camera_obj_t * my_obj = NULL; local 1164 mm_camera_obj_t * my_obj = NULL; local 1199 mm_camera_obj_t * my_obj = NULL; local 1234 mm_camera_obj_t * my_obj = NULL; local 1273 mm_camera_obj_t * my_obj = NULL; local 1318 mm_camera_obj_t * my_obj = NULL; local 1370 mm_camera_obj_t * my_obj = NULL; local 1411 mm_camera_obj_t * my_obj = NULL; local 1463 mm_camera_obj_t * my_obj = NULL; local 1502 mm_camera_obj_t * my_obj = NULL; local 1537 mm_camera_obj_t * my_obj = NULL; local 1955 mm_camera_obj_t * my_obj = NULL; local 1996 mm_camera_obj_t * my_obj = NULL; local 2272 mm_camera_obj_t *my_obj = local [all...] |
mm_camera.c | 56 int32_t mm_camera_evt_sub(mm_camera_obj_t * my_obj, 58 int32_t mm_camera_enqueue_evt(mm_camera_obj_t *my_obj, 125 mm_camera_obj_t * my_obj = (mm_camera_obj_t *)user_data; local 126 if (NULL != my_obj) { 127 mm_camera_cmd_thread_name(my_obj->evt_thread.threadName); 128 pthread_mutex_lock(&my_obj->cb_lock); 130 if(my_obj->evt.evt[i].evt_cb) { 131 my_obj->evt.evt[i].evt_cb( 132 my_obj->my_hdl, 134 my_obj->evt.evt[i].user_data) 160 mm_camera_obj_t *my_obj = (mm_camera_obj_t*)user_data; local [all...] |
mm_camera_stream.c | 48 int32_t mm_stream_qbuf(mm_stream_t *my_obj, 50 int32_t mm_stream_set_ext_mode(mm_stream_t * my_obj); 51 int32_t mm_stream_set_fmt(mm_stream_t * my_obj); 52 int32_t mm_stream_cancel_buf(mm_stream_t * my_obj, 54 int32_t mm_stream_sync_info(mm_stream_t *my_obj); 55 int32_t mm_stream_init_bufs(mm_stream_t * my_obj); 56 int32_t mm_stream_deinit_bufs(mm_stream_t * my_obj); 57 int32_t mm_stream_request_buf(mm_stream_t * my_obj); 58 int32_t mm_stream_unreg_buf(mm_stream_t * my_obj); 59 int32_t mm_stream_release(mm_stream_t *my_obj); 302 mm_stream_t *my_obj = (mm_stream_t*)user_data; local 381 mm_stream_t * my_obj = (mm_stream_t *)user_data; local 968 mm_stream_t *my_obj = (mm_stream_t *)userdata; local 993 mm_stream_t *my_obj = (mm_stream_t *)userdata; local 1024 mm_stream_t *my_obj = (mm_stream_t *)userdata; local [all...] |
/device/moto/shamu/camera/QCamera/stack/mm-jpeg-interface/src/ |
mm_jpeg.c | 51 void mm_jpeg_job_wait_for_event(mm_jpeg_obj *my_obj, uint32_t evt_mask); 52 void mm_jpeg_job_wait_for_cmd_complete(mm_jpeg_obj *my_obj, 75 int32_t mm_jpeg_omx_load(mm_jpeg_obj* my_obj) 79 my_obj->omx_callbacks.EmptyBufferDone = mm_jpeg_etbdone; 80 my_obj->omx_callbacks.FillBufferDone = mm_jpeg_ftbdone; 81 my_obj->omx_callbacks.EventHandler = mm_jpeg_handle_omx_event; 82 rc = OMX_GetHandle(&my_obj->omx_handle, 84 (void*)my_obj, 85 &my_obj->omx_callbacks); 100 int32_t mm_jpeg_omx_unload(mm_jpeg_obj *my_obj) 682 mm_jpeg_obj* my_obj = (mm_jpeg_obj *)job_entry->jpeg_obj; local 781 mm_jpeg_obj *my_obj = (mm_jpeg_obj*)data; local 1160 mm_jpeg_obj * my_obj = (mm_jpeg_obj*)pAppData; local 1223 mm_jpeg_obj * my_obj = (mm_jpeg_obj*)pAppData; local [all...] |