Home
last modified time | relevance | path

Searched refs:cmdSize (Results 1 – 25 of 28) sorted by relevance

12

/aosp12/frameworks/av/media/libeffects/downmix/
H A DEffectDownmix.cpp66 uint32_t cmdSize,
388 static int32_t Downmix_Command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Downmix_Command() argument
400 ALOGV("Downmix_Command command %u cmdSize %u", cmdCode, cmdSize); in Downmix_Command()
411 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in Downmix_Command()
426 if (pCmdData == NULL || cmdSize < (int)(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()
492 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) { in Downmix_Command()
501 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t) * 2) { in Downmix_Command()
513 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) { in Downmix_Command()
/aosp12/hardware/qcom/audio/post_proc/
H A Dbundle.c536 int effect_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in effect_command() argument
568 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in effect_command()
624 cmdSize < (int)(sizeof(effect_param_t) + sizeof(uint32_t)) || in effect_command()
631 cmdSize, *replySize); in effect_command()
646 cmdSize < (int)(sizeof(effect_param_t) + sizeof(uint32_t) + in effect_command()
651 cmdSize, *replySize); in effect_command()
664 if (pCmdData == NULL || cmdSize < sizeof(uint32_t)) { in effect_command()
666 ALOGV("EFFECT_CMD_SET_DEVICE invalid command cmdSize %d", cmdSize); in effect_command()
678 if (pCmdData == NULL || cmdSize != 2 * sizeof(uint32_t) || in effect_command()
689 if (cmdSize != sizeof(effect_offload_param_t) || pCmdData == NULL in effect_command()
[all …]
H A Dbundle.h66 int (*command)(effect_context_t *context, uint32_t cmdCode, uint32_t cmdSize,
/aosp12/frameworks/av/media/libaudiohal/impl/
H A DEffectHalHidl.cpp185 status_t EffectHalHidl::command(uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, in command() argument
191 return setConfigImpl(cmdCode, cmdSize, pCmdData, replySize, pReplyData); in command()
198 if (pCmdData != nullptr && cmdSize > 0) { in command()
199 hidlData.setToExternal(reinterpret_cast<uint8_t*>(pCmdData), cmdSize); in command()
288 uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, uint32_t *replySize, void *pReplyData) { in setConfigImpl() argument
289 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) || in setConfigImpl()
H A DEffectHalHidl.h52 virtual status_t command(uint32_t cmdCode, uint32_t cmdSize, void *pCmdData,
94 uint32_t cmdCode, uint32_t cmdSize, void *pCmdData,
/aosp12/frameworks/av/media/libeffects/testlibs/
H A DEffectEqualizer.cpp629 extern "C" int Equalizer_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Equalizer_command() argument
641 ALOGV("Equalizer_command command %d cmdSize %d",cmdCode, cmdSize); in Equalizer_command()
651 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in Equalizer_command()
668 if (pCmdData == NULL || cmdSize < (sizeof(effect_param_t) + sizeof(int32_t)) || 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()
H A DEffectReverb.c282 static int Reverb_Command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Reverb_Command() argument
295 ALOGV("Reverb_Command command %d cmdSize %d",cmdCode, cmdSize); in Reverb_Command()
308 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in Reverb_Command()
327 if (pCmdData == NULL || cmdSize < (int)(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()
372 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) { in Reverb_Command()
379 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t) * 2) { in Reverb_Command()
388 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) { in Reverb_Command()
H A DEffectReverb.h316 uint32_t cmdSize,
/aosp12/frameworks/av/media/libeffects/proxy/
H A DEffectProxy.cpp210 uint32_t cmdSize, in Effect_command() argument
257 if (cmdSize == 0 || pCmdData == NULL) { in Effect_command()
280 pContext->eHandle[SUB_FX_OFFLOAD], cmdCode, cmdSize, in Effect_command()
340 pContext->eHandle[i], cmdCode, cmdSize, in Effect_command()
H A DEffectProxy.h48 uint32_t cmdSize,
/aosp12/frameworks/av/media/libeffects/preprocessing/
H A DPreProcessing.cpp1098 int PreProcessingFx_Command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in PreProcessingFx_Command() argument
1120 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) || pReplyData == NULL || in PreProcessingFx_Command()
1190 if (pCmdData == NULL || cmdSize < sizeof(effect_param_t) || in PreProcessingFx_Command()
1191 cmdSize < (sizeof(effect_param_t) + p->psize) || pReplyData == NULL || in PreProcessingFx_Command()
1212 if (pCmdData == NULL || cmdSize < sizeof(effect_param_t) || pReplyData == NULL || in PreProcessingFx_Command()
1249 if (pCmdData == NULL || cmdSize != sizeof(uint32_t)) { in PreProcessingFx_Command()
1266 if (pCmdData == NULL || cmdSize != sizeof(uint32_t) || pReplyData == NULL || in PreProcessingFx_Command()
1298 char* path = strndup((char*)pCmdData, cmdSize); in PreProcessingFx_Command()
1330 if (pCmdData == NULL || cmdSize != 2 * sizeof(uint32_t) || pReplyData == NULL || in PreProcessingFx_Command()
1371 if (pCmdData == NULL || cmdSize != sizeof(uint32_t) || pReplyData == NULL || in PreProcessingFx_Command()
[all …]
/aosp12/hardware/qcom/audio/voice_processing/
H A Dvoice_processing.c522 uint32_t cmdSize, in fx_command() argument
544 cmdSize != sizeof(effect_config_t)|| in fx_command()
574 cmdSize < (int)sizeof(effect_param_t) || in fx_command()
592 cmdSize < (int)sizeof(effect_param_t) || in fx_command()
628 cmdSize != sizeof(uint32_t)) { in fx_command()
/aosp12/frameworks/av/media/libeffects/loudness/
H A DEffectLoudnessEnhancer.cpp350 int LE_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in LE_command() argument
368 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in LE_command()
409 cmdSize != (int)(sizeof(effect_param_t) + sizeof(uint32_t)) || in LE_command()
435 cmdSize != (int)(sizeof(effect_param_t) + sizeof(uint32_t) + sizeof(uint32_t)) || in LE_command()
/aosp12/frameworks/av/media/libeffects/hapticgenerator/
H A DEffectHapticGenerator.cpp484 int32_t HapticGenerator_Command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in HapticGenerator_Command() argument
492 ALOGV("HapticGenerator_Command command %u cmdSize %u", cmdCode, cmdSize); in HapticGenerator_Command()
503 if (cmdData == nullptr || cmdSize != sizeof(effect_config_t) in HapticGenerator_Command()
523 "*replySize %u, replyData %p", cmdSize, cmdData, in HapticGenerator_Command()
525 if (cmdData == nullptr || (cmdSize < (int) (sizeof(effect_param_t) + sizeof(int32_t))) in HapticGenerator_Command()
H A DEffectHapticGenerator.h125 uint32_t cmdSize,
/aosp12/hardware/qcom/audio/visualizer/
H A Doffload_visualizer.c68 int (*command)(effect_context_t *context, uint32_t cmdCode, uint32_t cmdSize,
819 int visualizer_command(effect_context_t * context, uint32_t cmdCode, uint32_t cmdSize __unused, in visualizer_command()
1098 int effect_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in effect_command() argument
1133 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in effect_command()
1191 cmdSize != (int)(sizeof(effect_param_t) + sizeof(uint32_t)) || in effect_command()
1208 cmdSize != (int)(sizeof(effect_param_t) + sizeof(uint32_t) + sizeof(uint32_t)) || in effect_command()
1227 if (cmdSize != sizeof(effect_offload_param_t) || pCmdData == NULL in effect_command()
1259 status = context->ops.command(context, cmdCode, cmdSize, in effect_command()
/aosp12/frameworks/av/media/libaudiohal/include/media/audiohal/
H A DEffectHalInterface.h46 virtual status_t command(uint32_t cmdCode, uint32_t cmdSize, void *pCmdData,
/aosp12/frameworks/av/media/libeffects/dynamicsproc/
H A DEffectDynamicsProcessing.cpp437 int DP_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in DP_command() argument
447 ALOGV("DP_command command %d cmdSize %d",cmdCode, cmdSize); in DP_command()
457 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in DP_command()
512 if (cmdSize != expectedCmdSize || *replySize < expectedCmdSize) { in DP_command()
514 cmdSize, expectedCmdSize, *replySize); in DP_command()
536 cmdSize < (sizeof(effect_param_t) + sizeof(int32_t) + sizeof(int32_t)) || in DP_command()
560 if (pCmdData == NULL || cmdSize < ((int)sizeof(uint32_t) * 2)) { in DP_command()
/aosp12/frameworks/base/media/jni/audioeffect/
H A Dandroid_media_AudioEffect.cpp640 jint cmdCode, jint cmdSize, jbyteArray jCmdData, jint replySize, in android_media_AudioEffect_native_command() argument
653 if ((cmdSize != 0 && jCmdData == NULL) || (replySize != 0 && jReplyData == NULL)) { in android_media_AudioEffect_native_command()
658 if (cmdSize != 0) { in android_media_AudioEffect_native_command()
677 (uint32_t)cmdSize, in android_media_AudioEffect_native_command()
/aosp12/frameworks/av/media/libeffects/visualizer/
H A DEffectVisualizer.cpp484 int Visualizer_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Visualizer_command() argument
503 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in Visualizer_command()
544 cmdSize != (int)(sizeof(effect_param_t) + sizeof(uint32_t)) || in Visualizer_command()
582 cmdSize != (int)(sizeof(effect_param_t) + sizeof(uint32_t) + sizeof(uint32_t)) || in Visualizer_command()
/aosp12/hardware/libhardware/include/hardware/
H A Daudio_effect.h144 uint32_t cmdSize,
/aosp12/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
H A DEffectReverb.cpp1770 int Reverb_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, void* pCmdData, in Reverb_command() argument
1799 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) || pReplyData == NULL || in Reverb_command()
1836 if (cmdSize < sizeof(effect_param_t) || cmdSize < (sizeof(effect_param_t) + p->psize) || in Reverb_command()
1870 if (pCmdData == NULL || (cmdSize < (sizeof(effect_param_t) + sizeof(int32_t))) || in Reverb_command()
1940 if (pCmdData == NULL || cmdSize != 2 * sizeof(uint32_t)) { in Reverb_command()
/aosp12/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
H A DEffectBundle.cpp3064 int Effect_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, void* pCmdData, in Effect_command() argument
3127 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) || pReplyData == NULL || in Effect_command()
3157 if (pCmdData == NULL || cmdSize < sizeof(effect_param_t) || in Effect_command()
3158 cmdSize < (sizeof(effect_param_t) + p->psize) || pReplyData == NULL || in Effect_command()
3245 cmdSize != (sizeof(effect_param_t) + sizeof(int32_t) + sizeof(int16_t)) || in Effect_command()
3276 cmdSize > (sizeof(effect_param_t) + sizeof(int32_t) + sizeof(int32_t)) || in Effect_command()
3277 cmdSize < (sizeof(effect_param_t) + sizeof(int32_t) + sizeof(int16_t)) || in Effect_command()
3307 if (pCmdData == NULL || cmdSize < (sizeof(effect_param_t) + sizeof(int32_t)) || in Effect_command()
3327 if (pCmdData == NULL || cmdSize < (sizeof(effect_param_t) + sizeof(int32_t)) || in Effect_command()
3455 if (pCmdData == NULL || cmdSize != 2 * sizeof(uint32_t) || pReplyData == NULL || in Effect_command()
/aosp12/frameworks/av/media/libeffects/factory/
H A DEffectsFactory.c87 uint32_t cmdSize, in Effect_Command() argument
105 ret = (*fx->subItfe)->command(fx->subItfe, cmdCode, cmdSize, pCmdData, replySize, pReplyData); in Effect_Command()
/aosp12/frameworks/av/media/libaudioclient/include/media/
H A DAudioEffect.h513 uint32_t cmdSize,

12