Home
last modified time | relevance | path

Searched refs:cb_node (Results 1 – 4 of 4) sorted by relevance

/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_channel.c371 mm_camera_cmdcb_t* cb_node = NULL; in mm_channel_process_stream_buf() local
377 cb_node = (mm_camera_cmdcb_t *)malloc(sizeof(mm_camera_cmdcb_t)); in mm_channel_process_stream_buf()
378 if (NULL != cb_node) { in mm_channel_process_stream_buf()
379 memset(cb_node, 0, sizeof(mm_camera_cmdcb_t)); in mm_channel_process_stream_buf()
380 cb_node->cmd_type = MM_CAMERA_CMD_TYPE_SUPER_BUF_DATA_CB; in mm_channel_process_stream_buf()
381 cb_node->u.superbuf.num_bufs = node->num_of_bufs; in mm_channel_process_stream_buf()
383 cb_node->u.superbuf.bufs[i] = node->super_buf[i].buf; in mm_channel_process_stream_buf()
385 cb_node->u.superbuf.camera_handle = ch_obj->cam_obj->my_hdl; in mm_channel_process_stream_buf()
386 cb_node->u.superbuf.ch_id = ch_obj->my_hdl; in mm_channel_process_stream_buf()
387 cb_node->u.superbuf.bReadyForPrepareSnapshot = bReady; in mm_channel_process_stream_buf()
[all …]
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_channel.c418 mm_camera_cmdcb_t* cb_node = NULL; in mm_channel_process_stream_buf() local
424 cb_node = (mm_camera_cmdcb_t *)malloc(sizeof(mm_camera_cmdcb_t)); in mm_channel_process_stream_buf()
425 if (NULL != cb_node) { in mm_channel_process_stream_buf()
426 memset(cb_node, 0, sizeof(mm_camera_cmdcb_t)); in mm_channel_process_stream_buf()
427 cb_node->cmd_type = MM_CAMERA_CMD_TYPE_SUPER_BUF_DATA_CB; in mm_channel_process_stream_buf()
428 cb_node->u.superbuf.num_bufs = node->num_of_bufs; in mm_channel_process_stream_buf()
430 cb_node->u.superbuf.bufs[i] = node->super_buf[i].buf; in mm_channel_process_stream_buf()
432 cb_node->u.superbuf.camera_handle = ch_obj->cam_obj->my_hdl; in mm_channel_process_stream_buf()
433 cb_node->u.superbuf.ch_id = ch_obj->my_hdl; in mm_channel_process_stream_buf()
434 cb_node->u.superbuf.bReadyForPrepareSnapshot = bReady; in mm_channel_process_stream_buf()
[all …]
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_channel.c418 mm_camera_cmdcb_t* cb_node = NULL; in mm_channel_process_stream_buf() local
424 cb_node = (mm_camera_cmdcb_t *)malloc(sizeof(mm_camera_cmdcb_t)); in mm_channel_process_stream_buf()
425 if (NULL != cb_node) { in mm_channel_process_stream_buf()
426 memset(cb_node, 0, sizeof(mm_camera_cmdcb_t)); in mm_channel_process_stream_buf()
427 cb_node->cmd_type = MM_CAMERA_CMD_TYPE_SUPER_BUF_DATA_CB; in mm_channel_process_stream_buf()
428 cb_node->u.superbuf.num_bufs = node->num_of_bufs; in mm_channel_process_stream_buf()
430 cb_node->u.superbuf.bufs[i] = node->super_buf[i].buf; in mm_channel_process_stream_buf()
432 cb_node->u.superbuf.camera_handle = ch_obj->cam_obj->my_hdl; in mm_channel_process_stream_buf()
433 cb_node->u.superbuf.ch_id = ch_obj->my_hdl; in mm_channel_process_stream_buf()
434 cb_node->u.superbuf.bReadyForPrepareSnapshot = bReady; in mm_channel_process_stream_buf()
[all …]
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_channel.c239 mm_camera_cmdcb_t* cb_node = NULL; in mm_channel_process_stream_buf() local
245 cb_node = (mm_camera_cmdcb_t *)malloc(sizeof(mm_camera_cmdcb_t)); in mm_channel_process_stream_buf()
246 if (NULL != cb_node) { in mm_channel_process_stream_buf()
247 memset(cb_node, 0, sizeof(mm_camera_cmdcb_t)); in mm_channel_process_stream_buf()
248 cb_node->cmd_type = MM_CAMERA_CMD_TYPE_SUPER_BUF_DATA_CB; in mm_channel_process_stream_buf()
249 cb_node->u.superbuf.num_bufs = node->num_of_bufs; in mm_channel_process_stream_buf()
251 cb_node->u.superbuf.bufs[i] = node->super_buf[i].buf; in mm_channel_process_stream_buf()
253 cb_node->u.superbuf.camera_handle = ch_obj->cam_obj->my_hdl; in mm_channel_process_stream_buf()
254 cb_node->u.superbuf.ch_id = ch_obj->my_hdl; in mm_channel_process_stream_buf()
257 mm_camera_queue_enq(&(ch_obj->cb_thread.cmd_queue), cb_node); in mm_channel_process_stream_buf()