Home
last modified time | relevance | path

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

/hardware/qcom/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 …]