Home
last modified time | relevance | path

Searched refs:CHECK_ARG (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libeffects/testlibs/
DEffectEqualizer.cpp205 #define CHECK_ARG(cond) { \ macro
230 CHECK_ARG(pContext != NULL); in Equalizer_setConfig()
231 CHECK_ARG(pConfig != NULL); in Equalizer_setConfig()
233 CHECK_ARG(pConfig->inputCfg.samplingRate == pConfig->outputCfg.samplingRate); in Equalizer_setConfig()
234 CHECK_ARG(pConfig->inputCfg.channels == pConfig->outputCfg.channels); in Equalizer_setConfig()
235 CHECK_ARG(pConfig->inputCfg.format == pConfig->outputCfg.format); in Equalizer_setConfig()
236 CHECK_ARG((pConfig->inputCfg.channels == AUDIO_CHANNEL_OUT_MONO) || in Equalizer_setConfig()
238 CHECK_ARG(pConfig->outputCfg.accessMode == EFFECT_BUFFER_ACCESS_WRITE in Equalizer_setConfig()
240 CHECK_ARG(pConfig->inputCfg.format == AUDIO_FORMAT_PCM_16_BIT); in Equalizer_setConfig()
248 CHECK_ARG(channelCount <= AudioBiquadFilter::MAX_CHANNELS); in Equalizer_setConfig()
[all …]
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp343 #define CHECK_ARG(cond) { \ macro
643 CHECK_ARG(pContext != NULL); in Reverb_setConfig()
644 CHECK_ARG(pConfig != NULL); in Reverb_setConfig()
646 CHECK_ARG(pConfig->inputCfg.samplingRate == pConfig->outputCfg.samplingRate); in Reverb_setConfig()
647 CHECK_ARG(pConfig->inputCfg.format == pConfig->outputCfg.format); in Reverb_setConfig()
648 CHECK_ARG((pContext->auxiliary && pConfig->inputCfg.channels == AUDIO_CHANNEL_OUT_MONO) || in Reverb_setConfig()
650 CHECK_ARG(pConfig->outputCfg.channels == AUDIO_CHANNEL_OUT_STEREO); in Reverb_setConfig()
651 CHECK_ARG(pConfig->outputCfg.accessMode == EFFECT_BUFFER_ACCESS_WRITE in Reverb_setConfig()
653 CHECK_ARG(pConfig->inputCfg.format == EFFECT_BUFFER_FORMAT); in Reverb_setConfig()
760 CHECK_ARG(pContext != NULL); in Reverb_init()
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp77 #define CHECK_ARG(cond) { \ macro
559 CHECK_ARG(pContext != NULL); in LvmBundle_init()
1243 CHECK_ARG(pContext != NULL); in Effect_setConfig()
1244 CHECK_ARG(pConfig != NULL); in Effect_setConfig()
1246 CHECK_ARG(pConfig->inputCfg.samplingRate == pConfig->outputCfg.samplingRate); in Effect_setConfig()
1247 CHECK_ARG(pConfig->inputCfg.channels == pConfig->outputCfg.channels); in Effect_setConfig()
1248 CHECK_ARG(pConfig->inputCfg.format == pConfig->outputCfg.format); in Effect_setConfig()
1250 CHECK_ARG(audio_channel_count_from_out_mask(pConfig->inputCfg.channels) <= LVM_MAX_CHANNELS); in Effect_setConfig()
1252 CHECK_ARG(pConfig->inputCfg.channels == AUDIO_CHANNEL_OUT_STEREO); in Effect_setConfig()
1254 CHECK_ARG(pConfig->outputCfg.accessMode == EFFECT_BUFFER_ACCESS_WRITE in Effect_setConfig()
[all …]
/frameworks/av/media/libeffects/lvm/tests/
Dlvmtest.cpp40 #define CHECK_ARG(cond) \ macro