OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:inputCfg
(Results
1 - 20
of
20
) 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
...]
/frameworks/av/media/libeffects/downmix/
EffectDownmix.c
291
const uint32_t downmixInputChannelMask = pDwmModule->config.
inputCfg
.channels;
534
* pDwmModule->config.
inputCfg
536
* pDwmModule->config.
inputCfg
.samplingRate
552
pDwmModule->config.
inputCfg
.accessMode = EFFECT_BUFFER_ACCESS_READ;
553
pDwmModule->config.
inputCfg
.format = AUDIO_FORMAT_PCM_16_BIT;
554
pDwmModule->config.
inputCfg
.channels = AUDIO_CHANNEL_OUT_7POINT1;
555
pDwmModule->config.
inputCfg
.bufferProvider.getBuffer = NULL;
556
pDwmModule->config.
inputCfg
.bufferProvider.releaseBuffer = NULL;
557
pDwmModule->config.
inputCfg
.bufferProvider.cookie = NULL;
558
pDwmModule->config.
inputCfg
.mask = EFFECT_CONFIG_ALL
[
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
230
memset(mConfig.
inputCfg
.buffer.raw,
232
mConfig.
inputCfg
.buffer.frameCount*sizeof(int32_t));
266
mConfig.
inputCfg
.buffer.raw == NULL ||
274
ditherAndClamp(mConfig.
inputCfg
.buffer.s32,
275
mConfig.
inputCfg
.buffer.s32,
276
mConfig.
inputCfg
.buffer.frameCount/2);
281
&mConfig.
inputCfg
.buffer,
291
memset(mConfig.
inputCfg
.buffer.raw, 0,
292
mConfig.
inputCfg
.buffer.frameCount*sizeof(int32_t));
295
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
208
mDownmixConfig.
inputCfg
.channels = inputChannelMask; // FIXME: Should be bits
210
mDownmixConfig.
inputCfg
.format = format;
212
mDownmixConfig.
inputCfg
.samplingRate = sampleRate;
214
mDownmixConfig.
inputCfg
.accessMode = EFFECT_BUFFER_ACCESS_READ;
218
mDownmixConfig.
inputCfg
.mask = EFFECT_CONFIG_SMP_RATE | EFFECT_CONFIG_CHANNELS |
220
mDownmixConfig.outputCfg.mask = mDownmixConfig.
inputCfg
.mask;
287
mDownmixConfig.
inputCfg
.buffer.frameCount = frames;
288
mDownmixConfig.
inputCfg
.buffer.raw = const_cast<void *>(src);
293
&mDownmixConfig.
inputCfg
.buffer, &mDownmixConfig.outputCfg.buffer);
[
all
...]
/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
...]
/frameworks/av/media/libeffects/preprocessing/
PreProcessing.cpp
882
uint32_t inCnl = audio_channel_count_from_out_mask(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
...]
/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
...]
/hardware/qcom/audio/visualizer/
offload_visualizer.c
518
if (config->
inputCfg
.samplingRate != config->outputCfg.samplingRate) return -EINVAL;
519
if (config->
inputCfg
.channels != config->outputCfg.channels) return -EINVAL;
520
if (config->
inputCfg
.format != config->outputCfg.format) return -EINVAL;
521
if (config->
inputCfg
.channels != AUDIO_CHANNEL_OUT_STEREO) return -EINVAL;
524
if (config->
inputCfg
.format != AUDIO_FORMAT_PCM_16_BIT) return -EINVAL;
579
context->config.
inputCfg
.accessMode = EFFECT_BUFFER_ACCESS_READ;
580
context->config.
inputCfg
.channels = AUDIO_CHANNEL_OUT_STEREO;
581
context->config.
inputCfg
.format = AUDIO_FORMAT_PCM_16_BIT;
582
context->config.
inputCfg
.samplingRate = 44100;
583
context->config.
inputCfg
.bufferProvider.getBuffer = NULL
[
all
...]
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
EffectBundle.cpp
507
pContext->config.
inputCfg
.accessMode = EFFECT_BUFFER_ACCESS_READ;
508
pContext->config.
inputCfg
.channels = AUDIO_CHANNEL_OUT_STEREO;
509
pContext->config.
inputCfg
.format = AUDIO_FORMAT_PCM_16_BIT;
510
pContext->config.
inputCfg
.samplingRate = 44100;
511
pContext->config.
inputCfg
.bufferProvider.getBuffer = NULL;
512
pContext->config.
inputCfg
.bufferProvider.releaseBuffer = NULL;
513
pContext->config.
inputCfg
.bufferProvider.cookie = NULL;
514
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
...]
Completed in 157 milliseconds