Home
last modified time | relevance | path

Searched refs:pDescriptor (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/wilhelm/src/itf/
DIEngineCapabilities.c103 SLuint32 *pIndex, SLuint32 *pLEDDeviceID, SLLEDDescriptor *pDescriptor) in IEngineCapabilities_QueryLEDCapabilities() argument
112 if (NULL != pLEDDeviceID || NULL != pDescriptor) { in IEngineCapabilities_QueryLEDCapabilities()
120 if (NULL != pDescriptor) in IEngineCapabilities_QueryLEDCapabilities()
121 *pDescriptor = *id_descriptor->descriptor; in IEngineCapabilities_QueryLEDCapabilities()
127 if (NULL != pLEDDeviceID && NULL != pDescriptor) { in IEngineCapabilities_QueryLEDCapabilities()
132 *pDescriptor = *id_descriptor->descriptor; in IEngineCapabilities_QueryLEDCapabilities()
145 SLuint32 *pIndex, SLuint32 *pVibraDeviceID, SLVibraDescriptor *pDescriptor) in IEngineCapabilities_QueryVibraCapabilities() argument
154 if (NULL != pVibraDeviceID || NULL != pDescriptor) { in IEngineCapabilities_QueryVibraCapabilities()
162 if (NULL != pDescriptor) in IEngineCapabilities_QueryVibraCapabilities()
163 *pDescriptor = *id_descriptor->descriptor; in IEngineCapabilities_QueryVibraCapabilities()
[all …]
DIAudioIODeviceCapabilities.c48 SLAudioIODeviceCapabilitiesItf self, SLuint32 deviceID, SLAudioInputDescriptor *pDescriptor) in IAudioIODeviceCapabilities_QueryAudioInputCapabilities() argument
52 if (NULL == pDescriptor) { in IAudioIODeviceCapabilities_QueryAudioInputCapabilities()
58 *pDescriptor = *AudioInput_id_descriptors[0].descriptor; in IAudioIODeviceCapabilities_QueryAudioInputCapabilities()
114 SLAudioIODeviceCapabilitiesItf self, SLuint32 deviceID, SLAudioOutputDescriptor *pDescriptor) in IAudioIODeviceCapabilities_QueryAudioOutputCapabilities() argument
118 if (NULL == pDescriptor) { in IAudioIODeviceCapabilities_QueryAudioOutputCapabilities()
124 *pDescriptor = *AudioOutput_id_descriptors[1].descriptor; in IAudioIODeviceCapabilities_QueryAudioOutputCapabilities()
127 *pDescriptor = *AudioOutput_id_descriptors[2].descriptor; in IAudioIODeviceCapabilities_QueryAudioOutputCapabilities()
DIVideoDecoderCapabilities.cpp68 XAVideoCodecDescriptor *pDescriptor) in IVideoDecoderCapabilities_GetVideoDecoderCapabilities() argument
75 if (NULL == pDescriptor) { in IVideoDecoderCapabilities_GetVideoDecoderCapabilities()
92 pDescriptor); in IVideoDecoderCapabilities_GetVideoDecoderCapabilities()
96 pDescriptor->codecId = decoderId; in IVideoDecoderCapabilities_GetVideoDecoderCapabilities()
DIAudioDecoderCapabilities.c50 SLAudioCodecDescriptor *pDescriptor) in IAudioDecoderCapabilities_GetAudioDecoderCapabilities() argument
54 result = GetCodecCapabilities(decoderId, pIndex, pDescriptor, DecoderDescriptors); in IAudioDecoderCapabilities_GetAudioDecoderCapabilities()
DIAudioEncoderCapabilities.c50 SLAudioCodecDescriptor *pDescriptor) in IAudioEncoderCapabilities_GetAudioEncoderCapabilities() argument
54 result = GetCodecCapabilities(encoderId, pIndex, pDescriptor, in IAudioEncoderCapabilities_GetAudioEncoderCapabilities()
DIEngine.c1387 XAuint32 *pLEDDeviceID, XALEDDescriptor *pDescriptor) in IXAEngine_QueryLEDCapabilities() argument
1392 pLEDDeviceID, (SLLEDDescriptor *) pDescriptor); in IXAEngine_QueryLEDCapabilities()
1397 XAuint32 *pVibraDeviceID, XAVibraDescriptor *pDescriptor) in IXAEngine_QueryVibraCapabilities() argument
1402 pVibraDeviceID, (SLVibraDescriptor *) pDescriptor); in IXAEngine_QueryVibraCapabilities()
/frameworks/wilhelm/src/
Ddevices.c210 SLAudioCodecDescriptor *pDescriptor, const CodecDescriptor *codecDescriptors) in GetCodecCapabilities() argument
217 if (NULL == pDescriptor) { in GetCodecCapabilities()
230 *pDescriptor = *cd->mDescriptor; in GetCodecCapabilities()
232 if (0 < pDescriptor->numSampleRatesSupported) { in GetCodecCapabilities()
235 pDescriptor->numSampleRatesSupported); in GetCodecCapabilities()
237 memcpy(temp, pDescriptor->pSampleRatesSupported, sizeof(SLmilliHertz) * in GetCodecCapabilities()
238 pDescriptor->numSampleRatesSupported); in GetCodecCapabilities()
239 pDescriptor->pSampleRatesSupported = temp; in GetCodecCapabilities()
241 pDescriptor->pSampleRatesSupported = NULL; in GetCodecCapabilities()
Ddevices.h65 SLAudioCodecDescriptor *pDescriptor,
Dsles_allinclusive.h415 SLuint32 *pIndex, SLuint32 *pLEDDeviceID, SLLEDDescriptor *pDescriptor);
417 SLuint32 *pIndex, SLuint32 *pVibraDeviceID, SLVibraDescriptor *pDescriptor);
/frameworks/av/include/media/
DEffectsFactoryApi.h81 int EffectQueryEffect(uint32_t index, effect_descriptor_t *pDescriptor);
154 int EffectGetDescriptor(const effect_uuid_t *pEffectUuid, effect_descriptor_t *pDescriptor);
DIAudioFlinger.h167 virtual status_t queryEffect(uint32_t index, effect_descriptor_t *pDescriptor) const = 0;
170 effect_descriptor_t *pDescriptor) const = 0;
/frameworks/av/media/libeffects/downmix/
DEffectDownmix.h70 effect_descriptor_t *pDescriptor);
77 effect_descriptor_t *pDescriptor);
89 effect_descriptor_t *pDescriptor);
DEffectDownmix.c168 int32_t DownmixLib_QueryEffect(uint32_t index, effect_descriptor_t *pDescriptor) { in DownmixLib_QueryEffect() argument
170 if (pDescriptor == NULL) { in DownmixLib_QueryEffect()
176 memcpy(pDescriptor, gDescriptors[index], sizeof(effect_descriptor_t)); in DownmixLib_QueryEffect()
263 int32_t DownmixLib_GetDescriptor(const effect_uuid_t *uuid, effect_descriptor_t *pDescriptor) { in DownmixLib_GetDescriptor() argument
267 if (pDescriptor == NULL || uuid == NULL){ in DownmixLib_GetDescriptor()
275 memcpy(pDescriptor, gDescriptors[i], sizeof(effect_descriptor_t)); in DownmixLib_GetDescriptor()
530 int Downmix_GetDescriptor(effect_handle_t self, effect_descriptor_t *pDescriptor) in Downmix_GetDescriptor() argument
539 memcpy(pDescriptor, &gDownmixDescriptor, sizeof(effect_descriptor_t)); in Downmix_GetDescriptor()
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp186 effect_descriptor_t *pDescriptor) { in VisualizerLib_QueryEffect() argument
187 if (pDescriptor == NULL) { in VisualizerLib_QueryEffect()
193 memcpy(pDescriptor, &gVisualizerDescriptor, sizeof(effect_descriptor_t)); in VisualizerLib_QueryEffect()
248 effect_descriptor_t *pDescriptor) { in VisualizerLib_GetDescriptor() argument
250 if (pDescriptor == NULL || uuid == NULL){ in VisualizerLib_GetDescriptor()
256 memcpy(pDescriptor, &gVisualizerDescriptor, sizeof(effect_descriptor_t)); in VisualizerLib_GetDescriptor()
555 effect_descriptor_t *pDescriptor) in Visualizer_getDescriptor() argument
559 if (pContext == NULL || pDescriptor == NULL) { in Visualizer_getDescriptor()
564 memcpy(pDescriptor, &gVisualizerDescriptor, sizeof(effect_descriptor_t)); in Visualizer_getDescriptor()
/frameworks/av/media/libeffects/testlibs/
DEffectEqualizer.cpp132 effect_descriptor_t *pDescriptor) { in EffectQueryEffect() argument
133 if (pDescriptor == NULL) { in EffectQueryEffect()
139 memcpy(pDescriptor, &gEqualizerDescriptor, sizeof(effect_descriptor_t)); in EffectQueryEffect()
199 effect_descriptor_t *pDescriptor) { in EffectGetDescriptor() argument
201 if (pDescriptor == NULL || uuid == NULL){ in EffectGetDescriptor()
207 memcpy(pDescriptor, &gEqualizerDescriptor, sizeof(effect_descriptor_t)); in EffectGetDescriptor()
746 effect_descriptor_t *pDescriptor) in Equalizer_getDescriptor() argument
750 if (pContext == NULL || pDescriptor == NULL) { in Equalizer_getDescriptor()
755 memcpy(pDescriptor, &android::gEqualizerDescriptor, sizeof(effect_descriptor_t)); in Equalizer_getDescriptor()
DEffectReverb.h305 effect_descriptor_t *pDescriptor);
312 effect_descriptor_t *pDescriptor);
324 effect_descriptor_t *pDescriptor);
DEffectReverb.c102 int EffectQueryEffect(uint32_t index, effect_descriptor_t *pDescriptor) { in EffectQueryEffect() argument
103 if (pDescriptor == NULL) { in EffectQueryEffect()
109 memcpy(pDescriptor, gDescriptors[index], in EffectQueryEffect()
186 effect_descriptor_t *pDescriptor) { in EffectGetDescriptor() argument
190 if (pDescriptor == NULL || uuid == NULL){ in EffectGetDescriptor()
197 memcpy(pDescriptor, gDescriptors[i], sizeof(effect_descriptor_t)); in EffectGetDescriptor()
416 effect_descriptor_t *pDescriptor) in Reverb_GetDescriptor() argument
443 memcpy(pDescriptor, desc, sizeof(effect_descriptor_t)); in Reverb_GetDescriptor()
/frameworks/av/media/libeffects/factory/
DEffectsFactory.c195 int EffectQueryEffect(uint32_t index, effect_descriptor_t *pDescriptor) in EffectQueryEffect() argument
201 if (pDescriptor == NULL || in EffectQueryEffect()
217 memcpy(pDescriptor, gCurEffect->object, sizeof(effect_descriptor_t)); in EffectQueryEffect()
232 dumpEffectDescriptor(pDescriptor, str, 256); in EffectQueryEffect()
239 int EffectGetDescriptor(const effect_uuid_t *uuid, effect_descriptor_t *pDescriptor) in EffectGetDescriptor() argument
248 if (pDescriptor == NULL || uuid == NULL) { in EffectGetDescriptor()
254 memcpy(pDescriptor, d, sizeof(effect_descriptor_t)); in EffectGetDescriptor()
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp198 effect_descriptor_t *pDescriptor){ in EffectQueryEffect() argument
201 if (pDescriptor == NULL){ in EffectQueryEffect()
209 memcpy(pDescriptor, gDescriptors[index], sizeof(effect_descriptor_t)); in EffectQueryEffect()
322 effect_descriptor_t *pDescriptor) { in EffectGetDescriptor() argument
326 if (pDescriptor == NULL || uuid == NULL){ in EffectGetDescriptor()
333 memcpy(pDescriptor, gDescriptors[i], sizeof(effect_descriptor_t)); in EffectGetDescriptor()
2136 effect_descriptor_t *pDescriptor) in Reverb_getDescriptor() argument
2141 if (pContext == NULL || pDescriptor == NULL) { in Reverb_getDescriptor()
2160 memcpy(pDescriptor, desc, sizeof(effect_descriptor_t)); in Reverb_getDescriptor()
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp169 extern "C" int EffectQueryEffect(uint32_t index, effect_descriptor_t *pDescriptor){ in EffectQueryEffect() argument
173 if (pDescriptor == NULL){ in EffectQueryEffect()
183 memcpy(pDescriptor, &gBassBoostDescriptor, sizeof(effect_descriptor_t)); in EffectQueryEffect()
186 memcpy(pDescriptor, &gVirtualizerDescriptor, sizeof(effect_descriptor_t)); in EffectQueryEffect()
189 memcpy(pDescriptor, &gEqualizerDescriptor, sizeof(effect_descriptor_t)); in EffectQueryEffect()
192 memcpy(pDescriptor, &gVolumeDescriptor, sizeof(effect_descriptor_t)); in EffectQueryEffect()
475 effect_descriptor_t *pDescriptor) { in EffectGetDescriptor() argument
478 if (pDescriptor == NULL || uuid == NULL){ in EffectGetDescriptor()
497 memcpy(pDescriptor, desc, sizeof(effect_descriptor_t)); in EffectGetDescriptor()
3248 effect_descriptor_t *pDescriptor) in Effect_getDescriptor() argument
[all …]
/frameworks/wilhelm/src/android/
Dandroid_Effect.cpp712 SLresult android_genericFx_queryEffect(SLuint32 index, effect_descriptor_t* pDescriptor) { in android_genericFx_queryEffect() argument
714 if (NULL == pDescriptor) { in android_genericFx_queryEffect()
719 android::AudioEffect::queryEffect(index, pDescriptor); in android_genericFx_queryEffect()
740 memset(pDescriptor, 0, sizeof(effect_descriptor_t)); in android_genericFx_queryEffect()
Dandroid_Effect.h77 extern SLresult android_genericFx_queryEffect(SLuint32 index, effect_descriptor_t* pDescriptor);
/frameworks/wilhelm/include/OMXAL/
DOpenMAXAL.h664 XALEDDescriptor * pDescriptor
670 XAVibraDescriptor * pDescriptor
1618 XACameraDescriptor * pDescriptor
1916 XAAudioInputDescriptor * pDescriptor
1931 XAAudioOutputDescriptor * pDescriptor
2766 XAAudioCodecDescriptor * pDescriptor
2802 XAAudioCodecDescriptor * pDescriptor
2839 XAImageCodecDescriptor * pDescriptor
2858 XAImageCodecDescriptor * pDescriptor
3028 XAVideoCodecDescriptor * pDescriptor
[all …]
/frameworks/av/media/libeffects/preprocessing/
DPreProcessing.cpp1695 effect_descriptor_t *pDescriptor) in PreProcessingFx_GetDescriptor() argument
1699 if (effect == NULL || pDescriptor == NULL) { in PreProcessingFx_GetDescriptor()
1703 memcpy(pDescriptor, sDescriptors[effect->procId], sizeof(effect_descriptor_t)); in PreProcessingFx_GetDescriptor()
1829 int PreProcessingLib_QueryEffect(uint32_t index, effect_descriptor_t *pDescriptor) in PreProcessingLib_QueryEffect() argument
1837 memcpy(pDescriptor, sDescriptors[index], sizeof(effect_descriptor_t)); in PreProcessingLib_QueryEffect()
1894 effect_descriptor_t *pDescriptor) { in PreProcessingLib_GetDescriptor() argument
1896 if (pDescriptor == NULL || uuid == NULL){ in PreProcessingLib_GetDescriptor()
1908 memcpy(pDescriptor, desc, sizeof(effect_descriptor_t)); in PreProcessingLib_GetDescriptor()
/frameworks/av/media/libmedia/
DIAudioFlinger.cpp573 virtual status_t queryEffect(uint32_t index, effect_descriptor_t *pDescriptor) const in queryEffect()
575 if (pDescriptor == NULL) { in queryEffect()
589 reply.read(pDescriptor, sizeof(effect_descriptor_t)); in queryEffect()
594 effect_descriptor_t *pDescriptor) const in getEffectDescriptor()
596 if (pUuid == NULL || pDescriptor == NULL) { in getEffectDescriptor()
610 reply.read(pDescriptor, sizeof(effect_descriptor_t)); in getEffectDescriptor()

12