/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/ |
D | 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); [all …]
|
D | 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; in mm_camera_dispatch_app_event() local 94 if (NULL != my_obj) { in mm_camera_dispatch_app_event() 96 pthread_mutex_lock(&my_obj->cb_lock); in mm_camera_dispatch_app_event() 98 if(my_obj->evt[evt_type].evt[i].evt_cb) { in mm_camera_dispatch_app_event() [all …]
|
D | 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; in mm_camera_intf_sync() local 106 my_obj = mm_camera_util_get_camera_by_handler(camera_handler); in mm_camera_intf_sync() 108 if(my_obj) { in mm_camera_intf_sync() 109 pthread_mutex_lock(&my_obj->cam_lock); in mm_camera_intf_sync() 111 rc = mm_camera_sync(my_obj); in mm_camera_intf_sync() 123 mm_camera_obj_t * my_obj = NULL; in mm_camera_intf_is_op_supported() local 126 my_obj = mm_camera_util_get_camera_by_handler(camera_handler); in mm_camera_intf_is_op_supported() 128 if(my_obj) { in mm_camera_intf_is_op_supported() 129 pthread_mutex_lock(&my_obj->cam_lock); in mm_camera_intf_is_op_supported() [all …]
|
D | 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); [all …]
|
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/ |
D | 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); [all …]
|
D | 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; in mm_camera_dispatch_app_event() local 94 if (NULL != my_obj) { in mm_camera_dispatch_app_event() 96 pthread_mutex_lock(&my_obj->cb_lock); in mm_camera_dispatch_app_event() 98 if(my_obj->evt[evt_type].evt[i].evt_cb) { in mm_camera_dispatch_app_event() [all …]
|
D | mm_camera_interface.c | 94 mm_camera_obj_t * my_obj = NULL; in mm_camera_intf_sync() local 99 my_obj = mm_camera_util_get_camera_by_handler(camera_handler); in mm_camera_intf_sync() 101 if(my_obj) { in mm_camera_intf_sync() 102 pthread_mutex_lock(&my_obj->cam_lock); in mm_camera_intf_sync() 104 rc = mm_camera_sync(my_obj); in mm_camera_intf_sync() 119 mm_camera_obj_t * my_obj = NULL; in mm_camera_intf_is_parm_supported() local 122 my_obj = mm_camera_util_get_camera_by_handler(camera_handler); in mm_camera_intf_is_parm_supported() 126 if(my_obj) { in mm_camera_intf_is_parm_supported() 127 pthread_mutex_lock(&my_obj->cam_lock); in mm_camera_intf_is_parm_supported() 129 rc = mm_camera_is_parm_supported(my_obj, parm_type, support_set_parm, support_get_parm); in mm_camera_intf_is_parm_supported() [all …]
|
D | mm_camera_channel.c | 48 extern int32_t mm_camera_send_native_ctrl_cmd(mm_camera_obj_t * my_obj, 52 extern int32_t mm_camera_send_native_ctrl_timeout_cmd(mm_camera_obj_t * my_obj, 59 int32_t mm_channel_qbuf(mm_channel_t *my_obj, 61 int32_t mm_channel_init(mm_channel_t *my_obj); 62 void mm_channel_release(mm_channel_t *my_obj); 63 uint32_t mm_channel_add_stream(mm_channel_t *my_obj, 66 int32_t mm_channel_del_stream(mm_channel_t *my_obj, 68 int32_t mm_channel_config_stream(mm_channel_t *my_obj, 71 int32_t mm_channel_bundle_stream(mm_channel_t *my_obj, 77 int32_t mm_channel_destroy_bundle(mm_channel_t *my_obj); [all …]
|
/device/lge/mako/camera/mm-camera-interface/ |
D | mm_camera.c | 42 static int32_t mm_camera_send_native_ctrl_cmd(mm_camera_obj_t * my_obj, 44 static int32_t mm_camera_send_native_ctrl_timeout_cmd(mm_camera_obj_t * my_obj, 46 static int32_t mm_camera_ctrl_set_specialEffect (mm_camera_obj_t *my_obj, int effect) { in mm_camera_ctrl_set_specialEffect() argument 54 rc = ioctl(my_obj->ctrl_fd, VIDIOC_S_CTRL, &ctrl); in mm_camera_ctrl_set_specialEffect() 58 static int32_t mm_camera_ctrl_set_antibanding (mm_camera_obj_t *my_obj, int antibanding) { in mm_camera_ctrl_set_antibanding() argument 64 rc = ioctl(my_obj->ctrl_fd, VIDIOC_S_CTRL, &ctrl); in mm_camera_ctrl_set_antibanding() 68 static int32_t mm_camera_ctrl_set_auto_focus (mm_camera_obj_t *my_obj, int value) in mm_camera_ctrl_set_auto_focus() argument 80 if (-1 == ioctl (my_obj->ctrl_fd, VIDIOC_QUERYCTRL, &queryctrl)) { in mm_camera_ctrl_set_auto_focus() 85 if(0 != (rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd, in mm_camera_ctrl_set_auto_focus() 95 static int32_t mm_camera_ctrl_set_whitebalance (mm_camera_obj_t *my_obj, int mode) { in mm_camera_ctrl_set_whitebalance() argument [all …]
|
D | mm_camera_channel.c | 47 static int mm_camera_channel_skip_frames(mm_camera_obj_t *my_obj, 53 static int mm_camera_channel_get_starting_frame(mm_camera_obj_t *my_obj, 61 static int mm_camera_ch_search_frame_based_on_time(mm_camera_obj_t *my_obj, 72 int mm_camera_ch_util_get_num_stream(mm_camera_obj_t * my_obj,mm_camera_channel_type_t ch_type) in mm_camera_ch_util_get_num_stream() argument 84 if(my_obj->ch[ch_type].video.has_main) { in mm_camera_ch_util_get_num_stream() 97 void mm_camera_ch_util_get_stream_objs(mm_camera_obj_t * my_obj, in mm_camera_ch_util_get_stream_objs() argument 107 *stream1 = &my_obj->ch[ch_type].raw.stream; in mm_camera_ch_util_get_stream_objs() 110 *stream1 = &my_obj->ch[ch_type].preview.stream; in mm_camera_ch_util_get_stream_objs() 113 *stream1 = &my_obj->ch[ch_type].video.video; in mm_camera_ch_util_get_stream_objs() 114 if(my_obj->ch[ch_type].video.has_main) { in mm_camera_ch_util_get_stream_objs() [all …]
|
D | mm_camera_notify.c | 49 static void mm_camera_read_raw_frame(mm_camera_obj_t * my_obj) in mm_camera_read_raw_frame() argument 59 stream = &my_obj->ch[MM_CAMERA_CH_RAW].raw.stream; in mm_camera_read_raw_frame() 60 idx = mm_camera_read_msm_frame(my_obj, stream); in mm_camera_read_raw_frame() 64 pthread_mutex_lock(&my_obj->ch[MM_CAMERA_CH_RAW].mutex); in mm_camera_read_raw_frame() 66 if((my_obj->ch[MM_CAMERA_CH_RAW].buf_cb[i].cb) && in mm_camera_read_raw_frame() 67 (my_obj->poll_threads[MM_CAMERA_CH_RAW].data.used == 1)){ in mm_camera_read_raw_frame() 70 data[cnt].def.frame = &my_obj->ch[MM_CAMERA_CH_RAW].raw.stream.frame.frame[idx].frame; in mm_camera_read_raw_frame() 71 my_obj->ch[MM_CAMERA_CH_RAW].raw.stream.frame.ref_count[idx]++; in mm_camera_read_raw_frame() 73 (uint32_t)my_obj->ch[MM_CAMERA_CH_RAW].buf_cb[i].cb, in mm_camera_read_raw_frame() 74 (uint32_t)my_obj->ch[MM_CAMERA_CH_RAW].buf_cb[i].user_data); in mm_camera_read_raw_frame() [all …]
|
D | mm_camera_interface2.c | 54 static int mm_camera_util_opcode_2_ch_type(mm_camera_obj_t *my_obj, in mm_camera_util_opcode_2_ch_type() argument 73 const char *mm_camera_util_get_dev_name(mm_camera_obj_t * my_obj) in mm_camera_util_get_dev_name() argument 76 __func__,g_cam_ctrl.camera[my_obj->my_id].video_dev_name,my_obj->my_id); in mm_camera_util_get_dev_name() 77 return g_cam_ctrl.camera[my_obj->my_id].video_dev_name; in mm_camera_util_get_dev_name() 92 mm_camera_obj_t * my_obj = NULL; in mm_camera_cfg_is_parm_supported() local 95 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id]; in mm_camera_cfg_is_parm_supported() 97 if(my_obj) { in mm_camera_cfg_is_parm_supported() 98 pthread_mutex_lock(&my_obj->mutex); in mm_camera_cfg_is_parm_supported() 100 my_obj->properties.parm); in mm_camera_cfg_is_parm_supported() 101 pthread_mutex_unlock(&my_obj->mutex); in mm_camera_cfg_is_parm_supported() [all …]
|
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/ |
D | 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, 124 mm_camera_obj_t * my_obj = (mm_camera_obj_t *)user_data; in mm_camera_dispatch_app_event() local 125 if (NULL != my_obj) { in mm_camera_dispatch_app_event() 126 pthread_mutex_lock(&my_obj->cb_lock); in mm_camera_dispatch_app_event() 128 if(my_obj->evt.evt[i].evt_cb) { in mm_camera_dispatch_app_event() 129 my_obj->evt.evt[i].evt_cb( in mm_camera_dispatch_app_event() 130 my_obj->my_hdl, in mm_camera_dispatch_app_event() 132 my_obj->evt.evt[i].user_data); in mm_camera_dispatch_app_event() 135 pthread_mutex_unlock(&my_obj->cb_lock); in mm_camera_dispatch_app_event() [all …]
|
D | 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_sync_info(mm_stream_t *my_obj); 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); 58 int32_t mm_stream_set_parm(mm_stream_t *my_obj, [all …]
|
D | mm_camera_interface.c | 150 mm_camera_obj_t * my_obj = NULL; in mm_camera_intf_query_capability() local 155 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); in mm_camera_intf_query_capability() 157 if(my_obj) { in mm_camera_intf_query_capability() 158 pthread_mutex_lock(&my_obj->cam_lock); in mm_camera_intf_query_capability() 160 rc = mm_camera_query_capability(my_obj); in mm_camera_intf_query_capability() 188 mm_camera_obj_t * my_obj = NULL; in mm_camera_intf_set_parms() local 191 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); in mm_camera_intf_set_parms() 193 if(my_obj) { in mm_camera_intf_set_parms() 194 pthread_mutex_lock(&my_obj->cam_lock); in mm_camera_intf_set_parms() 196 rc = mm_camera_set_parms(my_obj, parms); in mm_camera_intf_set_parms() [all …]
|
D | mm_camera_channel.c | 48 int32_t mm_channel_qbuf(mm_channel_t *my_obj, 50 int32_t mm_channel_init(mm_channel_t *my_obj, 54 void mm_channel_release(mm_channel_t *my_obj); 55 uint32_t mm_channel_add_stream(mm_channel_t *my_obj); 56 int32_t mm_channel_del_stream(mm_channel_t *my_obj, 58 int32_t mm_channel_config_stream(mm_channel_t *my_obj, 61 int32_t mm_channel_get_bundle_info(mm_channel_t *my_obj, 63 int32_t mm_channel_start(mm_channel_t *my_obj); 64 int32_t mm_channel_stop(mm_channel_t *my_obj); 65 int32_t mm_channel_request_super_buf(mm_channel_t *my_obj, [all …]
|
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/ |
D | 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, 125 mm_camera_obj_t * my_obj = (mm_camera_obj_t *)user_data; in mm_camera_dispatch_app_event() local 126 if (NULL != my_obj) { in mm_camera_dispatch_app_event() 127 pthread_mutex_lock(&my_obj->cb_lock); in mm_camera_dispatch_app_event() 129 if(my_obj->evt.evt[i].evt_cb) { in mm_camera_dispatch_app_event() 130 my_obj->evt.evt[i].evt_cb( in mm_camera_dispatch_app_event() 131 my_obj->my_hdl, in mm_camera_dispatch_app_event() 133 my_obj->evt.evt[i].user_data); in mm_camera_dispatch_app_event() 136 pthread_mutex_unlock(&my_obj->cb_lock); in mm_camera_dispatch_app_event() [all …]
|
D | 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_sync_info(mm_stream_t *my_obj); 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); 58 int32_t mm_stream_set_parm(mm_stream_t *my_obj, [all …]
|
D | mm_camera_interface.c | 150 mm_camera_obj_t * my_obj = NULL; in mm_camera_intf_query_capability() local 155 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); in mm_camera_intf_query_capability() 157 if(my_obj) { in mm_camera_intf_query_capability() 158 pthread_mutex_lock(&my_obj->cam_lock); in mm_camera_intf_query_capability() 160 rc = mm_camera_query_capability(my_obj); in mm_camera_intf_query_capability() 188 mm_camera_obj_t * my_obj = NULL; in mm_camera_intf_set_parms() local 191 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); in mm_camera_intf_set_parms() 193 if(my_obj) { in mm_camera_intf_set_parms() 194 pthread_mutex_lock(&my_obj->cam_lock); in mm_camera_intf_set_parms() 196 rc = mm_camera_set_parms(my_obj, parms); in mm_camera_intf_set_parms() [all …]
|
D | mm_camera_channel.c | 48 int32_t mm_channel_qbuf(mm_channel_t *my_obj, 50 int32_t mm_channel_init(mm_channel_t *my_obj, 54 void mm_channel_release(mm_channel_t *my_obj); 55 uint32_t mm_channel_add_stream(mm_channel_t *my_obj); 56 int32_t mm_channel_del_stream(mm_channel_t *my_obj, 58 int32_t mm_channel_config_stream(mm_channel_t *my_obj, 61 int32_t mm_channel_get_bundle_info(mm_channel_t *my_obj, 63 int32_t mm_channel_start(mm_channel_t *my_obj); 64 int32_t mm_channel_stop(mm_channel_t *my_obj); 65 int32_t mm_channel_request_super_buf(mm_channel_t *my_obj, [all …]
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/ |
D | 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; in mm_camera_dispatch_app_event() local 121 if (NULL != my_obj) { in mm_camera_dispatch_app_event() 122 pthread_mutex_lock(&my_obj->cb_lock); in mm_camera_dispatch_app_event() 124 if(my_obj->evt.evt[i].evt_cb) { in mm_camera_dispatch_app_event() 125 my_obj->evt.evt[i].evt_cb( in mm_camera_dispatch_app_event() 126 my_obj->my_hdl, in mm_camera_dispatch_app_event() 128 my_obj->evt.evt[i].user_data); in mm_camera_dispatch_app_event() 131 pthread_mutex_unlock(&my_obj->cb_lock); in mm_camera_dispatch_app_event() [all …]
|
D | mm_camera_interface.c | 155 mm_camera_obj_t * my_obj = NULL; in mm_camera_intf_query_capability() local 160 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); in mm_camera_intf_query_capability() 162 if(my_obj) { in mm_camera_intf_query_capability() 163 pthread_mutex_lock(&my_obj->cam_lock); in mm_camera_intf_query_capability() 165 rc = mm_camera_query_capability(my_obj); in mm_camera_intf_query_capability() 193 mm_camera_obj_t * my_obj = NULL; in mm_camera_intf_set_parms() local 196 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); in mm_camera_intf_set_parms() 198 if(my_obj) { in mm_camera_intf_set_parms() 199 pthread_mutex_lock(&my_obj->cam_lock); in mm_camera_intf_set_parms() 201 rc = mm_camera_set_parms(my_obj, parms); in mm_camera_intf_set_parms() [all …]
|
D | 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_sync_info(mm_stream_t *my_obj); 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); 58 int32_t mm_stream_set_parm(mm_stream_t *my_obj, [all …]
|
/device/lge/mako/camera/QCamera/stack/mm-jpeg-interface/src/ |
D | 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, 72 int32_t mm_jpeg_omx_load(mm_jpeg_obj* my_obj) in mm_jpeg_omx_load() argument 80 rc = OMX_GetHandle(&my_obj->omx_handle, in mm_jpeg_omx_load() 82 (void*)my_obj, in mm_jpeg_omx_load() 93 OMX_FreeHandle(my_obj->omx_handle); in mm_jpeg_omx_load() 99 int32_t mm_jpeg_omx_unload(mm_jpeg_obj *my_obj) in mm_jpeg_omx_unload() argument 103 OMX_FreeHandle(my_obj->omx_handle); in mm_jpeg_omx_unload() 108 int32_t mm_jpeg_omx_abort_job(mm_jpeg_obj *my_obj, mm_jpeg_job_entry* job_entry) in mm_jpeg_omx_abort_job() argument 113 OMX_SendCommand(my_obj->omx_handle, OMX_CommandFlush, 0, NULL); in mm_jpeg_omx_abort_job() [all …]
|
/device/moto/shamu/camera/QCamera/stack/mm-jpeg-interface/src/ |
D | 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) in mm_jpeg_omx_load() argument 79 my_obj->omx_callbacks.EmptyBufferDone = mm_jpeg_etbdone; in mm_jpeg_omx_load() 80 my_obj->omx_callbacks.FillBufferDone = mm_jpeg_ftbdone; in mm_jpeg_omx_load() 81 my_obj->omx_callbacks.EventHandler = mm_jpeg_handle_omx_event; in mm_jpeg_omx_load() 82 rc = OMX_GetHandle(&my_obj->omx_handle, in mm_jpeg_omx_load() 84 (void*)my_obj, in mm_jpeg_omx_load() 85 &my_obj->omx_callbacks); in mm_jpeg_omx_load() 100 int32_t mm_jpeg_omx_unload(mm_jpeg_obj *my_obj) in mm_jpeg_omx_unload() argument [all …]
|