Home
last modified time | relevance | path

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

12

/frameworks/wilhelm/src/itf/
DIEngineCapabilities.cpp103 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.cpp48 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()
DIAudioEncoderCapabilities.cpp50 SLAudioCodecDescriptor *pDescriptor) in IAudioEncoderCapabilities_GetAudioEncoderCapabilities() argument
54 result = GetCodecCapabilities(encoderId, pIndex, pDescriptor, in IAudioEncoderCapabilities_GetAudioEncoderCapabilities()
DIAudioDecoderCapabilities.cpp50 SLAudioCodecDescriptor *pDescriptor) in IAudioDecoderCapabilities_GetAudioDecoderCapabilities() argument
54 result = GetCodecCapabilities(decoderId, pIndex, pDescriptor, DecoderDescriptors); in IAudioDecoderCapabilities_GetAudioDecoderCapabilities()
/frameworks/wilhelm/src/
Ddevices.cpp207 SLAudioCodecDescriptor *pDescriptor, const CodecDescriptor *codecDescriptors) in GetCodecCapabilities() argument
214 if (NULL == pDescriptor) { in GetCodecCapabilities()
227 *pDescriptor = *cd->mDescriptor; in GetCodecCapabilities()
229 if (0 < pDescriptor->numSampleRatesSupported) { in GetCodecCapabilities()
232 pDescriptor->numSampleRatesSupported); in GetCodecCapabilities()
234 memcpy(temp, pDescriptor->pSampleRatesSupported, sizeof(SLmilliHertz) * in GetCodecCapabilities()
235 pDescriptor->numSampleRatesSupported); in GetCodecCapabilities()
236 pDescriptor->pSampleRatesSupported = temp; in GetCodecCapabilities()
238 pDescriptor->pSampleRatesSupported = NULL; in GetCodecCapabilities()
Ddevices.h65 SLAudioCodecDescriptor *pDescriptor,
Dsles_allinclusive.h423 SLuint32 *pIndex, SLuint32 *pLEDDeviceID, SLLEDDescriptor *pDescriptor);
425 SLuint32 *pIndex, SLuint32 *pVibraDeviceID, SLVibraDescriptor *pDescriptor);
/frameworks/av/media/libeffects/downmix/tests/
Ddownmixtest.cpp88 int32_t DownmixConfiureAndEnable(downmix_cntxt_s *pDescriptor) { in DownmixConfiureAndEnable() argument
89 effect_handle_t effectHandle = pDescriptor->handle; in DownmixConfiureAndEnable()
95 sizeof(effect_config_t), &(pDescriptor->config), in DownmixConfiureAndEnable()
111 int32_t DownmixExecute(downmix_cntxt_s *pDescriptor, FILE *finp, in DownmixExecute() argument
113 effect_handle_t effectHandle = pDescriptor->handle; in DownmixExecute()
116 const int numFileChannels = pDescriptor->numFileChannels; in DownmixExecute()
117 const int numProcessChannels = pDescriptor->numProcessChannels; in DownmixExecute()
166 int32_t DowmixMainProcess(downmix_cntxt_s *pDescriptor, FILE *finp, in DowmixMainProcess() argument
168 effect_handle_t *effectHandle = &pDescriptor->handle; in DowmixMainProcess()
182 err = DownmixConfiureAndEnable(pDescriptor); in DowmixMainProcess()
[all …]
/frameworks/av/media/libeffects/proxy/
DEffectProxy.cpp177 effect_descriptor_t *pDescriptor) { in EffectProxyGetDescriptor() argument
180 if (pDescriptor == NULL || uuid == NULL) { in EffectProxyGetDescriptor()
185 *pDescriptor = *desc; in EffectProxyGetDescriptor()
350 effect_descriptor_t *pDescriptor) { in Effect_getDescriptor() argument
356 if (pContext == NULL || pDescriptor == NULL) { in Effect_getDescriptor()
365 *pDescriptor = *desc; in Effect_getDescriptor()
366 pDescriptor->uuid = pContext->uuid; // Replace the uuid with the Proxy UUID in Effect_getDescriptor()
369 pDescriptor->flags |= EFFECT_FLAG_OFFLOAD_SUPPORTED; in Effect_getDescriptor()
371 pDescriptor->flags &= ~EFFECT_FLAG_OFFLOAD_SUPPORTED; in Effect_getDescriptor()
DEffectProxy.h39 effect_descriptor_t *pDescriptor);
53 effect_descriptor_t *pDescriptor);
/frameworks/av/media/libeffects/factory/include/media/
DEffectsFactoryApi.h85 int EffectQueryEffect(uint32_t index, effect_descriptor_t *pDescriptor);
192 int EffectGetDescriptor(const effect_uuid_t *pEffectUuid, effect_descriptor_t *pDescriptor);
/frameworks/av/include/media/
DEffectsFactoryApi.h85 int EffectQueryEffect(uint32_t index, effect_descriptor_t *pDescriptor);
192 int EffectGetDescriptor(const effect_uuid_t *pEffectUuid, effect_descriptor_t *pDescriptor);
/frameworks/av/media/libaudiohal/impl/
DEffectsFactoryHalHidl.cpp73 uint32_t index, effect_descriptor_t *pDescriptor) { in getDescriptor() argument
82 EffectUtils::effectDescriptorToHal(mLastDescriptors[index], pDescriptor); in getDescriptor()
87 const effect_uuid_t *pEffectUuid, effect_descriptor_t *pDescriptor) { in getDescriptor() argument
97 EffectUtils::effectDescriptorToHal(result, pDescriptor); in getDescriptor()
DEffectsFactoryHalHidl.h43 effect_descriptor_t *pDescriptor);
46 effect_descriptor_t *pDescriptor);
DEffectHalHidl.h56 virtual status_t getDescriptor(effect_descriptor_t *pDescriptor);
/frameworks/av/media/libaudiohal/include/media/audiohal/
DEffectsFactoryHalInterface.h35 effect_descriptor_t *pDescriptor) = 0;
38 effect_descriptor_t *pDescriptor) = 0;
DEffectHalInterface.h50 virtual status_t getDescriptor(effect_descriptor_t *pDescriptor) = 0;
/frameworks/av/media/libeffects/factory/
DEffectsFactory.c192 int EffectQueryEffect(uint32_t index, effect_descriptor_t *pDescriptor) in EffectQueryEffect() argument
198 if (pDescriptor == NULL || in EffectQueryEffect()
214 *pDescriptor = *(effect_descriptor_t *)gCurEffect->object; in EffectQueryEffect()
229 dumpEffectDescriptor(pDescriptor, str, sizeof(str), 0 /* indent */); in EffectQueryEffect()
236 int EffectGetDescriptor(const effect_uuid_t *uuid, effect_descriptor_t *pDescriptor) in EffectGetDescriptor() argument
245 if (pDescriptor == NULL || uuid == NULL) { in EffectGetDescriptor()
251 *pDescriptor = *d; in EffectGetDescriptor()
/frameworks/av/media/libeffects/loudness/
DEffectLoudnessEnhancer.cpp264 effect_descriptor_t *pDescriptor) { in LELib_GetDescriptor() argument
266 if (pDescriptor == NULL || uuid == NULL){ in LELib_GetDescriptor()
272 *pDescriptor = gLEDescriptor; in LELib_GetDescriptor()
470 effect_descriptor_t *pDescriptor) in LE_getDescriptor() argument
474 if (pContext == NULL || pDescriptor == NULL) { in LE_getDescriptor()
479 *pDescriptor = gLEDescriptor; in LE_getDescriptor()
/frameworks/av/media/libeffects/testlibs/
DEffectEqualizer.cpp185 effect_descriptor_t *pDescriptor) { in EffectGetDescriptor() argument
187 if (pDescriptor == NULL || uuid == NULL){ in EffectGetDescriptor()
193 *pDescriptor = gEqualizerDescriptor; in EffectGetDescriptor()
731 effect_descriptor_t *pDescriptor) in Equalizer_getDescriptor() argument
735 if (pContext == NULL || pDescriptor == NULL) { in Equalizer_getDescriptor()
740 *pDescriptor = android::gEqualizerDescriptor; in Equalizer_getDescriptor()
DEffectReverb.h309 effect_descriptor_t *pDescriptor);
321 effect_descriptor_t *pDescriptor);
/frameworks/av/media/libeffects/downmix/
DEffectDownmix.cpp59 effect_descriptor_t *pDescriptor);
70 effect_descriptor_t *pDescriptor);
290 const effect_uuid_t *uuid, effect_descriptor_t *pDescriptor) { in DownmixLib_GetDescriptor() argument
294 if (pDescriptor == NULL || uuid == NULL){ in DownmixLib_GetDescriptor()
302 memcpy(pDescriptor, gDescriptors[i], sizeof(effect_descriptor_t)); in DownmixLib_GetDescriptor()
557 static int32_t Downmix_GetDescriptor(effect_handle_t self, effect_descriptor_t *pDescriptor) in Downmix_GetDescriptor() argument
566 memcpy(pDescriptor, &gDownmixDescriptor, sizeof(effect_descriptor_t)); in Downmix_GetDescriptor()
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp302 effect_descriptor_t *pDescriptor) { in VisualizerLib_GetDescriptor() argument
304 if (pDescriptor == NULL || uuid == NULL){ in VisualizerLib_GetDescriptor()
310 *pDescriptor = gVisualizerDescriptor; in VisualizerLib_GetDescriptor()
763 effect_descriptor_t *pDescriptor) in Visualizer_getDescriptor() argument
767 if (pContext == NULL || pDescriptor == NULL) { in Visualizer_getDescriptor()
772 *pDescriptor = gVisualizerDescriptor; in Visualizer_getDescriptor()
/frameworks/av/media/libeffects/dynamicsproc/
DEffectDynamicsProcessing.cpp303 effect_descriptor_t *pDescriptor) { in DPLib_GetDescriptor() argument
305 if (pDescriptor == NULL || uuid == NULL){ in DPLib_GetDescriptor()
311 *pDescriptor = gDPDescriptor; in DPLib_GetDescriptor()
1260 effect_descriptor_t *pDescriptor) in DP_getDescriptor() argument
1264 if (pContext == NULL || pDescriptor == NULL) { in DP_getDescriptor()
1269 *pDescriptor = gDPDescriptor; in DP_getDescriptor()

12