Lines Matching refs:ch_obj
146 int32_t mm_channel_superbuf_comp_and_enqueue(mm_channel_t *ch_obj,
153 mm_channel_t * ch_obj,
161 if (handler == ch_obj->streams[i].my_hdl) {
162 s_obj = &ch_obj->streams[i];
196 mm_channel_t *ch_obj = (mm_channel_t *)user_data;
197 if (NULL == ch_obj) {
204 ch_obj,
205 &ch_obj->bundle.superbuf_queue,
209 ch_obj->pending_cnt = cmd_cb->u.req_buf.num_buf_requested;
210 mm_channel_superbuf_skip(ch_obj, &ch_obj->bundle.superbuf_queue);
213 notify_mode = ch_obj->bundle.superbuf_queue.attr.notify_mode;
216 mm_channel_superbuf_bufdone_overflow(ch_obj, &ch_obj->bundle.superbuf_queue);
219 while ( (ch_obj->pending_cnt > 0) ||
223 node = mm_channel_superbuf_dequeue(&ch_obj->bundle.superbuf_queue);
227 __func__, ch_obj->pending_cnt);
229 ch_obj->pending_cnt--;
234 mm_channel_do_post_processing(ch_obj, node);
237 if (NULL != ch_obj->bundle.super_buf_notify_cb) {
242 __func__, ch_obj->pending_cnt);
253 cb_node->u.superbuf.camera_handle = ch_obj->cam_obj->my_hdl;
254 cb_node->u.superbuf.ch_id = ch_obj->my_hdl;
257 mm_camera_queue_enq(&(ch_obj->cb_thread.cmd_queue), cb_node);
260 sem_post(&(ch_obj->cb_thread.cmd_sem));
265 mm_channel_qbuf(ch_obj, node->super_buf[i].buf);
272 mm_channel_qbuf(ch_obj, node->super_buf[i].buf);
785 stream_obj->ch_obj = my_obj;
1369 mm_channel_t* ch_obj,
1393 mm_channel_qbuf(ch_obj, buf_info->buf);
1462 mm_channel_qbuf(ch_obj, buf_info->buf);
1483 mm_channel_qbuf(ch_obj, super_buf->super_buf[i].buf);
1514 mm_channel_qbuf(ch_obj, buf_info->buf);
1523 mm_channel_qbuf(ch_obj, super_buf->super_buf[i].buf);
1531 mm_channel_qbuf(ch_obj, buf_info->buf);