Lines Matching refs:cb_node
371 mm_camera_cmdcb_t* cb_node = NULL;
377 cb_node = (mm_camera_cmdcb_t *)malloc(sizeof(mm_camera_cmdcb_t));
378 if (NULL != cb_node) {
379 memset(cb_node, 0, sizeof(mm_camera_cmdcb_t));
380 cb_node->cmd_type = MM_CAMERA_CMD_TYPE_SUPER_BUF_DATA_CB;
381 cb_node->u.superbuf.num_bufs = node->num_of_bufs;
383 cb_node->u.superbuf.bufs[i] = node->super_buf[i].buf;
385 cb_node->u.superbuf.camera_handle = ch_obj->cam_obj->my_hdl;
386 cb_node->u.superbuf.ch_id = ch_obj->my_hdl;
387 cb_node->u.superbuf.bReadyForPrepareSnapshot = bReady;
389 cb_node->u.superbuf.bUnlockAEC = 1;
395 cam_queue_enq(&(ch_obj->cb_thread.cmd_queue), cb_node);