Home
last modified time | relevance | path

Searched refs:pCmdData (Results 1 – 23 of 23) sorted by relevance

/frameworks/av/media/libeffects/downmix/
DEffectDownmix.c388 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Downmix_Command() argument
411 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in Downmix_Command()
416 (effect_config_t *)pCmdData, false); in Downmix_Command()
425 pCmdData, *replySize, pReplyData); in Downmix_Command()
426 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) || in Downmix_Command()
432 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + sizeof(int32_t)); in Downmix_Command()
442 ", pReplyData %p", cmdSize, pCmdData, *replySize, pReplyData); in Downmix_Command()
443 if (pCmdData == NULL || (cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t))) in Downmix_Command()
447 effect_param_t *cmd = (effect_param_t *) pCmdData; in Downmix_Command()
487 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) { in Downmix_Command()
[all …]
DEffectDownmix.h82 void *pCmdData,
/frameworks/av/media/libeffects/testlibs/
DEffectEqualizer.cpp627 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Equalizer_command() argument
648 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in Equalizer_command()
653 (effect_config_t *) pCmdData); in Equalizer_command()
659 Equalizer_getConfig(pContext, (effect_config_t *) pCmdData); in Equalizer_command()
665 if (pCmdData == NULL || cmdSize < (sizeof(effect_param_t) + sizeof(int32_t)) || in Equalizer_command()
669 effect_param_t *p = (effect_param_t *)pCmdData; in Equalizer_command()
670 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + p->psize); in Equalizer_command()
677 *(int32_t *)((char *)pCmdData + sizeof(effect_param_t)), *replySize, in Equalizer_command()
684 cmdSize, pCmdData, *replySize, pReplyData); in Equalizer_command()
685 if (pCmdData == NULL || cmdSize < (sizeof(effect_param_t) + sizeof(int32_t)) || in Equalizer_command()
[all …]
DEffectReverb.c280 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Reverb_Command() argument
305 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in Reverb_Command()
310 (effect_config_t *)pCmdData, false); in Reverb_Command()
316 Reverb_getConfig(pRvbModule, (effect_config_t *) pCmdData); in Reverb_Command()
322 …ommand EFFECT_CMD_GET_PARAM pCmdData %p, *replySize %d, pReplyData: %p",pCmdData, *replySize, pRep… in Reverb_Command()
324 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) || in Reverb_Command()
329 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + sizeof(int32_t)); in Reverb_Command()
337 cmdSize, pCmdData, *replySize, pReplyData); in Reverb_Command()
338 if (pCmdData == NULL || (cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t))) in Reverb_Command()
342 effect_param_t *cmd = (effect_param_t *) pCmdData; in Reverb_Command()
[all …]
DEffectReverb.h317 void *pCmdData,
/frameworks/av/media/libeffects/preprocessing/
DPreProcessing.cpp1400 void *pCmdData, in PreProcessingFx_Command() argument
1426 if (pCmdData == NULL|| in PreProcessingFx_Command()
1442 *(int *)pReplyData = Session_SetConfig(effect->session, (effect_config_t *)pCmdData); in PreProcessingFx_Command()
1468 if (pCmdData == NULL || in PreProcessingFx_Command()
1477 (effect_config_t *)pCmdData); in PreProcessingFx_Command()
1490 Session_GetReverseConfig(effect->session, (effect_config_t *)pCmdData); in PreProcessingFx_Command()
1500 effect_param_t *p = (effect_param_t *)pCmdData; in PreProcessingFx_Command()
1502 if (pCmdData == NULL || cmdSize < sizeof(effect_param_t) || in PreProcessingFx_Command()
1511 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + p->psize); in PreProcessingFx_Command()
1526 if (pCmdData == NULL|| in PreProcessingFx_Command()
[all …]
/frameworks/av/media/libeffects/loudness/
DEffectLoudnessEnhancer.cpp311 void *pCmdData, uint32_t *replySize, void *pReplyData) { in LE_command() argument
329 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in LE_command()
334 (effect_config_t *) pCmdData); in LE_command()
369 if (pCmdData == NULL || in LE_command()
375 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + sizeof(uint32_t)); in LE_command()
395 if (pCmdData == NULL || in LE_command()
401 effect_param_t *p = (effect_param_t *)pCmdData; in LE_command()
/frameworks/av/media/libmedia/
DIEffectClient.cpp61 void *pCmdData, in commandExecuted() argument
70 if (pCmdData == NULL) { in commandExecuted()
75 data.write(pCmdData, size); in commandExecuted()
DIEffect.cpp64 void *pCmdData, in command() argument
73 if (pCmdData == NULL) { in command()
78 data.write(pCmdData, size); in command()
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp3005 void *pCmdData, in Effect_command() argument
3070 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) || in Effect_command()
3076 *(int *) pReplyData = android::Effect_setConfig(pContext, (effect_config_t *) pCmdData); in Effect_command()
3099 effect_param_t *p = (effect_param_t *)pCmdData; in Effect_command()
3104 if (pCmdData == NULL || cmdSize < sizeof(effect_param_t) || in Effect_command()
3112 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + p->psize); in Effect_command()
3182 if (pCmdData == NULL || in Effect_command()
3189 effect_param_t *p = (effect_param_t *) pCmdData; in Effect_command()
3215 if (pCmdData == NULL || in Effect_command()
3224 effect_param_t *p = (effect_param_t *) pCmdData; in Effect_command()
[all …]
/frameworks/av/media/libeffects/proxy/
DEffectProxy.cpp203 void *pCmdData, in Effect_command() argument
244 if (cmdSize == 0 || pCmdData == NULL) { in Effect_command()
249 effect_offload_param_t* offloadParam = (effect_offload_param_t*)pCmdData; in Effect_command()
268 pCmdData, replySize, pReplyData); in Effect_command()
328 pCmdData, subReplySize[i], subReplyData[i]); in Effect_command()
DEffectProxy.h49 void *pCmdData,
/frameworks/av/include/media/
DAudioEffect.h425 void *pCmdData,
454 void *pCmdData, in commandExecuted() argument
460 cmdCode, cmdSize, pCmdData, replySize, pReplyData); in commandExecuted()
DIEffectClient.h36 void *pCmdData,
DIEffect.h38 void *pCmdData,
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp414 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Visualizer_command() argument
433 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in Visualizer_command()
438 (effect_config_t *) pCmdData); in Visualizer_command()
473 if (pCmdData == NULL || in Visualizer_command()
479 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + sizeof(uint32_t)); in Visualizer_command()
511 if (pCmdData == NULL || in Visualizer_command()
517 effect_param_t *p = (effect_param_t *)pCmdData; in Visualizer_command()
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp1897 void *pCmdData, in Reverb_command() argument
1929 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) || in Reverb_command()
1936 (effect_config_t *) pCmdData); in Reverb_command()
1958 effect_param_t *p = (effect_param_t *)pCmdData; in Reverb_command()
1963 if (pCmdData == NULL || cmdSize < sizeof(effect_param_t) || in Reverb_command()
1972 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + p->psize); in Reverb_command()
2001 if (pCmdData == NULL || (cmdSize < (sizeof(effect_param_t) + sizeof(int32_t))) || in Reverb_command()
2008 effect_param_t *p = (effect_param_t *) pCmdData; in Reverb_command()
2072 if (pCmdData == NULL || in Reverb_command()
2081 pContext->leftVolume = (LVM_INT16)((*(uint32_t *)pCmdData + (1 << 11)) >> 12); in Reverb_command()
[all …]
/frameworks/av/services/audioflinger/
DEffects.h66 void *pCmdData,
181 void *pCmdData,
200 void *pCmdData,
DEffects.cpp548 void *pCmdData, in command() argument
563 ((effect_param_t *)pCmdData)->psize > *replySize - sizeof(effect_param_t))) { in command()
570 pCmdData, in command()
578 h->commandExecuted(cmdCode, cmdSize, pCmdData, size, pReplyData); in command()
1209 void *pCmdData, in command() argument
1285 return mEffect->command(cmdCode, cmdSize, pCmdData, replySize, pReplyData); in command()
1302 void *pCmdData, in commandExecuted() argument
1307 mEffectClient->commandExecuted(cmdCode, cmdSize, pCmdData, replySize, pReplyData); in commandExecuted()
/frameworks/base/media/jni/audioeffect/
Dandroid_media_AudioEffect.cpp666 jbyte* pCmdData = NULL; in android_media_AudioEffect_native_command() local
683 pCmdData = (jbyte *) env->GetPrimitiveArrayCritical(jCmdData, NULL); in android_media_AudioEffect_native_command()
684 if (pCmdData == NULL) { in android_media_AudioEffect_native_command()
701 pCmdData, in android_media_AudioEffect_native_command()
707 if (pCmdData != NULL) { in android_media_AudioEffect_native_command()
708 env->ReleasePrimitiveArrayCritical(jCmdData, pCmdData, 0); in android_media_AudioEffect_native_command()
/frameworks/native/include/media/openmax/
DOMX_Core.h797 pCmdData) \ argument
802 pCmdData) /* Macro End */
DOMX_Component.h368 OMX_IN OMX_PTR pCmdData);
/frameworks/av/media/libeffects/factory/
DEffectsFactory.c102 void *pCmdData, in Effect_Command() argument
119 ret = (*fx->subItfe)->command(fx->subItfe, cmdCode, cmdSize, pCmdData, replySize, pReplyData); in Effect_Command()