Home
last modified time | relevance | path

Searched refs:desc (Results 1 – 25 of 59) sorted by relevance

123

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_mem/memory_manager/
Dhmm_base.c18 void U(init)(U(descriptor) *desc) { in U()
19 desc->avl_tree_root = 0; in U()
20 desc->last_freed = 0; in U()
39 U(descriptor) *desc, in U()
45 U(avl_insert)((U(avl_avl) *) & (desc->avl_tree_root), ptr_rec_ptr); in U()
73 U(descriptor) *desc, in U()
104 (U(avl_avl) *) & (desc->avl_tree_root), BLOCK_BAUS(head_ptr)); in U()
130 desc->last_freed = rem_head_ptr; in U()
140 U(descriptor) *desc, in U()
156 U(avl_subst)((U(avl_avl) *) & (desc->avl_tree_root), next); in U()
[all …]
Dhmm_alloc.c18 void *U(alloc)(U(descriptor) *desc, U(size_aau) n) { in U()
21 if (desc->avl_tree_root) in U()
22 AUDIT_BLOCK(PTR_REC_TO_HEAD(desc->avl_tree_root)) in U()
25 if (desc->last_freed) { in U()
27 AUDIT_BLOCK(desc->last_freed) in U()
30 U(into_free_collection)(desc, (head_record *)(desc->last_freed)); in U()
32 desc->last_freed = 0; in U()
50 (U(avl_avl) *) & (desc->avl_tree_root), (U(size_bau)) n, in U()
56 U(alloc_from_bin)(desc, ptr_rec_ptr, (U(size_bau)) n) : 0); in U()
Dhmm_resize.c18 int U(resize)(U(descriptor) *desc, void *mem, U(size_aau) n) { in U()
40 if (desc->avl_tree_root) in U()
41 AUDIT_BLOCK(PTR_REC_TO_HEAD(desc->avl_tree_root)) in U()
51 (next_head_ptr == desc->last_freed) || in U()
67 if (next_head_ptr == desc->last_freed) in U()
68 desc->last_freed = 0; in U()
70 U(out_of_free_collection)(desc, next_head_ptr); in U()
97 if (desc->last_freed) { in U()
99 AUDIT_BLOCK(desc->last_freed) in U()
102 U(into_free_collection)(desc, (head_record *)(desc->last_freed)); in U()
[all …]
Dhmm_largest.c18 U(size_aau) U(largest_available)(U(descriptor) *desc) { in U()
21 if (!(desc->avl_tree_root)) in U()
26 AUDIT_BLOCK(PTR_REC_TO_HEAD(desc->avl_tree_root)) in U()
33 (U(avl_avl) *) & (desc->avl_tree_root), in U()
37 if (desc->last_freed) { in U()
42 AUDIT_BLOCK(desc->last_freed) in U()
45 lf_size = BLOCK_BAUS(desc->last_freed); in U()
Dhmm_shrink.c18 void U(shrink_chunk)(U(descriptor) *desc, U(size_bau) n_baus_to_shrink) { in U()
20 BAUS_BACKWARD(desc->end_of_shrinkable_chunk, DUMMY_END_BLOCK_BAUS); in U()
39 if (last_block == desc->last_freed) { in U()
56 desc->last_freed = 0; in U()
76 if (desc->avl_tree_root) in U()
77 AUDIT_BLOCK(PTR_REC_TO_HEAD(desc->avl_tree_root)) in U()
80 U(into_free_collection)(desc, last_block); in U()
Dhmm_grow.c18 void U(grow_chunk)(U(descriptor) *desc, void *end, U(size_bau) n_baus) { in U()
46 U(free)(desc, HEAD_TO_PTR_REC(end)); in U()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_mem/memory_manager/include/
Dheapmm.h114 void HMM_UNIQUE(init)(HMM_UNIQUE(descriptor) *desc);
117 HMM_UNIQUE(descriptor) *desc, HMM_UNIQUE(size_aau) num_addr_align_units);
121 HMM_UNIQUE(descriptor) *desc, HMM_UNIQUE(size_aau) needed_addr_align_units,
125 HMM_UNIQUE(descriptor) *desc, void *mem,
130 HMM_UNIQUE(descriptor) *desc, void *mem,
134 void HMM_UNIQUE(free)(HMM_UNIQUE(descriptor) *desc, void *mem);
139 HMM_UNIQUE(descriptor) *desc);
142 HMM_UNIQUE(descriptor) *desc, void *start_of_chunk,
146 HMM_UNIQUE(descriptor) *desc, void *end_of_chunk,
151 HMM_UNIQUE(descriptor) *desc,
Dhmm_intrnl.h121 void U(into_free_collection)(U(descriptor) *desc, head_record *head_ptr);
123 void U(out_of_free_collection)(U(descriptor) *desc, head_record *head_ptr);
126 U(descriptor) *desc, ptr_record *bin_front_ptr, U(size_bau) n_baus);
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/
DAnnPlaneManager.cpp287 PlaneDescription& desc = PLANE_DESC['I' - 'A' + dsp]; in assignPlanes() local
288 if (!isFreePlane(desc.type, desc.index)) { in assignPlanes()
299 PlaneDescription& desc = PLANE_DESC[id - 'A']; in assignPlanes() local
300 if (!isFreePlane(desc.type, desc.index)) { in assignPlanes()
301 DLOGTRACE("plane type %d index %d is not available", desc.type, desc.index); in assignPlanes()
308 desc.type != DisplayPlane::PLANE_OVERLAY) { in assignPlanes()
309 ELOGTRACE("invalid plane type %d, expected %d", desc.type, config[i]->planeType); in assignPlanes()
319 if (desc.type != DisplayPlane::PLANE_PRIMARY && in assignPlanes()
320 desc.type != DisplayPlane::PLANE_SPRITE) { in assignPlanes()
321 ELOGTRACE("invalid plane type %d, expected %d", desc.type, config[i]->planeType); in assignPlanes()
[all …]
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/
DAnnPlaneManager.cpp321 PlaneDescription& desc = PLANE_DESC['I' - 'A' + dsp]; in assignPlanes() local
322 if (!isFreePlane(desc.type, desc.index)) { in assignPlanes()
334 PlaneDescription& desc = PLANE_DESC[id - 'A']; in assignPlanes() local
335 if (!isFreePlane(desc.type, desc.index)) { in assignPlanes()
336 DTRACE("plane type %d index %d is not available", desc.type, desc.index); in assignPlanes()
343 desc.type != DisplayPlane::PLANE_OVERLAY) { in assignPlanes()
344 ETRACE("invalid plane type %d, expected %d", desc.type, config[i]->planeType); in assignPlanes()
354 if (desc.type != DisplayPlane::PLANE_PRIMARY && in assignPlanes()
355 desc.type != DisplayPlane::PLANE_SPRITE) { in assignPlanes()
356 ETRACE("invalid plane type %d, expected %d", desc.type, config[i]->planeType); in assignPlanes()
[all …]
/hardware/ti/omap4-aah/camera/
DBaseCameraAdapter.cpp411 BuffersDescriptor *desc = NULL; in sendCommand() local
419 desc = ( BuffersDescriptor * ) value1; in sendCommand()
421 if ( NULL == desc ) in sendCommand()
435 mPreviewBuffers = desc->mBuffers; in sendCommand()
436 mPreviewBuffersLength = desc->mLength; in sendCommand()
439 for ( uint32_t i = 0 ; i < desc->mMaxQueueable ; i++ ) in sendCommand()
445 for ( uint32_t i = desc->mMaxQueueable ; i < desc->mCount ; i++ ) in sendCommand()
451 if ( NULL != desc ) in sendCommand()
454 desc->mBuffers, in sendCommand()
455 desc->mCount, in sendCommand()
[all …]
DCameraHal.cpp1830 CameraAdapter::BuffersDescriptor desc; in cameraPreviewInitialization() local
1935 desc.mBuffers = mPreviewDataBuffers; in cameraPreviewInitialization()
1936 desc.mOffsets = mPreviewDataOffsets; in cameraPreviewInitialization()
1937 desc.mFd = mPreviewDataFd; in cameraPreviewInitialization()
1938 desc.mLength = mPreviewDataLength; in cameraPreviewInitialization()
1939 desc.mCount = ( size_t ) required_buffer_count; in cameraPreviewInitialization()
1940 desc.mMaxQueueable = (size_t) required_buffer_count; in cameraPreviewInitialization()
1943 ( int ) &desc); in cameraPreviewInitialization()
1949 desc.mBuffers = mPreviewBuffers; in cameraPreviewInitialization()
1950 desc.mOffsets = mPreviewOffsets; in cameraPreviewInitialization()
[all …]
/hardware/ti/omap4xxx/test/CameraHal/
Dcamera_test.h107 const char *desc; member
112 const char *desc; member
117 const char *desc; member
127 const char *desc; member
132 const char *desc; member
137 const char *desc; member
Dcamera_test_script.cpp277 if( strcmp((cmd + 1), previewSize[i].desc) == 0) in execute_functional_script()
386 if( strcmp((cmd + 1), videoCodecs[i].desc) == 0) in execute_functional_script()
390 videoCodecs[i].desc); in execute_functional_script()
400 if( strcmp((cmd + 1), outputFormat[i].desc) == 0) in execute_functional_script()
404 videoCodecs[i].desc); in execute_functional_script()
426 if( strcmp((cmd + 1), audioCodecs[i].desc) == 0) in execute_functional_script()
429 printf("Selected Audio: %s\n", audioCodecs[i].desc); in execute_functional_script()
482 if( strcmp((cmd + 1), VcaptureSize[i].desc) == 0) in execute_functional_script()
485 printf("Video Capture Size: %s\n", VcaptureSize[i].desc); in execute_functional_script()
493 if( strcmp((cmd + 1), VbitRate[i].desc) == 0) in execute_functional_script()
[all …]
/hardware/qcom/audio/msm8909/voice_processing/
Dvoice_processing.c427 const effect_descriptor_t *desc; in init() local
438 desc = (const effect_descriptor_t *)dlsym(lib_handle, in init()
440 if (desc) in init()
441 descriptors[AEC_ID] = desc; in init()
443 desc = (const effect_descriptor_t *)dlsym(lib_handle, in init()
445 if (desc) in init()
446 descriptors[NS_ID] = desc; in init()
677 const effect_descriptor_t *desc; in lib_create() local
684 desc = get_descriptor(uuid); in lib_create()
686 if (desc == NULL) { in lib_create()
[all …]
/hardware/libhardware_legacy/audio/
DAudioPolicyManagerBase.cpp171 AudioOutputDescriptor *desc = mOutputs.valueFor(outputs[i]); in setDeviceConnectionState() local
175 (((desc->mFlags & AUDIO_OUTPUT_FLAG_DIRECT) != 0) && in setDeviceConnectionState()
176 (desc->mDirectOpenCount == 0))) { in setDeviceConnectionState()
361 AudioOutputDescriptor *desc = mOutputs.valueAt(i); in setPhoneState() local
365 if ((desc->isStrategyActive(STRATEGY_MEDIA, in setPhoneState()
368 desc->isStrategyActive(STRATEGY_SONIFICATION, in setPhoneState()
371 (delayMs < (int)desc->mLatency*2)) { in setPhoneState()
372 delayMs = desc->mLatency*2; in setPhoneState()
613 AudioOutputDescriptor *desc = mOutputs.valueAt(i); in getOutput() local
614 if (!desc->isDuplicated() && (profile == desc->mProfile)) { in getOutput()
[all …]
/hardware/qcom/audio/voice_processing/
Dvoice_processing.c424 const effect_descriptor_t *desc; in init() local
435 desc = (const effect_descriptor_t *)dlsym(lib_handle, in init()
437 if (desc) in init()
438 descriptors[AEC_ID] = desc; in init()
440 desc = (const effect_descriptor_t *)dlsym(lib_handle, in init()
442 if (desc) in init()
443 descriptors[NS_ID] = desc; in init()
674 const effect_descriptor_t *desc; in lib_create() local
681 desc = get_descriptor(uuid); in lib_create()
683 if (desc == NULL) { in lib_create()
[all …]
/hardware/ti/omap4xxx/camera/
DBaseCameraAdapter.cpp331 BuffersDescriptor *desc = NULL; in sendCommand() local
339 desc = ( BuffersDescriptor * ) value1; in sendCommand()
341 if ( NULL == desc ) in sendCommand()
355 mPreviewBuffers = (int *) desc->mBuffers; in sendCommand()
356 mPreviewBuffersLength = desc->mLength; in sendCommand()
358 for ( uint32_t i = 0 ; i < desc->mMaxQueueable ; i++ ) in sendCommand()
364 for ( uint32_t i = desc->mMaxQueueable ; i < desc->mCount ; i++ ) in sendCommand()
370 if ( NULL != desc ) in sendCommand()
373 desc->mBuffers, in sendCommand()
374 desc->mCount, in sendCommand()
[all …]
DCameraHal.cpp1432 CameraAdapter::BuffersDescriptor desc; in startPreview() local
1537 desc.mBuffers = mPreviewDataBufs; in startPreview()
1538 desc.mOffsets = mPreviewDataOffsets; in startPreview()
1539 desc.mFd = mPreviewDataFd; in startPreview()
1540 desc.mLength = mPreviewDataLength; in startPreview()
1541 desc.mCount = ( size_t ) required_buffer_count; in startPreview()
1542 desc.mMaxQueueable = (size_t) required_buffer_count; in startPreview()
1545 ( int ) &desc); in startPreview()
1551 desc.mBuffers = mPreviewBufs; in startPreview()
1552 desc.mOffsets = mPreviewOffsets; in startPreview()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/nestegg/
D0002-ne_read_simple-uninitialized_variable.diff6 ne_read_simple(nestegg * ctx, struct ebml_element_desc * desc, size_t length)
12 storage = (struct ebml_type *) (ctx->ancestor->data + desc->offset);
14 @@ -968,7 +968,6 @@ ne_read_simple(nestegg * ctx, struct ebml_element_desc * desc, size_t length)
/hardware/qcom/audio/msm8909/policy_hal/
DAudioPolicyManager.cpp262 sp<SwAudioOutputDescriptor> desc = mOutputs.valueFor(outputs[i]); in setDeviceConnectionStateInt() local
266 (((desc->mFlags & AUDIO_OUTPUT_FLAG_DIRECT) != 0) && in setDeviceConnectionStateInt()
267 (desc->mDirectOpenCount == 0))) { in setDeviceConnectionStateInt()
303 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in setDeviceConnectionStateInt() local
304 if ((mEngine->getPhoneState() != AUDIO_MODE_IN_CALL) || (desc != mPrimaryOutput)) { in setDeviceConnectionStateInt()
305 audio_devices_t newDevice = getNewOutputDevice(desc, true /*fromCache*/); in setDeviceConnectionStateInt()
309 bool force = !desc->isDuplicated() in setDeviceConnectionStateInt()
313 setOutputDevice(desc, newDevice, force, 0); in setDeviceConnectionStateInt()
844 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in setPhoneState() local
848 if ((isStrategyActive(desc, STRATEGY_MEDIA, in setPhoneState()
[all …]
/hardware/qcom/audio/legacy/alsa_sound/
DAudioPolicyManagerALSA.cpp122 AudioOutputDescriptor *desc = mOutputs.valueAt(i); in setPhoneState() local
124 if (delayMs < desc->mLatency*2) { in setPhoneState()
125 delayMs = desc->mLatency*2; in setPhoneState()
128 if (desc->strategyRefCount(STRATEGY_MEDIA) != 0) { in setPhoneState()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/nestegg/src/
Dnestegg.c907 ne_read_master(nestegg * ctx, struct ebml_element_desc * desc) in ne_read_master() argument
912 assert(desc->type == TYPE_MASTER && desc->flags & DESC_FLAG_MULTI); in ne_read_master()
915 desc->id, desc->name); in ne_read_master()
917 list = (struct ebml_list *) (ctx->ancestor->data + desc->offset); 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()
932 ne_ctx_push(ctx, desc->children, node->data); in ne_read_master()
936 ne_read_single_master(nestegg * ctx, struct ebml_element_desc * desc) in ne_read_single_master() argument
938 assert(desc->type == TYPE_MASTER && !(desc->flags & DESC_FLAG_MULTI)); in ne_read_single_master()
941 desc->id, desc->name); in ne_read_single_master()
[all …]
/hardware/ti/omap4-aah/test/CameraHal/
Dcamera_test.h178 const char *desc; member
183 const char *desc; member
193 const char *desc; member
198 const char *desc; member
203 const char *desc; member
227 const char *desc; member
/hardware/qcom/audio/msm8909/post_proc/
Dbundle.c360 context->desc = &equalizer_descriptor; in effect_lib_create()
380 context->desc = &bassboost_descriptor; in effect_lib_create()
401 context->desc = &virtualizer_descriptor; in effect_lib_create()
429 context->desc = &aux_env_reverb_descriptor; in effect_lib_create()
433 context->desc = &ins_env_reverb_descriptor; in effect_lib_create()
437 context->desc = &aux_preset_reverb_descriptor; in effect_lib_create()
441 context->desc = &ins_preset_reverb_descriptor; in effect_lib_create()
756 *descriptor = *context->desc; in effect_get_descriptor()

123