Home
last modified time | relevance | path

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

/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_muxer.c2051 mm_frame_sync_queue_node_t *new_buf = NULL; in mm_camera_muxer_do_frame_sync() local
2053 new_buf = (mm_frame_sync_queue_node_t *) in mm_camera_muxer_do_frame_sync()
2055 if (NULL != new_buf) { in mm_camera_muxer_do_frame_sync()
2056 memset(new_buf, 0, sizeof(mm_frame_sync_queue_node_t)); in mm_camera_muxer_do_frame_sync()
2057 new_buf->super_buf[buf_s_idx] = *buffer; in mm_camera_muxer_do_frame_sync()
2058 new_buf->num_objs++; in mm_camera_muxer_do_frame_sync()
2059 new_buf->frame_idx = buffer->bufs[0]->frame_idx; in mm_camera_muxer_do_frame_sync()
2060 new_buf->matched = 0; in mm_camera_muxer_do_frame_sync()
2061 if (new_buf->num_objs == queue->num_objs && super_obj) { in mm_camera_muxer_do_frame_sync()
2062 new_buf->matched = 1; in mm_camera_muxer_do_frame_sync()
[all …]
Dmm_camera_channel.c3295 mm_channel_queue_node_t *new_buf = NULL; in mm_channel_superbuf_comp_and_enqueue() local
3298 new_buf = (mm_channel_queue_node_t*)malloc(sizeof(mm_channel_queue_node_t)); in mm_channel_superbuf_comp_and_enqueue()
3300 if (NULL != new_buf && NULL != new_node) { in mm_channel_superbuf_comp_and_enqueue()
3301 memset(new_buf, 0, sizeof(mm_channel_queue_node_t)); in mm_channel_superbuf_comp_and_enqueue()
3303 new_node->data = (void *)new_buf; in mm_channel_superbuf_comp_and_enqueue()
3304 new_buf->num_of_bufs = queue->num_streams; in mm_channel_superbuf_comp_and_enqueue()
3305 new_buf->super_buf[buf_s_idx] = *buf_info; in mm_channel_superbuf_comp_and_enqueue()
3306 new_buf->frame_idx = buf_info->frame_idx; in mm_channel_superbuf_comp_and_enqueue()
3310 new_buf->expected_frame = TRUE; in mm_channel_superbuf_comp_and_enqueue()
3323 new_buf->matched = 1; in mm_channel_superbuf_comp_and_enqueue()
[all …]