Home
last modified time | relevance | path

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

/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_channel.c1692 mm_channel_queue_node_t *new_buf = NULL; in mm_channel_superbuf_comp_and_enqueue() local
1695 new_buf = (mm_channel_queue_node_t*)malloc(sizeof(mm_channel_queue_node_t)); in mm_channel_superbuf_comp_and_enqueue()
1697 if (NULL != new_buf && NULL != new_node) { in mm_channel_superbuf_comp_and_enqueue()
1698 memset(new_buf, 0, sizeof(mm_channel_queue_node_t)); in mm_channel_superbuf_comp_and_enqueue()
1700 new_node->data = (void *)new_buf; in mm_channel_superbuf_comp_and_enqueue()
1701 new_buf->num_of_bufs = queue->num_streams; in mm_channel_superbuf_comp_and_enqueue()
1702 new_buf->super_buf[buf_s_idx] = *buf_info; in mm_channel_superbuf_comp_and_enqueue()
1703 new_buf->frame_idx = buf_info->frame_idx; in mm_channel_superbuf_comp_and_enqueue()
1714 new_buf->matched = 1; in mm_channel_superbuf_comp_and_enqueue()
1721 if (NULL != new_buf) { in mm_channel_superbuf_comp_and_enqueue()
[all …]
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_channel.c1689 mm_channel_queue_node_t *new_buf = NULL; in mm_channel_superbuf_comp_and_enqueue() local
1692 new_buf = (mm_channel_queue_node_t*)malloc(sizeof(mm_channel_queue_node_t)); in mm_channel_superbuf_comp_and_enqueue()
1694 if (NULL != new_buf && NULL != new_node) { in mm_channel_superbuf_comp_and_enqueue()
1695 memset(new_buf, 0, sizeof(mm_channel_queue_node_t)); in mm_channel_superbuf_comp_and_enqueue()
1697 new_node->data = (void *)new_buf; in mm_channel_superbuf_comp_and_enqueue()
1698 new_buf->num_of_bufs = queue->num_streams; in mm_channel_superbuf_comp_and_enqueue()
1699 new_buf->super_buf[buf_s_idx] = *buf_info; in mm_channel_superbuf_comp_and_enqueue()
1700 new_buf->frame_idx = buf_info->frame_idx; in mm_channel_superbuf_comp_and_enqueue()
1711 new_buf->matched = 1; in mm_channel_superbuf_comp_and_enqueue()
1718 if (NULL != new_buf) { in mm_channel_superbuf_comp_and_enqueue()
[all …]
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_channel.c1331 mm_channel_queue_node_t *new_buf = NULL; in mm_channel_superbuf_comp_and_enqueue() local
1334 new_buf = (mm_channel_queue_node_t*)malloc(sizeof(mm_channel_queue_node_t)); in mm_channel_superbuf_comp_and_enqueue()
1336 if (NULL != new_buf && NULL != new_node) { in mm_channel_superbuf_comp_and_enqueue()
1337 memset(new_buf, 0, sizeof(mm_channel_queue_node_t)); in mm_channel_superbuf_comp_and_enqueue()
1339 new_node->data = (void *)new_buf; in mm_channel_superbuf_comp_and_enqueue()
1340 new_buf->num_of_bufs = queue->num_streams; in mm_channel_superbuf_comp_and_enqueue()
1341 memcpy(&new_buf->super_buf[buf_s_idx], buf_info, sizeof(mm_camera_buf_info_t)); in mm_channel_superbuf_comp_and_enqueue()
1350 new_buf->matched = 1; in mm_channel_superbuf_comp_and_enqueue()
1352 if (new_buf->matched) { in mm_channel_superbuf_comp_and_enqueue()
1359 if (NULL != new_buf) { in mm_channel_superbuf_comp_and_enqueue()
[all …]
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_channel.c2135 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 …]
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_channel.c1427 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 …]