Home
last modified time | relevance | path

Searched refs:node (Results 1 – 25 of 27) sorted by relevance

12

/hardware/qcom/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_data.c59 mm_camera_q_node_t* node = in mm_camera_queue_enq() local
61 if (NULL == node) { in mm_camera_queue_enq()
66 memset(node, 0, sizeof(mm_camera_q_node_t)); in mm_camera_queue_enq()
67 node->data = data; in mm_camera_queue_enq()
70 cam_list_add_tail_node(&node->list, &queue->head.list); in mm_camera_queue_enq()
80 mm_camera_q_node_t* node = NULL; in mm_camera_queue_deq() local
89 node = member_of(pos, mm_camera_q_node_t, list); in mm_camera_queue_deq()
90 cam_list_del_node(&node->list); in mm_camera_queue_deq()
95 if (NULL != node) { in mm_camera_queue_deq()
96 data = node->data; in mm_camera_queue_deq()
[all …]
Dmm_camera_channel.c162 mm_channel_queue_node_t * node = NULL; in mm_channel_pp_result_notify() local
186 node = pp_info->super_buf; in mm_channel_pp_result_notify()
191 if (NULL != node) { in mm_channel_pp_result_notify()
196 for (i=0; i<node->num_of_bufs; i++) { in mm_channel_pp_result_notify()
197 if (node->super_buf[i].stream_id == pp_info->stream_hdl) { in mm_channel_pp_result_notify()
199 node->super_buf[i].need_pp = 0; in mm_channel_pp_result_notify()
205 for (i=0; i<node->num_of_bufs; i++) { in mm_channel_pp_result_notify()
206 if (node->super_buf[i].need_pp) { in mm_channel_pp_result_notify()
220 super_buf.num_bufs = node->num_of_bufs; in mm_channel_pp_result_notify()
221 for (i=0; i<node->num_of_bufs; i++) { in mm_channel_pp_result_notify()
[all …]
Dmm_camera.c137 mm_camera_cmdcb_t *node = NULL; in mm_camera_event_notify() local
161 mm_camera_cmdcb_t *node = NULL; in mm_camera_enqueue_evt() local
163 node = (mm_camera_cmdcb_t *)malloc(sizeof(mm_camera_cmdcb_t)); in mm_camera_enqueue_evt()
164 if (NULL != node) { in mm_camera_enqueue_evt()
165 memset(node, 0, sizeof(mm_camera_cmdcb_t)); in mm_camera_enqueue_evt()
166 node->cmd_type = MM_CAMERA_CMD_TYPE_EVT_CB; in mm_camera_enqueue_evt()
167 memcpy(&node->u.evt, event, sizeof(mm_camera_event_t)); in mm_camera_enqueue_evt()
170 mm_camera_queue_enq(&(my_obj->evt_thread.cmd_queue), node); in mm_camera_enqueue_evt()
969 mm_camera_cmdcb_t * node = NULL; in mm_camera_stop_streams() local
999 mm_camera_cmdcb_t * node = NULL; in mm_camera_async_teardown_streams() local
[all …]
Dmm_camera_stream.c150 mm_camera_cmdcb_t* node = NULL; in mm_stream_handle_rcvd_buf() local
153 node = (mm_camera_cmdcb_t *)malloc(sizeof(mm_camera_cmdcb_t)); in mm_stream_handle_rcvd_buf()
154 if (NULL != node) { in mm_stream_handle_rcvd_buf()
155 memset(node, 0, sizeof(mm_camera_cmdcb_t)); in mm_stream_handle_rcvd_buf()
156 node->cmd_type = MM_CAMERA_CMD_TYPE_DATA_CB; in mm_stream_handle_rcvd_buf()
157 memcpy(&node->u.buf, buf_info, sizeof(mm_camera_buf_info_t)); in mm_stream_handle_rcvd_buf()
160 mm_camera_queue_enq(&(my_obj->ch_obj->cmd_thread.cmd_queue), node); in mm_stream_handle_rcvd_buf()
176 mm_camera_cmdcb_t* node = NULL; in mm_stream_handle_rcvd_buf() local
179 node = (mm_camera_cmdcb_t *)malloc(sizeof(mm_camera_cmdcb_t)); in mm_stream_handle_rcvd_buf()
180 if (NULL != node) { in mm_stream_handle_rcvd_buf()
[all …]
/hardware/msm7k/libgralloc/
Dallocator.h46 void insertAfter(NODE* node, NODE* newNode) { in insertAfter() argument
47 newNode->prev = node; in insertAfter()
48 newNode->next = node->next; in insertAfter()
49 if (node->next == 0) mLast = newNode; in insertAfter()
50 else node->next->prev = newNode; in insertAfter()
51 node->next = newNode; in insertAfter()
54 void insertBefore(NODE* node, NODE* newNode) { in insertBefore() argument
55 newNode->prev = node->prev; in insertBefore()
56 newNode->next = node; in insertBefore()
57 if (node->prev == 0) mFirst = newNode; in insertBefore()
[all …]
Dallocator.cpp49 chunk_t* node = new chunk_t(0, mHeapSize / kMemoryAlign); in setSize() local
50 mList.insertHead(node); in setSize()
/hardware/msm7k/libgralloc-qsd8k/
Dallocator.h47 void insertAfter(NODE* node, NODE* newNode) { in insertAfter() argument
48 newNode->prev = node; in insertAfter()
49 newNode->next = node->next; in insertAfter()
50 if (node->next == 0) mLast = newNode; in insertAfter()
51 else node->next->prev = newNode; in insertAfter()
52 node->next = newNode; in insertAfter()
55 void insertBefore(NODE* node, NODE* newNode) { in insertBefore() argument
56 newNode->prev = node->prev; in insertBefore()
57 newNode->next = node; in insertBefore()
58 if (node->prev == 0) mFirst = newNode; in insertBefore()
[all …]
Dallocator.cpp49 chunk_t* node = new chunk_t(0, mHeapSize / kMemoryAlign); in setSize() local
50 mList.insertHead(node); in setSize()
/hardware/qcom/camera/QCamera/stack/mm-jpeg-interface/src/
Dmm_jpeg_queue.c44 mm_jpeg_q_node_t* node = in mm_jpeg_queue_enq() local
46 if (NULL == node) { in mm_jpeg_queue_enq()
51 memset(node, 0, sizeof(mm_jpeg_q_node_t)); in mm_jpeg_queue_enq()
52 node->data = data; in mm_jpeg_queue_enq()
55 cam_list_add_tail_node(&node->list, &queue->head.list); in mm_jpeg_queue_enq()
65 mm_jpeg_q_node_t* node = NULL; in mm_jpeg_queue_deq() local
74 node = member_of(pos, mm_jpeg_q_node_t, list); in mm_jpeg_queue_deq()
75 cam_list_del_node(&node->list); in mm_jpeg_queue_deq()
80 if (NULL != node) { in mm_jpeg_queue_deq()
81 data = node->data; in mm_jpeg_queue_deq()
[all …]
Dmm_jpeg.c590 void* node = NULL; in mm_jpeg_notify_thread() local
620 node = mm_jpeg_queue_remove_job_by_job_id(&my_obj->cb_q, job_entry->jobId); in mm_jpeg_notify_thread()
621 if (NULL != node) { in mm_jpeg_notify_thread()
622 free(node); in mm_jpeg_notify_thread()
684 mm_jpeg_job_q_node_t* node = NULL; in mm_jpeg_jobmgr_thread() local
704 node = (mm_jpeg_job_q_node_t*)mm_jpeg_queue_deq(&cmd_thread->job_queue); in mm_jpeg_jobmgr_thread()
705 if (node != NULL) { in mm_jpeg_jobmgr_thread()
706 switch (node->type) { in mm_jpeg_jobmgr_thread()
708 rc = mm_jpeg_process_job(my_obj, node); in mm_jpeg_jobmgr_thread()
711 free(node); in mm_jpeg_jobmgr_thread()
[all …]
/hardware/qcom/media/mm-video/vidc/vdec/inc/
DMap.h37 struct node struct
41 node* prev; argument
42 node* next; argument
43 node(T t, T2 t2,node* p, node* n) : in node() function
46 node* head;
47 node* tail;
48 node* tmp;
68 node* temp(head); in ~Map()
144 tail = new node(data, data2,tail, NULL); in insert()
162 node* prevnode = tmp; in erase()
[all …]
/hardware/samsung_slsi/exynos5/libcamera/
DExynosCamera.cpp696 char node[30]; in create() local
740 memset(&node, 0x00, sizeof(node)); in create()
741 strcpy(node, ISP_SENSOR_ENTITY_NAME); in create()
742 m_ispSensorEntity = exynos_media_get_entity_by_name(m_media, node, strlen(node)); in create()
745 memset(&node, 0x00, sizeof(node)); in create()
746 strcpy(node, ISP_FRONT_ENTITY_NAME); in create()
747 m_ispFrontEntity = exynos_media_get_entity_by_name(m_media, node, strlen(node)); in create()
750 memset(&node, 0x00, sizeof(node)); in create()
751 strcpy(node, ISP_BACK_ENTITY_NAME); in create()
752 m_ispBackEntity = exynos_media_get_entity_by_name(m_media, node, strlen(node)); in create()
[all …]
/hardware/qcom/camera/mm-camera-interface/
Dmm_camera_notify.c89 mm_camera_frame_t *node, in mm_camera_zsl_frame_cmp_and_enq() argument
123 if(!peer_frame || (node->frame.frame_id > peer_frame->frame.frame_id && in mm_camera_zsl_frame_cmp_and_enq()
124 node->frame.frame_id >= expected_id)) { in mm_camera_zsl_frame_cmp_and_enq()
129 mm_camera_stream_frame_enq_no_lock(myq, node); in mm_camera_zsl_frame_cmp_and_enq()
130 node->valid_entry = 1; in mm_camera_zsl_frame_cmp_and_enq()
133 __func__, node->frame.frame_id, expected_id, mystream->stream_type); in mm_camera_zsl_frame_cmp_and_enq()
140 peer_frame->frame.frame_id, node->frame.frame_id, in mm_camera_zsl_frame_cmp_and_enq()
150 if(peer_frame->frame.frame_id == node->frame.frame_id && in mm_camera_zsl_frame_cmp_and_enq()
151node->frame.frame_id >= my_obj->ch[MM_CAMERA_CH_SNAPSHOT].snapshot.expected_matching_id) { in mm_camera_zsl_frame_cmp_and_enq()
153 node->match = 1; in mm_camera_zsl_frame_cmp_and_enq()
[all …]
Dmm_camera_stream.c85 void mm_camera_stream_frame_enq_no_lock(mm_camera_frame_queue_t *q, mm_camera_frame_t *node) in mm_camera_stream_frame_enq_no_lock() argument
87 node->next = NULL; in mm_camera_stream_frame_enq_no_lock()
89 q->head = node; in mm_camera_stream_frame_enq_no_lock()
90 q->tail = node; in mm_camera_stream_frame_enq_no_lock()
92 q->tail->next = node; in mm_camera_stream_frame_enq_no_lock()
93 q->tail = node; in mm_camera_stream_frame_enq_no_lock()
119 void mm_camera_stream_frame_enq(mm_camera_frame_queue_t *q, mm_camera_frame_t *node) in mm_camera_stream_frame_enq() argument
122 node->next = NULL; in mm_camera_stream_frame_enq()
124 q->head = node; in mm_camera_stream_frame_enq()
125 q->tail = node; in mm_camera_stream_frame_enq()
[all …]
Dmm_camera.h335 extern void mm_camera_stream_frame_enq(mm_camera_frame_queue_t *q, mm_camera_frame_t *node);
336 extern void mm_camera_stream_frame_enq_no_lock(mm_camera_frame_queue_t *q, mm_camera_frame_t *node);
337 extern void mm_camera_stream_frame_refill_q(mm_camera_frame_queue_t *q, mm_camera_frame_t *node, in…
/hardware/libhardware_legacy/audio/
DAudioPolicyManagerBase.cpp3557 cnode *node = root->first_child; in loadInput() local
3561 while (node) { in loadInput()
3562 if (strcmp(node->name, SAMPLING_RATES_TAG) == 0) { in loadInput()
3563 loadSamplingRates((char *)node->value, profile); in loadInput()
3564 } else if (strcmp(node->name, FORMATS_TAG) == 0) { in loadInput()
3565 loadFormats((char *)node->value, profile); in loadInput()
3566 } else if (strcmp(node->name, CHANNELS_TAG) == 0) { in loadInput()
3567 loadInChannels((char *)node->value, profile); in loadInput()
3568 } else if (strcmp(node->name, DEVICES_TAG) == 0) { in loadInput()
3569 profile->mSupportedDevices = parseDeviceNames((char *)node->value); in loadInput()
[all …]
/hardware/samsung_slsi/exynos5/libcamera2/
DExynosCameraHWInterface2.cpp114 int cam_int_s_fmt(node_info_t *node) in cam_int_s_fmt() argument
122 v4l2_fmt.type = node->type; in cam_int_s_fmt()
123 framesize = (node->width * node->height * get_pixel_depth(node->format)) / 8; in cam_int_s_fmt()
125 if (node->planes >= 1) { in cam_int_s_fmt()
126 v4l2_fmt.fmt.pix_mp.width = node->width; in cam_int_s_fmt()
127 v4l2_fmt.fmt.pix_mp.height = node->height; in cam_int_s_fmt()
128 v4l2_fmt.fmt.pix_mp.pixelformat = node->format; in cam_int_s_fmt()
135 ret = exynos_v4l2_s_fmt(node->fd, &v4l2_fmt); in cam_int_s_fmt()
144 int cam_int_reqbufs(node_info_t *node) in cam_int_reqbufs() argument
149 req.count = node->buffers; in cam_int_reqbufs()
[all …]
/hardware/qcom/camera/QCamera/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h158 extern int32_t mm_jpeg_queue_enq(mm_jpeg_queue_t* queue, void* node);
/hardware/samsung_slsi/exynos5/librotator/
Dexynos_rotator.c338 char node[32]; in m_exynos_rotator_create() local
340 sprintf(node, "%s%d", PFX_NODE_ROTATOR, NODE_NUM_ROTATOR); in m_exynos_rotator_create()
341 fd = exynos_v4l2_open(node, O_RDWR); in m_exynos_rotator_create()
343 ALOGE("%s::exynos_v4l2_open(%s) fail", __func__, node); in m_exynos_rotator_create()
/hardware/samsung_slsi/exynos5/libgscaler/
Dexynos_gscaler.c313 char node[32]; in m_exynos_gsc_output_create() local
332 sprintf(node, "%s%d", PFX_NODE_MEDIADEV, 0); in m_exynos_gsc_output_create()
333 media0 = exynos_media_open(node); in m_exynos_gsc_output_create()
335 ALOGE("%s::exynos_media_open failed (node=%s)", __func__, node); in m_exynos_gsc_output_create()
423 char node[32]; in m_exynos_gsc_m2m_create() local
446 sprintf(node, "%s%d", PFX_NODE_GSC, video_node_num); in m_exynos_gsc_m2m_create()
447 fd = exynos_v4l2_open(node, O_RDWR); in m_exynos_gsc_m2m_create()
449 ALOGE("%s::exynos_v4l2_open(%s) fail", __func__, node); in m_exynos_gsc_m2m_create()
/hardware/libhardware/include/hardware/
Daudio_effect.h54 uint8_t node[6]; member
/hardware/qcom/audio/libalsa-intf/
Dalsa_ucm.c3714 struct snd_ucm_ident_node *temp, *node; in snd_ucm_add_ident_to_list() local
3716 node = in snd_ucm_add_ident_to_list()
3718 if (node == NULL) { in snd_ucm_add_ident_to_list()
3722 node->next = NULL; in snd_ucm_add_ident_to_list()
3723 strlcpy(node->ident, value, MAX_STR_LEN); in snd_ucm_add_ident_to_list()
3724 node->active = 0; in snd_ucm_add_ident_to_list()
3725 node->capability = 0; in snd_ucm_add_ident_to_list()
3728 *head = node; in snd_ucm_add_ident_to_list()
3734 temp->next = node; in snd_ucm_add_ident_to_list()
3736 ALOGV("add_to_list: head %p, value %s", *head, node->ident); in snd_ucm_add_ident_to_list()
/hardware/ril/mock-ril/
DREADME.txt78 http://code.google.com/p/protobuf-for-node/.
DNOTICE196 The following files are snippets from http://www.nodejs.obj node.cc/node.h
/hardware/qcom/camera/QCamera/stack/mm-camera-interface/inc/
Dmm_camera.h596 extern int32_t mm_camera_queue_enq(mm_camera_queue_t* queue, void* node);

12