Home
last modified time | relevance | path

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

12

/hardware/intel/img/psb_video/src/
Dpsb_ws_driver.c51 struct _ValidateNode *node = malloc(sizeof(*node)); in psb_alloc() local
53 if (node == NULL) return NULL; in psb_alloc()
55 node->func = func; in psb_alloc()
56 node->type_id = 1; in psb_alloc()
57 return node; in psb_alloc()
66 psb_free(struct _ValidateNode *node) in psb_free() argument
68 if (node->type_id == 0) in psb_free()
69 free(containerOf(node, struct _PsbDrmValidateNode, base)); in psb_free()
72 free(node); in psb_free()
83 psb_clear(struct _ValidateNode *node) in psb_clear() argument
[all …]
Dpsb_ws_driver.h51 psbValReq(struct _ValidateNode *node) { in psbValReq() argument
52 return &(containerOf(node, struct _PsbDrmValidateNode, base)-> in psbValReq()
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/inc/
DMap.h37 struct node { struct
40 node* prev; argument
41 node* next; argument
42 node(T t, T2 t2,node* p, node* n) : in node() function
45 node* head;
46 node* tail;
47 node* tmp;
69 node* temp(head); in ~Map()
149 tail = new node(data, data2,tail, NULL); in insert()
168 node* prevnode = tmp; in erase()
[all …]
/hardware/qcom/media/mm-video-legacy/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/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Dwarnings.c40 struct WarningListNode **node = &warning_list->warning_node; in add_warning() local
50 while (*node != NULL) in add_warning()
51 node = &(*node)->next_warning; in add_warning()
53 *node = new_node; in add_warning()
58 struct WarningListNode *const node = warning_list->warning_node; in free_warning_list() local
59 warning_list->warning_node = node->next_warning; in free_warning_list()
60 free(node); in free_warning_list()
/hardware/intel/common/libwsbm/src/
Dwsbm_userpool.c81 struct _WsbmMMNode *node; member
224 vBuf->node = wsbmMMSearchFree(&p->agpMM, size, alignment, 1); in pool_create()
225 if (vBuf->node) in pool_create()
226 vBuf->node = wsbmMMGetBlock(vBuf->node, size, alignment); in pool_create()
228 if (vBuf->node) { in pool_create()
230 vBuf->kBuf.gpuOffset = p->agpOffset + vBuf->node->start; in pool_create()
231 vBuf->map = (void *)(p->agpMap + vBuf->node->start); in pool_create()
238 vBuf->node = wsbmMMSearchFree(&p->vramMM, size, alignment, 1); in pool_create()
239 if (vBuf->node) in pool_create()
240 vBuf->node = wsbmMMGetBlock(vBuf->node, size, alignment); in pool_create()
[all …]
Dwsbm_manager.c150 struct _ValidateNode *node; in validateListAddNode() local
156 node = wsbmVNodeFuncs()->alloc(wsbmVNodeFuncs(), 0); in validateListAddNode()
157 if (!node) { in validateListAddNode()
163 node = WSBMLISTENTRY(l, struct _ValidateNode, head); in validateListAddNode()
165 node->buf = item; in validateListAddNode()
166 node->set_flags = flags & mask; in validateListAddNode()
167 node->clr_flags = (~flags) & mask; in validateListAddNode()
168 node->listItem = list->numOnList; in validateListAddNode()
169 WSBMLISTADDTAIL(&node->head, &list->list); in validateListAddNode()
172 WSBMLISTADDTAIL(&node->hashHead, hashHead); in validateListAddNode()
[all …]
/hardware/intel/common/libmix/videoencoder/
DIntelMetadataBuffer.cpp157 List<ShareMemMap *>::iterator node; in ClearLocalMem() local
161 for(node = gShareMemMapList.begin(); node != gShareMemMapList.end(); ) in ClearLocalMem()
163 if ((*node)->sessionflag == sessionflag) //remove all buffers belong to this session in ClearLocalMem()
165 (*node)->membase = NULL; in ClearLocalMem()
166 (*node)->gbuffer = NULL; in ClearLocalMem()
167 delete (*node); in ClearLocalMem()
168 node = gShareMemMapList.erase(node); in ClearLocalMem()
171 node ++; in ClearLocalMem()
179 List<ShareMemMap *>::iterator node; in FindShareMem() local
182 for(node = gShareMemMapList.begin(); node != gShareMemMapList.end(); node++) in FindShareMem()
[all …]
/hardware/intel/img/hwcomposer/ips/common/
DWsbmWrapper.c54 struct _ValidateNode * node = malloc(sizeof(*node)); in pvrAlloc() local
55 if(!node) { in pvrAlloc()
60 node->func = func; in pvrAlloc()
61 node->type_id = 1; in pvrAlloc()
62 return node; in pvrAlloc()
66 static void pvrFree(struct _ValidateNode * node) in pvrFree() argument
69 if(node->type_id == 0) { in pvrFree()
70 free(containerOf(node, struct PsbWsbmValidateNode, base)); in pvrFree()
72 free(node); in pvrFree()
76 static void pvrClear(struct _ValidateNode * node) in pvrClear() argument
[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/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/nestegg/src/
Dnestegg.c277 struct ebml_element_desc * node; member
792 for (element = ancestor->node; element->id; ++element) in ne_is_ancestor_element()
818 item->node = ancestor; in ne_ctx_push()
910 struct ebml_list_node * node, * oldtail; in ne_read_master() local
919 node = ne_pool_alloc(sizeof(*node), ctx->alloc_pool); in ne_read_master()
920 node->id = desc->id; in ne_read_master()
921 node->data = ne_pool_alloc(desc->size, ctx->alloc_pool); in ne_read_master()
925 oldtail->next = node; in ne_read_master()
926 list->tail = node; in ne_read_master()
928 list->head = node; in ne_read_master()
[all …]
/hardware/qcom/audio/voice_processing/
Dvoice_processing.c67 struct listnode node; member
324 list_remove(&session->node); in session_release_effect()
395 struct listnode *node; in get_session() local
398 list_for_each(node, &session_list) { in get_session()
399 session = node_to_item(node, struct session_s, node); in get_session()
414 list_add_tail(&session_list, &session->node); in get_session()
696 list_remove(&session->node); in lib_create()
704 struct listnode *node; in lib_release() local
713 list_for_each(node, &session_list) { in lib_release()
714 session = node_to_item(node, struct session_s, node); in lib_release()
/hardware/libhardware_legacy/audio/
DAudioPolicyManagerBase.cpp4115 cnode *node = root->first_child; in loadInput() local
4119 while (node) { in loadInput()
4120 if (strcmp(node->name, SAMPLING_RATES_TAG) == 0) { in loadInput()
4121 loadSamplingRates((char *)node->value, profile); in loadInput()
4122 } else if (strcmp(node->name, FORMATS_TAG) == 0) { in loadInput()
4123 loadFormats((char *)node->value, profile); in loadInput()
4124 } else if (strcmp(node->name, CHANNELS_TAG) == 0) { in loadInput()
4125 loadInChannels((char *)node->value, profile); in loadInput()
4126 } else if (strcmp(node->name, DEVICES_TAG) == 0) { in loadInput()
4127 profile->mSupportedDevices = parseDeviceNames((char *)node->value); in loadInput()
[all …]
/hardware/qcom/audio/hal/
Daudio_hw.c326 struct listnode *node; in check_usecases_codec_backend() local
346 list_for_each(node, &adev->usecase_list) { in check_usecases_codec_backend()
347 usecase = node_to_item(node, struct audio_usecase, list); in check_usecases_codec_backend()
362 list_for_each(node, &adev->usecase_list) { in check_usecases_codec_backend()
363 usecase = node_to_item(node, struct audio_usecase, list); in check_usecases_codec_backend()
369 list_for_each(node, &adev->usecase_list) { in check_usecases_codec_backend()
370 usecase = node_to_item(node, struct audio_usecase, list); in check_usecases_codec_backend()
378 list_for_each(node, &adev->usecase_list) { in check_usecases_codec_backend()
379 usecase = node_to_item(node, struct audio_usecase, list); in check_usecases_codec_backend()
393 struct listnode *node; in check_and_route_capture_usecases() local
[all …]
Dvoice.c457 struct listnode *node; in voice_update_devices_for_all_voice_usecases() local
460 list_for_each(node, &adev->usecase_list) { in voice_update_devices_for_all_voice_usecases()
461 usecase = node_to_item(node, struct audio_usecase, list); in voice_update_devices_for_all_voice_usecases()
/hardware/qcom/audio/hal/audio_extn/
Dext_speaker.c123 struct listnode *node; in audio_extn_extspk_update() local
125 list_for_each(node, &data->adev->usecase_list) { in audio_extn_extspk_update()
126 usecase = node_to_item(node, struct audio_usecase, list); in audio_extn_extspk_update()
/hardware/qcom/audio/post_proc/
Dbundle.c90 struct listnode *node; in effect_exists() local
92 list_for_each(node, &created_effects_list) { in effect_exists()
93 effect_context_t *fx_ctxt = node_to_item(node, in effect_exists()
105 struct listnode *node; in get_output() local
107 list_for_each(node, &active_outputs_list) { in get_output()
108 output_context_t *out_ctxt = node_to_item(node, in get_output()
182 struct listnode *node; in offload_effects_bundle_hal_start_output() local
227 list_for_each(node, &created_effects_list) { in offload_effects_bundle_hal_start_output()
228 effect_context_t *fx_ctxt = node_to_item(node, in offload_effects_bundle_hal_start_output()
247 struct listnode *node; in offload_effects_bundle_hal_stop_output() local
/hardware/samsung_slsi/exynos5/libcamera2/
DExynosCameraHWInterface2.cpp115 int cam_int_s_fmt(node_info_t *node) in cam_int_s_fmt() argument
123 v4l2_fmt.type = node->type; in cam_int_s_fmt()
124 framesize = (node->width * node->height * get_pixel_depth(node->format)) / 8; in cam_int_s_fmt()
126 if (node->planes >= 1) { in cam_int_s_fmt()
127 v4l2_fmt.fmt.pix_mp.width = node->width; in cam_int_s_fmt()
128 v4l2_fmt.fmt.pix_mp.height = node->height; in cam_int_s_fmt()
129 v4l2_fmt.fmt.pix_mp.pixelformat = node->format; in cam_int_s_fmt()
136 ret = exynos_v4l2_s_fmt(node->fd, &v4l2_fmt); in cam_int_s_fmt()
145 int cam_int_reqbufs(node_info_t *node) in cam_int_reqbufs() argument
150 req.count = node->buffers; in cam_int_reqbufs()
[all …]
/hardware/qcom/audio/visualizer/
Doffload_visualizer.c215 struct listnode *node; in effect_exists() local
217 list_for_each(node, &created_effects_list) { in effect_exists()
218 effect_context_t *fx_ctxt = node_to_item(node, in effect_exists()
229 struct listnode *node; in get_output() local
231 list_for_each(node, &active_outputs_list) { in get_output()
232 output_context_t *out_ctxt = node_to_item(node, in get_output()
418 struct listnode *node; in visualizer_hal_start_output() local
437 list_for_each(node, &created_effects_list) { in visualizer_hal_start_output()
438 effect_context_t *fx_ctxt = node_to_item(node, in visualizer_hal_start_output()
464 struct listnode *node; in visualizer_hal_stop_output() local
/hardware/qcom/display/msm8226/libexternal/
Dexternal.h58 void setSPDInfo(const char* node, const char* property);
Dexternal.cpp116 void ExternalDisplay::setSPDInfo(const char* node, const char* property) { in setSPDInfo() argument
123 mFbNum, node); in setSPDInfo()
141 __FUNCTION__, node); in setSPDInfo()
/hardware/qcom/display/msm8084/libexternal/
Dexternal.h58 void setSPDInfo(const char* node, const char* property);
Dexternal.cpp115 void ExternalDisplay::setSPDInfo(const char* node, const char* property) { in setSPDInfo() argument
122 mFbNum, node); in setSPDInfo()
140 __FUNCTION__, node); in setSPDInfo()
/hardware/qcom/display/msm8974/libexternal/
Dexternal.h59 void setSPDInfo(const char* node, const char* property);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_encodeframe.c355 static void tree_to_node(void *data, BLOCK_SIZE bsize, variance_node *node) { in tree_to_node() argument
360 node->part_variances = &vt->part_variances; in tree_to_node()
362 node->split[i] = &vt->split[i].part_variances.none; in tree_to_node()
367 node->part_variances = &vt->part_variances; in tree_to_node()
369 node->split[i] = &vt->split[i].part_variances.none; in tree_to_node()
374 node->part_variances = &vt->part_variances; in tree_to_node()
376 node->split[i] = &vt->split[i].part_variances.none; in tree_to_node()
381 node->part_variances = &vt->part_variances; in tree_to_node()
383 node->split[i] = &vt->split[i]; in tree_to_node()
411 variance_node node; in fill_variance_tree() local
[all …]

12