Home
last modified time | relevance | path

Searched refs:cmd_cb (Results 1 – 16 of 16) sorted by relevance

/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_channel.c159 static void mm_channel_dispatch_super_buf(mm_camera_cmdcb_t *cmd_cb, in mm_channel_dispatch_super_buf() argument
169 if (MM_CAMERA_CMD_TYPE_SUPER_BUF_DATA_CB != cmd_cb->cmd_type) { in mm_channel_dispatch_super_buf()
171 __func__, cmd_cb->cmd_type); in mm_channel_dispatch_super_buf()
176 my_obj->bundle.super_buf_notify_cb(&cmd_cb->u.superbuf, my_obj->bundle.user_data); in mm_channel_dispatch_super_buf()
195 static void mm_channel_process_stream_buf(mm_camera_cmdcb_t * cmd_cb, in mm_channel_process_stream_buf() argument
205 if (MM_CAMERA_CMD_TYPE_DATA_CB == cmd_cb->cmd_type) { in mm_channel_process_stream_buf()
210 &cmd_cb->u.buf); in mm_channel_process_stream_buf()
211 } else if (MM_CAMERA_CMD_TYPE_REQ_DATA_CB == cmd_cb->cmd_type) { in mm_channel_process_stream_buf()
213 ch_obj->pending_cnt = cmd_cb->u.req_buf.num_buf_requested; in mm_channel_process_stream_buf()
214 ch_obj->pending_retro_cnt = cmd_cb->u.req_buf.num_retro_buf_requested; in mm_channel_process_stream_buf()
[all …]
Dmm_camera.c114 static void mm_camera_dispatch_app_event(mm_camera_cmdcb_t *cmd_cb, in mm_camera_dispatch_app_event() argument
119 mm_camera_event_t *event = &cmd_cb->u.evt; in mm_camera_dispatch_app_event()
Dmm_camera_stream.c238 static void mm_stream_dispatch_app_data(mm_camera_cmdcb_t *cmd_cb, in mm_stream_dispatch_app_data() argument
253 if (MM_CAMERA_CMD_TYPE_DATA_CB != cmd_cb->cmd_type) { in mm_stream_dispatch_app_data()
255 __func__, cmd_cb->cmd_type); in mm_stream_dispatch_app_data()
259 buf_info = &cmd_cb->u.buf; in mm_stream_dispatch_app_data()
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_channel.c153 static void mm_channel_dispatch_super_buf(mm_camera_cmdcb_t *cmd_cb, in mm_channel_dispatch_super_buf() argument
163 if (MM_CAMERA_CMD_TYPE_SUPER_BUF_DATA_CB != cmd_cb->cmd_type) { in mm_channel_dispatch_super_buf()
165 __func__, cmd_cb->cmd_type); in mm_channel_dispatch_super_buf()
170 my_obj->bundle.super_buf_notify_cb(&cmd_cb->u.superbuf, my_obj->bundle.user_data); in mm_channel_dispatch_super_buf()
189 static void mm_channel_process_stream_buf(mm_camera_cmdcb_t * cmd_cb, in mm_channel_process_stream_buf() argument
200 if (MM_CAMERA_CMD_TYPE_DATA_CB == cmd_cb->cmd_type) { in mm_channel_process_stream_buf()
205 &cmd_cb->u.buf); in mm_channel_process_stream_buf()
206 } else if (MM_CAMERA_CMD_TYPE_REQ_DATA_CB == cmd_cb->cmd_type) { in mm_channel_process_stream_buf()
208 ch_obj->pending_cnt = cmd_cb->u.req_buf.num_buf_requested; in mm_channel_process_stream_buf()
210 } else if (MM_CAMERA_CMD_TYPE_CONFIG_NOTIFY == cmd_cb->cmd_type) { in mm_channel_process_stream_buf()
[all …]
Dmm_camera.c119 static void mm_camera_dispatch_app_event(mm_camera_cmdcb_t *cmd_cb, in mm_camera_dispatch_app_event() argument
124 mm_camera_event_t *event = &cmd_cb->u.evt; in mm_camera_dispatch_app_event()
Dmm_camera_stream.c238 static void mm_stream_dispatch_app_data(mm_camera_cmdcb_t *cmd_cb, in mm_stream_dispatch_app_data() argument
253 if (MM_CAMERA_CMD_TYPE_DATA_CB != cmd_cb->cmd_type) { in mm_stream_dispatch_app_data()
255 __func__, cmd_cb->cmd_type); in mm_stream_dispatch_app_data()
259 buf_info = &cmd_cb->u.buf; in mm_stream_dispatch_app_data()
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_channel.c153 static void mm_channel_dispatch_super_buf(mm_camera_cmdcb_t *cmd_cb, in mm_channel_dispatch_super_buf() argument
162 if (MM_CAMERA_CMD_TYPE_SUPER_BUF_DATA_CB != cmd_cb->cmd_type) { in mm_channel_dispatch_super_buf()
164 __func__, cmd_cb->cmd_type); in mm_channel_dispatch_super_buf()
169 my_obj->bundle.super_buf_notify_cb(&cmd_cb->u.superbuf, my_obj->bundle.user_data); in mm_channel_dispatch_super_buf()
188 static void mm_channel_process_stream_buf(mm_camera_cmdcb_t * cmd_cb, in mm_channel_process_stream_buf() argument
198 if (MM_CAMERA_CMD_TYPE_DATA_CB == cmd_cb->cmd_type) { in mm_channel_process_stream_buf()
203 &cmd_cb->u.buf); in mm_channel_process_stream_buf()
204 } else if (MM_CAMERA_CMD_TYPE_REQ_DATA_CB == cmd_cb->cmd_type) { in mm_channel_process_stream_buf()
206 ch_obj->pending_cnt = cmd_cb->u.req_buf.num_buf_requested; in mm_channel_process_stream_buf()
208 } else if (MM_CAMERA_CMD_TYPE_CONFIG_NOTIFY == cmd_cb->cmd_type) { in mm_channel_process_stream_buf()
[all …]
Dmm_camera.c119 static void mm_camera_dispatch_app_event(mm_camera_cmdcb_t *cmd_cb, in mm_camera_dispatch_app_event() argument
123 mm_camera_event_t *event = &cmd_cb->u.evt; in mm_camera_dispatch_app_event()
Dmm_camera_stream.c258 static void mm_stream_dispatch_app_data(mm_camera_cmdcb_t *cmd_cb, in mm_stream_dispatch_app_data() argument
272 if (MM_CAMERA_CMD_TYPE_DATA_CB != cmd_cb->cmd_type) { in mm_stream_dispatch_app_data()
274 __func__, cmd_cb->cmd_type); in mm_stream_dispatch_app_data()
278 buf_info = &cmd_cb->u.buf; in mm_stream_dispatch_app_data()
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_channel.c169 static void mm_channel_dispatch_super_buf(mm_camera_cmdcb_t *cmd_cb, in mm_channel_dispatch_super_buf() argument
179 if (MM_CAMERA_CMD_TYPE_SUPER_BUF_DATA_CB != cmd_cb->cmd_type) { in mm_channel_dispatch_super_buf()
181 __func__, cmd_cb->cmd_type); in mm_channel_dispatch_super_buf()
186 my_obj->bundle.super_buf_notify_cb(&cmd_cb->u.superbuf, my_obj->bundle.user_data); in mm_channel_dispatch_super_buf()
191 static void mm_channel_process_stream_buf(mm_camera_cmdcb_t * cmd_cb, in mm_channel_process_stream_buf() argument
201 if (MM_CAMERA_CMD_TYPE_DATA_CB == cmd_cb->cmd_type) { in mm_channel_process_stream_buf()
206 &cmd_cb->u.buf); in mm_channel_process_stream_buf()
207 } else if (MM_CAMERA_CMD_TYPE_REQ_DATA_CB == cmd_cb->cmd_type) { in mm_channel_process_stream_buf()
209 ch_obj->pending_cnt = cmd_cb->u.req_buf.num_buf_requested; in mm_channel_process_stream_buf()
Dmm_camera.c87 static void mm_camera_dispatch_app_event(mm_camera_cmdcb_t *cmd_cb, in mm_camera_dispatch_app_event() argument
91 mm_camera_event_type_t evt_type = cmd_cb->u.evt.event_type; in mm_camera_dispatch_app_event()
92 mm_camera_event_t *event = &cmd_cb->u.evt; in mm_camera_dispatch_app_event()
110 static void mm_camera_handle_async_cmd(mm_camera_cmdcb_t *cmd_cb, in mm_camera_handle_async_cmd() argument
114 mm_camera_async_cmd_t *async_cmd = &cmd_cb->u.async; in mm_camera_handle_async_cmd()
Dmm_camera_stream.c311 static void mm_stream_dispatch_app_data(mm_camera_cmdcb_t *cmd_cb, in mm_stream_dispatch_app_data() argument
327 if (MM_CAMERA_CMD_TYPE_DATA_CB != cmd_cb->cmd_type) { in mm_stream_dispatch_app_data()
329 __func__, cmd_cb->cmd_type); in mm_stream_dispatch_app_data()
333 buf_info = &cmd_cb->u.buf; in mm_stream_dispatch_app_data()
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h97 typedef void (*mm_camera_cmd_cb_t)(mm_camera_cmdcb_t * cmd_cb, void* user_data);
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h97 typedef void (*mm_camera_cmd_cb_t)(mm_camera_cmdcb_t * cmd_cb, void* user_data);
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h117 typedef void (*mm_camera_cmd_cb_t)(mm_camera_cmdcb_t * cmd_cb, void* user_data);
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/inc/
Dmm_camera.h121 typedef void (*mm_camera_cmd_cb_t)(mm_camera_cmdcb_t * cmd_cb, void* user_data);