Searched refs:new_buf (Results 1 – 4 of 4) sorted by relevance
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_channel.c | 2521 mm_channel_queue_node_t *new_buf = NULL; in mm_channel_superbuf_comp_and_enqueue() local 2524 new_buf = (mm_channel_queue_node_t*)malloc(sizeof(mm_channel_queue_node_t)); in mm_channel_superbuf_comp_and_enqueue() 2526 if (NULL != new_buf && NULL != new_node) { in mm_channel_superbuf_comp_and_enqueue() 2527 memset(new_buf, 0, sizeof(mm_channel_queue_node_t)); in mm_channel_superbuf_comp_and_enqueue() 2529 new_node->data = (void *)new_buf; in mm_channel_superbuf_comp_and_enqueue() 2530 new_buf->num_of_bufs = queue->num_streams; in mm_channel_superbuf_comp_and_enqueue() 2531 new_buf->super_buf[buf_s_idx] = *buf_info; in mm_channel_superbuf_comp_and_enqueue() 2532 new_buf->frame_idx = buf_info->frame_idx; in mm_channel_superbuf_comp_and_enqueue() 2535 new_buf->expected = TRUE; in mm_channel_superbuf_comp_and_enqueue() 2548 new_buf->matched = 1; in mm_channel_superbuf_comp_and_enqueue() [all …]
|
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_channel.c | 2521 mm_channel_queue_node_t *new_buf = NULL; in mm_channel_superbuf_comp_and_enqueue() local 2524 new_buf = (mm_channel_queue_node_t*)malloc(sizeof(mm_channel_queue_node_t)); in mm_channel_superbuf_comp_and_enqueue() 2526 if (NULL != new_buf && NULL != new_node) { in mm_channel_superbuf_comp_and_enqueue() 2527 memset(new_buf, 0, sizeof(mm_channel_queue_node_t)); in mm_channel_superbuf_comp_and_enqueue() 2529 new_node->data = (void *)new_buf; in mm_channel_superbuf_comp_and_enqueue() 2530 new_buf->num_of_bufs = queue->num_streams; in mm_channel_superbuf_comp_and_enqueue() 2531 new_buf->super_buf[buf_s_idx] = *buf_info; in mm_channel_superbuf_comp_and_enqueue() 2532 new_buf->frame_idx = buf_info->frame_idx; in mm_channel_superbuf_comp_and_enqueue() 2535 new_buf->expected = TRUE; in mm_channel_superbuf_comp_and_enqueue() 2548 new_buf->matched = 1; in mm_channel_superbuf_comp_and_enqueue() [all …]
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/ |
D | mm_camera_channel.c | 1427 mm_channel_queue_node_t *new_buf = NULL; in mm_channel_superbuf_comp_and_enqueue() local 1430 new_buf = (mm_channel_queue_node_t*)malloc(sizeof(mm_channel_queue_node_t)); in mm_channel_superbuf_comp_and_enqueue() 1432 if (NULL != new_buf && NULL != new_node) { in mm_channel_superbuf_comp_and_enqueue() 1433 memset(new_buf, 0, sizeof(mm_channel_queue_node_t)); in mm_channel_superbuf_comp_and_enqueue() 1435 new_node->data = (void *)new_buf; in mm_channel_superbuf_comp_and_enqueue() 1436 new_buf->num_of_bufs = queue->num_streams; in mm_channel_superbuf_comp_and_enqueue() 1437 memcpy(&new_buf->super_buf[buf_s_idx], buf_info, sizeof(mm_camera_buf_info_t)); in mm_channel_superbuf_comp_and_enqueue() 1446 new_buf->matched = 1; in mm_channel_superbuf_comp_and_enqueue() 1448 if (new_buf->matched) { in mm_channel_superbuf_comp_and_enqueue() 1455 if (NULL != new_buf) { in mm_channel_superbuf_comp_and_enqueue() [all …]
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_channel.c | 2135 mm_channel_queue_node_t *new_buf = NULL; in mm_channel_superbuf_comp_and_enqueue() local 2138 new_buf = (mm_channel_queue_node_t*)malloc(sizeof(mm_channel_queue_node_t)); in mm_channel_superbuf_comp_and_enqueue() 2140 if (NULL != new_buf && NULL != new_node) { in mm_channel_superbuf_comp_and_enqueue() 2141 memset(new_buf, 0, sizeof(mm_channel_queue_node_t)); in mm_channel_superbuf_comp_and_enqueue() 2143 new_node->data = (void *)new_buf; in mm_channel_superbuf_comp_and_enqueue() 2144 new_buf->num_of_bufs = queue->num_streams; in mm_channel_superbuf_comp_and_enqueue() 2145 new_buf->super_buf[buf_s_idx] = *buf_info; in mm_channel_superbuf_comp_and_enqueue() 2146 new_buf->frame_idx = buf_info->frame_idx; in mm_channel_superbuf_comp_and_enqueue() 2156 new_buf->matched = 1; in mm_channel_superbuf_comp_and_enqueue() 2163 if (NULL != new_buf) { in mm_channel_superbuf_comp_and_enqueue() [all …]
|