OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:inputCfg
(Results
1 - 14
of
14
) sorted by null
/frameworks/av/media/libeffects/loudness/
EffectLoudnessEnhancer.cpp
73
pContext->mCompressor->Initialize(targetAmp, pContext->mConfig.
inputCfg
.samplingRate);
104
if (pConfig->
inputCfg
.samplingRate != pConfig->outputCfg.samplingRate) return -EINVAL;
105
if (pConfig->
inputCfg
.channels != pConfig->outputCfg.channels) return -EINVAL;
106
if (pConfig->
inputCfg
.format != pConfig->outputCfg.format) return -EINVAL;
107
if (pConfig->
inputCfg
.channels != AUDIO_CHANNEL_OUT_STEREO) return -EINVAL;
110
if (pConfig->
inputCfg
.format != AUDIO_FORMAT_PCM_16_BIT) return -EINVAL;
156
pContext->mConfig.
inputCfg
.accessMode = EFFECT_BUFFER_ACCESS_READ;
157
pContext->mConfig.
inputCfg
.channels = AUDIO_CHANNEL_OUT_STEREO;
158
pContext->mConfig.
inputCfg
.format = AUDIO_FORMAT_PCM_16_BIT;
159
pContext->mConfig.
inputCfg
.samplingRate = 44100
[
all
...]
/frameworks/av/media/libeffects/testlibs/
EffectEqualizer.cpp
230
CHECK_ARG(pConfig->
inputCfg
.samplingRate == pConfig->outputCfg.samplingRate);
231
CHECK_ARG(pConfig->
inputCfg
.channels == pConfig->outputCfg.channels);
232
CHECK_ARG(pConfig->
inputCfg
.format == pConfig->outputCfg.format);
233
CHECK_ARG((pConfig->
inputCfg
.channels == AUDIO_CHANNEL_OUT_MONO) ||
234
(pConfig->
inputCfg
.channels == AUDIO_CHANNEL_OUT_STEREO));
237
CHECK_ARG(pConfig->
inputCfg
.format == AUDIO_FORMAT_PCM_16_BIT);
240
if (pConfig->
inputCfg
.channels == AUDIO_CHANNEL_OUT_MONO) {
250
pConfig->
inputCfg
.samplingRate);
253
pConfig->
inputCfg
.format,
304
pContext->config.
inputCfg
.accessMode = EFFECT_BUFFER_ACCESS_READ
[
all
...]
EffectReverb.c
223
if (pRvbModule->config.
inputCfg
.channels == pRvbModule->config.outputCfg.channels) {
463
pRvbModule->config.
inputCfg
.samplingRate = 44100;
465
pRvbModule->config.
inputCfg
.channels = AUDIO_CHANNEL_OUT_MONO;
467
pRvbModule->config.
inputCfg
.channels = AUDIO_CHANNEL_OUT_STEREO;
469
pRvbModule->config.
inputCfg
.format = AUDIO_FORMAT_PCM_16_BIT;
470
pRvbModule->config.
inputCfg
.bufferProvider.getBuffer = NULL;
471
pRvbModule->config.
inputCfg
.bufferProvider.releaseBuffer = NULL;
472
pRvbModule->config.
inputCfg
.bufferProvider.cookie = NULL;
473
pRvbModule->config.
inputCfg
.accessMode = EFFECT_BUFFER_ACCESS_READ;
474
pRvbModule->config.
inputCfg
.mask = EFFECT_CONFIG_ALL
[
all
...]
/frameworks/av/media/libeffects/visualizer/
EffectVisualizer.cpp
137
if (pConfig->
inputCfg
.samplingRate != pConfig->outputCfg.samplingRate) return -EINVAL;
138
if (pConfig->
inputCfg
.channels != pConfig->outputCfg.channels) return -EINVAL;
139
if (pConfig->
inputCfg
.format != pConfig->outputCfg.format) return -EINVAL;
140
if (pConfig->
inputCfg
.channels != AUDIO_CHANNEL_OUT_STEREO) return -EINVAL;
143
if (pConfig->
inputCfg
.format != AUDIO_FORMAT_PCM_16_BIT) return -EINVAL;
187
pContext->mConfig.
inputCfg
.accessMode = EFFECT_BUFFER_ACCESS_READ;
188
pContext->mConfig.
inputCfg
.channels = AUDIO_CHANNEL_OUT_STEREO;
189
pContext->mConfig.
inputCfg
.format = AUDIO_FORMAT_PCM_16_BIT;
190
pContext->mConfig.
inputCfg
.samplingRate = 44100;
191
pContext->mConfig.
inputCfg
.bufferProvider.getBuffer = NULL
[
all
...]
/hardware/qcom/audio/voice_processing/
voice_processing.c
294
session->config.
inputCfg
.samplingRate = 16000;
295
session->config.
inputCfg
.channels = AUDIO_CHANNEL_IN_MONO;
296
session->config.
inputCfg
.format = AUDIO_FORMAT_PCM_16_BIT;
336
if (config->
inputCfg
.samplingRate != config->outputCfg.samplingRate ||
337
config->
inputCfg
.format != config->outputCfg.format ||
338
config->
inputCfg
.format != AUDIO_FORMAT_PCM_16_BIT)
342
config->
inputCfg
.samplingRate, config->
inputCfg
.channels);
346
if (session->config.
inputCfg
.samplingRate != config->
inputCfg
.samplingRate |
[
all
...]
/frameworks/av/services/audioflinger/
Effects.cpp
216
memset(mConfig.
inputCfg
.buffer.raw,
218
mConfig.
inputCfg
.buffer.frameCount*sizeof(int32_t));
252
mConfig.
inputCfg
.buffer.raw == NULL ||
260
ditherAndClamp(mConfig.
inputCfg
.buffer.s32,
261
mConfig.
inputCfg
.buffer.s32,
262
mConfig.
inputCfg
.buffer.frameCount/2);
267
&mConfig.
inputCfg
.buffer,
277
memset(mConfig.
inputCfg
.buffer.raw, 0,
278
mConfig.
inputCfg
.buffer.frameCount*sizeof(int32_t));
281
mConfig.
inputCfg
.buffer.raw != mConfig.outputCfg.buffer.raw)
[
all
...]
Effects.h
87
void setInBuffer(int16_t *buffer) { mConfig.
inputCfg
.buffer.s16 = buffer; }
88
int16_t *inBuffer() { return mConfig.
inputCfg
.buffer.s16; }
AudioMixer.cpp
64
mDownmixConfig.
inputCfg
.buffer.frameCount = pBuffer->frameCount;
65
mDownmixConfig.
inputCfg
.buffer.raw = pBuffer->raw;
67
mDownmixConfig.outputCfg.buffer.raw = mDownmixConfig.
inputCfg
.buffer.raw;
72
&mDownmixConfig.
inputCfg
.buffer, &mDownmixConfig.outputCfg.buffer);
293
pDbp->mDownmixConfig.
inputCfg
.channels = pTrack->channelMask;
295
pDbp->mDownmixConfig.
inputCfg
.format = AUDIO_FORMAT_PCM_16_BIT;
297
pDbp->mDownmixConfig.
inputCfg
.samplingRate = pTrack->sampleRate;
299
pDbp->mDownmixConfig.
inputCfg
.accessMode = EFFECT_BUFFER_ACCESS_READ;
303
pDbp->mDownmixConfig.
inputCfg
.mask = EFFECT_CONFIG_SMP_RATE | EFFECT_CONFIG_CHANNELS |
305
pDbp->mDownmixConfig.outputCfg.mask = pDbp->mDownmixConfig.
inputCfg
.mask
[
all
...]
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
EffectReverb.cpp
422
if (pContext->config.
inputCfg
.channels == AUDIO_CHANNEL_OUT_STEREO) {
424
} else if (pContext->config.
inputCfg
.channels != AUDIO_CHANNEL_OUT_MONO) {
610
CHECK_ARG(pConfig->
inputCfg
.samplingRate == pConfig->outputCfg.samplingRate);
611
CHECK_ARG(pConfig->
inputCfg
.format == pConfig->outputCfg.format);
612
CHECK_ARG((pContext->auxiliary && pConfig->
inputCfg
.channels == AUDIO_CHANNEL_OUT_MONO) ||
613
((!pContext->auxiliary) && pConfig->
inputCfg
.channels == AUDIO_CHANNEL_OUT_STEREO));
617
CHECK_ARG(pConfig->
inputCfg
.format == AUDIO_FORMAT_PCM_16_BIT);
623
switch (pConfig->
inputCfg
.samplingRate) {
643
ALOGV("\rReverb_setConfig invalid sampling rate %d", pConfig->
inputCfg
.samplingRate);
719
pContext->config.
inputCfg
.accessMode = EFFECT_BUFFER_ACCESS_READ
[
all
...]
/frameworks/av/media/libeffects/preprocessing/
PreProcessing.cpp
882
uint32_t inCnl = popcount(config->
inputCfg
.channels);
885
if (config->
inputCfg
.samplingRate != config->outputCfg.samplingRate ||
886
config->
inputCfg
.format != config->outputCfg.format ||
887
config->
inputCfg
.format != AUDIO_FORMAT_PCM_16_BIT) {
892
config->
inputCfg
.samplingRate, config->
inputCfg
.channels);
897
if (session->samplingRate != config->
inputCfg
.samplingRate ||
907
if (config->
inputCfg
.samplingRate >= 32000 && !(session->createdMsk & (1 << PREPROC_AEC))) {
910
if (config->
inputCfg
.samplingRate >= 16000) {
912
} else if (config->
inputCfg
.samplingRate >= 8000)
[
all
...]
/hardware/qcom/audio/visualizer/
offload_visualizer.c
501
if (config->
inputCfg
.samplingRate != config->outputCfg.samplingRate) return -EINVAL;
502
if (config->
inputCfg
.channels != config->outputCfg.channels) return -EINVAL;
503
if (config->
inputCfg
.format != config->outputCfg.format) return -EINVAL;
504
if (config->
inputCfg
.channels != AUDIO_CHANNEL_OUT_STEREO) return -EINVAL;
507
if (config->
inputCfg
.format != AUDIO_FORMAT_PCM_16_BIT) return -EINVAL;
562
context->config.
inputCfg
.accessMode = EFFECT_BUFFER_ACCESS_READ;
563
context->config.
inputCfg
.channels = AUDIO_CHANNEL_OUT_STEREO;
564
context->config.
inputCfg
.format = AUDIO_FORMAT_PCM_16_BIT;
565
context->config.
inputCfg
.samplingRate = 44100;
566
context->config.
inputCfg
.bufferProvider.getBuffer = NULL
[
all
...]
/frameworks/av/media/libeffects/downmix/
EffectDownmix.c
302
const uint32_t downmixInputChannelMask = pDwmModule->config.
inputCfg
.channels;
548
* pDwmModule->config.
inputCfg
550
* pDwmModule->config.
inputCfg
.samplingRate
566
pDwmModule->config.
inputCfg
.accessMode = EFFECT_BUFFER_ACCESS_READ;
567
pDwmModule->config.
inputCfg
.format = AUDIO_FORMAT_PCM_16_BIT;
568
pDwmModule->config.
inputCfg
.channels = AUDIO_CHANNEL_OUT_7POINT1;
569
pDwmModule->config.
inputCfg
.bufferProvider.getBuffer = NULL;
570
pDwmModule->config.
inputCfg
.bufferProvider.releaseBuffer = NULL;
571
pDwmModule->config.
inputCfg
.bufferProvider.cookie = NULL;
572
pDwmModule->config.
inputCfg
.mask = EFFECT_CONFIG_ALL
[
all
...]
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
EffectBundle.cpp
503
pContext->config.
inputCfg
.accessMode = EFFECT_BUFFER_ACCESS_READ;
504
pContext->config.
inputCfg
.channels = AUDIO_CHANNEL_OUT_STEREO;
505
pContext->config.
inputCfg
.format = AUDIO_FORMAT_PCM_16_BIT;
506
pContext->config.
inputCfg
.samplingRate = 44100;
507
pContext->config.
inputCfg
.bufferProvider.getBuffer = NULL;
508
pContext->config.
inputCfg
.bufferProvider.releaseBuffer = NULL;
509
pContext->config.
inputCfg
.bufferProvider.cookie = NULL;
510
pContext->config.
inputCfg
.mask = EFFECT_CONFIG_ALL;
[
all
...]
/hardware/libhardware/include/hardware/
audio_effect.h
[
all
...]
Completed in 487 milliseconds