OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:inputCfg
(Results
1 - 21
of
21
) 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
...]
/hardware/qcom/audio/post_proc/
bass_boost.c
194
context->config.
inputCfg
.accessMode = EFFECT_BUFFER_ACCESS_READ;
195
context->config.
inputCfg
.channels = AUDIO_CHANNEL_OUT_STEREO;
196
context->config.
inputCfg
.format = AUDIO_FORMAT_PCM_16_BIT;
197
context->config.
inputCfg
.samplingRate = 44100;
198
context->config.
inputCfg
.bufferProvider.getBuffer = NULL;
199
context->config.
inputCfg
.bufferProvider.releaseBuffer = NULL;
200
context->config.
inputCfg
.bufferProvider.cookie = NULL;
201
context->config.
inputCfg
.mask = EFFECT_CONFIG_ALL;
virtualizer.c
194
context->config.
inputCfg
.accessMode = EFFECT_BUFFER_ACCESS_READ;
195
context->config.
inputCfg
.channels = AUDIO_CHANNEL_OUT_STEREO;
196
context->config.
inputCfg
.format = AUDIO_FORMAT_PCM_16_BIT;
197
context->config.
inputCfg
.samplingRate = 44100;
198
context->config.
inputCfg
.bufferProvider.getBuffer = NULL;
199
context->config.
inputCfg
.bufferProvider.releaseBuffer = NULL;
200
context->config.
inputCfg
.bufferProvider.cookie = NULL;
201
context->config.
inputCfg
.mask = EFFECT_CONFIG_ALL;
equalizer.c
430
context->config.
inputCfg
.accessMode = EFFECT_BUFFER_ACCESS_READ;
431
context->config.
inputCfg
.channels = AUDIO_CHANNEL_OUT_STEREO;
432
context->config.
inputCfg
.format = AUDIO_FORMAT_PCM_16_BIT;
433
context->config.
inputCfg
.samplingRate = 44100;
434
context->config.
inputCfg
.bufferProvider.getBuffer = NULL;
435
context->config.
inputCfg
.bufferProvider.releaseBuffer = NULL;
436
context->config.
inputCfg
.bufferProvider.cookie = NULL;
437
context->config.
inputCfg
.mask = EFFECT_CONFIG_ALL;
reverb.c
548
context->config.
inputCfg
.accessMode = EFFECT_BUFFER_ACCESS_READ;
553
context->config.
inputCfg
.channels = AUDIO_CHANNEL_OUT_STEREO;
554
context->config.
inputCfg
.format = AUDIO_FORMAT_PCM_16_BIT;
555
context->config.
inputCfg
.samplingRate = 44100;
556
context->config.
inputCfg
.bufferProvider.getBuffer = NULL;
557
context->config.
inputCfg
.bufferProvider.releaseBuffer = NULL;
558
context->config.
inputCfg
.bufferProvider.cookie = NULL;
559
context->config.
inputCfg
.mask = EFFECT_CONFIG_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
138
if (pConfig->
inputCfg
.samplingRate != pConfig->outputCfg.samplingRate) return -EINVAL;
139
if (pConfig->
inputCfg
.channels != pConfig->outputCfg.channels) return -EINVAL;
140
if (pConfig->
inputCfg
.format != pConfig->outputCfg.format) return -EINVAL;
141
if (pConfig->
inputCfg
.channels != AUDIO_CHANNEL_OUT_STEREO) return -EINVAL;
144
if (pConfig->
inputCfg
.format != AUDIO_FORMAT_PCM_16_BIT) return -EINVAL;
188
pContext->mConfig.
inputCfg
.accessMode = EFFECT_BUFFER_ACCESS_READ;
189
pContext->mConfig.
inputCfg
.channels = AUDIO_CHANNEL_OUT_STEREO;
190
pContext->mConfig.
inputCfg
.format = AUDIO_FORMAT_PCM_16_BIT;
191
pContext->mConfig.
inputCfg
.samplingRate = 44100;
192
pContext->mConfig.
inputCfg
.bufferProvider.getBuffer = NULL
[
all
...]
/hardware/qcom/audio/voice_processing/
voice_processing.c
295
session->config.
inputCfg
.samplingRate = 16000;
296
session->config.
inputCfg
.channels = AUDIO_CHANNEL_IN_MONO;
297
session->config.
inputCfg
.format = AUDIO_FORMAT_PCM_16_BIT;
337
if (config->
inputCfg
.samplingRate != config->outputCfg.samplingRate ||
338
config->
inputCfg
.format != config->outputCfg.format ||
339
config->
inputCfg
.format != AUDIO_FORMAT_PCM_16_BIT)
343
config->
inputCfg
.samplingRate, config->
inputCfg
.channels);
347
if (session->config.
inputCfg
.samplingRate != config->
inputCfg
.samplingRate |
[
all
...]
/frameworks/av/services/audioflinger/
Effects.cpp
231
memset(mConfig.
inputCfg
.buffer.raw,
233
mConfig.
inputCfg
.buffer.frameCount*sizeof(int32_t));
270
mConfig.
inputCfg
.buffer.raw == NULL ||
278
ditherAndClamp(mConfig.
inputCfg
.buffer.s32,
279
mConfig.
inputCfg
.buffer.s32,
280
mConfig.
inputCfg
.buffer.frameCount/2);
285
&mConfig.
inputCfg
.buffer,
295
memset(mConfig.
inputCfg
.buffer.raw, 0,
296
mConfig.
inputCfg
.buffer.frameCount*sizeof(int32_t));
299
mConfig.
inputCfg
.buffer.raw != mConfig.outputCfg.buffer.raw)
[
all
...]
BufferProviders.cpp
158
mDownmixConfig.
inputCfg
.channels = inputChannelMask; // FIXME: Should be bits
160
mDownmixConfig.
inputCfg
.format = format;
162
mDownmixConfig.
inputCfg
.samplingRate = sampleRate;
164
mDownmixConfig.
inputCfg
.accessMode = EFFECT_BUFFER_ACCESS_READ;
168
mDownmixConfig.
inputCfg
.mask = EFFECT_CONFIG_SMP_RATE | EFFECT_CONFIG_CHANNELS |
170
mDownmixConfig.outputCfg.mask = mDownmixConfig.
inputCfg
.mask;
237
mDownmixConfig.
inputCfg
.buffer.frameCount = frames;
238
mDownmixConfig.
inputCfg
.buffer.raw = const_cast<void *>(src);
243
&mDownmixConfig.
inputCfg
.buffer, &mDownmixConfig.outputCfg.buffer);
Effects.h
87
void setInBuffer(int16_t *buffer) { mConfig.
inputCfg
.buffer.s16 = buffer; }
88
int16_t *inBuffer() { return mConfig.
inputCfg
.buffer.s16; }
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
EffectReverb.cpp
424
if (pContext->config.
inputCfg
.channels == AUDIO_CHANNEL_OUT_STEREO) {
426
} else if (pContext->config.
inputCfg
.channels != AUDIO_CHANNEL_OUT_MONO) {
612
CHECK_ARG(pConfig->
inputCfg
.samplingRate == pConfig->outputCfg.samplingRate);
613
CHECK_ARG(pConfig->
inputCfg
.format == pConfig->outputCfg.format);
614
CHECK_ARG((pContext->auxiliary && pConfig->
inputCfg
.channels == AUDIO_CHANNEL_OUT_MONO) ||
615
((!pContext->auxiliary) && pConfig->
inputCfg
.channels == AUDIO_CHANNEL_OUT_STEREO));
619
CHECK_ARG(pConfig->
inputCfg
.format == AUDIO_FORMAT_PCM_16_BIT);
625
switch (pConfig->
inputCfg
.samplingRate) {
645
ALOGV("\rReverb_setConfig invalid sampling rate %d", pConfig->
inputCfg
.samplingRate);
721
pContext->config.
inputCfg
.accessMode = EFFECT_BUFFER_ACCESS_READ
[
all
...]
/device/htc/flounder/audio/visualizer/
nv_offload_visualizer.c
471
if (config->
inputCfg
.samplingRate != config->outputCfg.samplingRate) return -EINVAL;
472
if (config->
inputCfg
.channels != config->outputCfg.channels) return -EINVAL;
473
if (config->
inputCfg
.format != config->outputCfg.format) return -EINVAL;
474
if (config->
inputCfg
.channels != AUDIO_CHANNEL_OUT_STEREO) return -EINVAL;
477
if (config->
inputCfg
.format != AUDIO_FORMAT_PCM_16_BIT) return -EINVAL;
532
context->config.
inputCfg
.accessMode = EFFECT_BUFFER_ACCESS_READ;
533
context->config.
inputCfg
.channels = AUDIO_CHANNEL_OUT_STEREO;
534
context->config.
inputCfg
.format = AUDIO_FORMAT_PCM_16_BIT;
535
context->config.
inputCfg
.samplingRate = 44100;
536
context->config.
inputCfg
.bufferProvider.getBuffer = NULL
[
all
...]
/frameworks/av/media/libeffects/downmix/
EffectDownmix.c
322
const uint32_t downmixInputChannelMask = pDwmModule->config.
inputCfg
.channels;
565
* pDwmModule->config.
inputCfg
567
* pDwmModule->config.
inputCfg
.samplingRate
583
pDwmModule->config.
inputCfg
.accessMode = EFFECT_BUFFER_ACCESS_READ;
584
pDwmModule->config.
inputCfg
.format = AUDIO_FORMAT_PCM_16_BIT;
585
pDwmModule->config.
inputCfg
.channels = AUDIO_CHANNEL_OUT_7POINT1;
586
pDwmModule->config.
inputCfg
.bufferProvider.getBuffer = NULL;
587
pDwmModule->config.
inputCfg
.bufferProvider.releaseBuffer = NULL;
588
pDwmModule->config.
inputCfg
.bufferProvider.cookie = NULL;
589
pDwmModule->config.
inputCfg
.mask = EFFECT_CONFIG_ALL
[
all
...]
/frameworks/av/media/libeffects/preprocessing/
PreProcessing.cpp
937
uint32_t inCnl = audio_channel_count_from_in_mask(config->
inputCfg
.channels);
940
if (config->
inputCfg
.samplingRate != config->outputCfg.samplingRate ||
941
config->
inputCfg
.format != config->outputCfg.format ||
942
config->
inputCfg
.format != AUDIO_FORMAT_PCM_16_BIT) {
947
config->
inputCfg
.samplingRate, config->
inputCfg
.channels);
[
all
...]
/hardware/qcom/audio/visualizer/
offload_visualizer.c
531
if (config->
inputCfg
.samplingRate != config->outputCfg.samplingRate) return -EINVAL;
532
if (config->
inputCfg
.channels != config->outputCfg.channels) return -EINVAL;
533
if (config->
inputCfg
.format != config->outputCfg.format) return -EINVAL;
534
if (config->
inputCfg
.channels != AUDIO_CHANNEL_OUT_STEREO) return -EINVAL;
537
if (config->
inputCfg
.format != AUDIO_FORMAT_PCM_16_BIT) return -EINVAL;
592
context->config.
inputCfg
.accessMode = EFFECT_BUFFER_ACCESS_READ;
593
context->config.
inputCfg
.channels = AUDIO_CHANNEL_OUT_STEREO;
594
context->config.
inputCfg
.format = AUDIO_FORMAT_PCM_16_BIT;
595
context->config.
inputCfg
.samplingRate = 44100;
596
context->config.
inputCfg
.bufferProvider.getBuffer = NULL
[
all
...]
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
EffectBundle.cpp
508
pContext->config.
inputCfg
.accessMode = EFFECT_BUFFER_ACCESS_READ;
509
pContext->config.
inputCfg
.channels = AUDIO_CHANNEL_OUT_STEREO;
510
pContext->config.
inputCfg
.format = AUDIO_FORMAT_PCM_16_BIT;
511
pContext->config.
inputCfg
.samplingRate = 44100;
512
pContext->config.
inputCfg
.bufferProvider.getBuffer = NULL;
513
pContext->config.
inputCfg
.bufferProvider.releaseBuffer = NULL;
514
pContext->config.
inputCfg
.bufferProvider.cookie = NULL;
515
pContext->config.
inputCfg
.mask = EFFECT_CONFIG_ALL;
[
all
...]
/hardware/libhardware/include/hardware/
audio_effect.h
[
all
...]
/device/htc/flounder/audio/hal/
audio_hw.c
[
all
...]
/device/google/dragon/audio/hal/
audio_hw.c
900
config.
inputCfg
.mask = EFFECT_CONFIG_CHANNELS;
914
config.
inputCfg
.channels = channel_config->aux_channels;
915
config.outputCfg.channels = config.
inputCfg
.channels;
[
all
...]
Completed in 86 milliseconds