Home
last modified time | relevance | path

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

12

/frameworks/av/media/libeffects/testlibs/
DEffectEqualizer.cpp630 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Equalizer_command() argument
651 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in Equalizer_command()
656 (effect_config_t *) pCmdData); in Equalizer_command()
662 Equalizer_getConfig(pContext, (effect_config_t *) pCmdData); in Equalizer_command()
668 if (pCmdData == NULL || cmdSize < (sizeof(effect_param_t) + sizeof(int32_t)) || in Equalizer_command()
672 effect_param_t *p = (effect_param_t *)pCmdData; in Equalizer_command()
673 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + p->psize); in Equalizer_command()
680 *(int32_t *)((char *)pCmdData + sizeof(effect_param_t)), *replySize, in Equalizer_command()
687 cmdSize, pCmdData, *replySize, pReplyData); in Equalizer_command()
688 if (pCmdData == NULL || cmdSize < (sizeof(effect_param_t) + sizeof(int32_t)) || in Equalizer_command()
[all …]
DEffectReverb.c283 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Reverb_Command() argument
308 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in Reverb_Command()
313 (effect_config_t *)pCmdData, false); in Reverb_Command()
319 Reverb_getConfig(pRvbModule, (effect_config_t *) pCmdData); in Reverb_Command()
325 …ommand EFFECT_CMD_GET_PARAM pCmdData %p, *replySize %d, pReplyData: %p",pCmdData, *replySize, pRep… in Reverb_Command()
327 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) || in Reverb_Command()
332 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + sizeof(int32_t)); in Reverb_Command()
340 cmdSize, pCmdData, *replySize, pReplyData); in Reverb_Command()
341 if (pCmdData == NULL || (cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t))) in Reverb_Command()
345 effect_param_t *cmd = (effect_param_t *) pCmdData; in Reverb_Command()
[all …]
DEffectReverb.h317 void *pCmdData,
/frameworks/av/media/libeffects/preprocessing/
DPreProcessing.cpp1399 void *pCmdData, in PreProcessingFx_Command() argument
1423 if (pCmdData == NULL|| in PreProcessingFx_Command()
1439 *(int *)pReplyData = Session_SetConfig(effect->session, (effect_config_t *)pCmdData); in PreProcessingFx_Command()
1465 if (pCmdData == NULL || in PreProcessingFx_Command()
1474 (effect_config_t *)pCmdData); in PreProcessingFx_Command()
1487 Session_GetReverseConfig(effect->session, (effect_config_t *)pCmdData); in PreProcessingFx_Command()
1497 effect_param_t *p = (effect_param_t *)pCmdData; in PreProcessingFx_Command()
1499 if (pCmdData == NULL || cmdSize < sizeof(effect_param_t) || in PreProcessingFx_Command()
1508 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + p->psize); in PreProcessingFx_Command()
1523 if (pCmdData == NULL|| in PreProcessingFx_Command()
[all …]
/frameworks/av/media/libeffects/downmix/
DEffectDownmix.c509 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Downmix_Command() argument
531 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in Downmix_Command()
536 (effect_config_t *)pCmdData, false); in Downmix_Command()
545 pCmdData, *replySize, pReplyData); in Downmix_Command()
546 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) || in Downmix_Command()
552 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + sizeof(int32_t)); in Downmix_Command()
562 ", pReplyData %p", cmdSize, pCmdData, *replySize, pReplyData); in Downmix_Command()
563 if (pCmdData == NULL || (cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t))) in Downmix_Command()
567 effect_param_t *cmd = (effect_param_t *) pCmdData; in Downmix_Command()
611 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) { in Downmix_Command()
[all …]
DEffectDownmix.h84 void *pCmdData,
/frameworks/av/media/libeffects/loudness/
DEffectLoudnessEnhancer.cpp351 void *pCmdData, uint32_t *replySize, void *pReplyData) { in LE_command() argument
368 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in LE_command()
373 (effect_config_t *) pCmdData); in LE_command()
408 if (pCmdData == NULL || in LE_command()
414 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + sizeof(uint32_t)); in LE_command()
434 if (pCmdData == NULL || in LE_command()
440 effect_param_t *p = (effect_param_t *)pCmdData; in LE_command()
/frameworks/av/media/libaudiohal/impl/
DEffectHalHidl.cpp233 status_t EffectHalHidl::command(uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, in command() argument
239 return setConfigImpl(cmdCode, cmdSize, pCmdData, replySize, pReplyData); in command()
246 if (pCmdData != nullptr && cmdSize > 0) { in command()
247 hidlData.setToExternal(reinterpret_cast<uint8_t*>(pCmdData), cmdSize); in command()
322 uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, uint32_t *replySize, void *pReplyData) { in setConfigImpl() argument
323 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) || in setConfigImpl()
327 const effect_config_t *halConfig = static_cast<effect_config_t*>(pCmdData); in setConfigImpl()
DEffectHalHidl.h52 virtual status_t command(uint32_t cmdCode, uint32_t cmdSize, void *pCmdData,
102 uint32_t cmdCode, uint32_t cmdSize, void *pCmdData,
/frameworks/av/media/libaudioclient/
DIEffectClient.cpp61 void *pCmdData, in commandExecuted() argument
70 if (pCmdData == NULL) { in commandExecuted()
75 data.write(pCmdData, size); in commandExecuted()
DIEffect.cpp67 void *pCmdData, in command() argument
76 if (pCmdData == NULL) { in command()
81 data.write(pCmdData, size); in command()
/frameworks/av/media/libeffects/proxy/
DEffectProxy.cpp201 void *pCmdData, in Effect_command() argument
247 if (cmdSize == 0 || pCmdData == NULL) { in Effect_command()
252 effect_offload_param_t* offloadParam = (effect_offload_param_t*)pCmdData; in Effect_command()
271 pCmdData, replySize, pReplyData); in Effect_command()
331 pCmdData, subReplySize[i], subReplyData[i]); in Effect_command()
DEffectProxy.h49 void *pCmdData,
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp3296 void *pCmdData, in Effect_command() argument
3360 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) || in Effect_command()
3366 *(int *) pReplyData = android::Effect_setConfig(pContext, (effect_config_t *) pCmdData); in Effect_command()
3389 effect_param_t *p = (effect_param_t *)pCmdData; in Effect_command()
3390 if (pCmdData == NULL || cmdSize < sizeof(effect_param_t) || in Effect_command()
3417 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + p->psize); in Effect_command()
3490 if (pCmdData == NULL || in Effect_command()
3498 effect_param_t * const p = (effect_param_t *) pCmdData; in Effect_command()
3521 if (pCmdData == NULL || in Effect_command()
3531 effect_param_t * const p = (effect_param_t *) pCmdData; in Effect_command()
[all …]
/frameworks/av/media/libaudioclient/include/media/
DAudioEffect.h565 void *pCmdData,
604 void *pCmdData, in commandExecuted() argument
615 cmdCode, cmdSize, pCmdData, replySize, pReplyData); in commandExecuted()
DIEffectClient.h36 void *pCmdData,
DIEffect.h38 void *pCmdData,
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp485 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Visualizer_command() argument
503 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in Visualizer_command()
508 (effect_config_t *) pCmdData); in Visualizer_command()
543 if (pCmdData == NULL || in Visualizer_command()
549 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + sizeof(uint32_t)); in Visualizer_command()
581 if (pCmdData == NULL || in Visualizer_command()
587 effect_param_t *p = (effect_param_t *)pCmdData; in Visualizer_command()
/frameworks/av/media/libeffects/dynamicsproc/
DEffectDynamicsProcessing.cpp438 void *pCmdData, uint32_t *replySize, void *pReplyData) { in DP_command() argument
457 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in DP_command()
463 (effect_config_t *) pCmdData); in DP_command()
505 if (pCmdData == NULL || pReplyData == NULL || replySize == NULL) { in DP_command()
509 effect_param_t *pEffectParam = (effect_param_t *) pCmdData; in DP_command()
519 memcpy(pReplyData, pCmdData, expectedCmdSize); in DP_command()
535 if (pCmdData == NULL || in DP_command()
543 effect_param_t * const p = (effect_param_t *) pCmdData; in DP_command()
560 if (pCmdData == NULL || cmdSize < ((int)sizeof(uint32_t) * 2)) { in DP_command()
584 const float gain = (float)*((uint32_t *)pCmdData + offset) / unityGain; in DP_command()
/frameworks/base/media/jni/audioeffect/
Dandroid_media_AudioEffect.cpp630 jbyte* pCmdData = NULL; in android_media_AudioEffect_native_command() local
647 pCmdData = (jbyte *) env->GetPrimitiveArrayCritical(jCmdData, NULL); in android_media_AudioEffect_native_command()
648 if (pCmdData == NULL) { in android_media_AudioEffect_native_command()
666 pCmdData, in android_media_AudioEffect_native_command()
672 if (pCmdData != NULL) { in android_media_AudioEffect_native_command()
673 env->ReleasePrimitiveArrayCritical(jCmdData, pCmdData, 0); in android_media_AudioEffect_native_command()
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp1849 void *pCmdData, in Reverb_command() argument
1879 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) || in Reverb_command()
1886 (effect_config_t *) pCmdData); in Reverb_command()
1908 effect_param_t *p = (effect_param_t *)pCmdData; in Reverb_command()
1909 if (pCmdData == nullptr) { in Reverb_command()
1926 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + p->psize); in Reverb_command()
1955 if (pCmdData == NULL || (cmdSize < (sizeof(effect_param_t) + sizeof(int32_t))) || in Reverb_command()
1962 effect_param_t *p = (effect_param_t *) pCmdData; in Reverb_command()
2027 if (pCmdData == NULL || in Reverb_command()
2035 pContext->leftVolume = (LVM_INT16)((*(uint32_t *)pCmdData + (1 << 11)) >> 12); in Reverb_command()
[all …]
/frameworks/av/services/audioflinger/
DEffects.cpp1165 void *pCmdData, in command() argument
1180 ((effect_param_t *)pCmdData)->psize > cmdSize in command()
1188 ((effect_param_t *)pCmdData)->psize > *replySize - sizeof(effect_param_t))) { in command()
1194 || ((effect_param_t *)pCmdData)->psize > *replySize in command()
1196 || ((effect_param_t *)pCmdData)->vsize > *replySize in command()
1198 - ((effect_param_t *)pCmdData)->psize in command()
1199 || roundUpDelta(((effect_param_t *)pCmdData)->psize, (uint32_t)sizeof(int)) > in command()
1202 - ((effect_param_t *)pCmdData)->psize in command()
1203 - ((effect_param_t *)pCmdData)->vsize)) { in command()
1211 || ((effect_param_t *)pCmdData)->psize > cmdSize in command()
[all …]
DEffects.h137 void *pCmdData __unused, in command()
218 void *pCmdData,
334 void *pCmdData,
353 void *pCmdData,
/frameworks/av/media/libaudiohal/include/media/audiohal/
DEffectHalInterface.h46 virtual status_t command(uint32_t cmdCode, uint32_t cmdSize, void *pCmdData,
/frameworks/native/headers/media_plugin/media/openmax/
DOMX_Core.h820 pCmdData) \ argument
825 pCmdData) /* Macro End */

12