Home
last modified time | relevance | path

Searched refs:inChannelCount (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/media/libaudioprocessing/
DAudioResampler.cpp45 AudioResamplerOrder1(int inChannelCount, int32_t sampleRate) : in AudioResamplerOrder1() argument
46 AudioResampler(inChannelCount, sampleRate, LOW_QUALITY), mX0L(0), mX0R(0) { in AudioResamplerOrder1()
150 AudioResampler* AudioResampler::create(audio_format_t format, int inChannelCount, in create() argument
222 resampler = new AudioResamplerOrder1(inChannelCount, sampleRate); in create()
227 resampler = new AudioResamplerCubic(inChannelCount, sampleRate); in create()
232 resampler = new AudioResamplerSinc(inChannelCount, sampleRate); in create()
237 resampler = new AudioResamplerSinc(inChannelCount, sampleRate, quality); in create()
244 resampler = new AudioResamplerDyn<float, float, float>(inChannelCount, in create()
249 resampler = new AudioResamplerDyn<int32_t, int16_t, int32_t>(inChannelCount, in create()
252 resampler = new AudioResamplerDyn<int16_t, int16_t, int32_t>(inChannelCount, in create()
[all …]
DAudioResamplerCubic.h31 AudioResamplerCubic(int inChannelCount, int32_t sampleRate) : in AudioResamplerCubic() argument
32 AudioResampler(inChannelCount, sampleRate, MED_QUALITY) { in AudioResamplerCubic()
DBufferProviders.cpp632 audio_format_t format, size_t inChannelCount, size_t outChannelCount, in AdjustChannelsBufferProvider() argument
635 audio_bytes_per_frame(inChannelCount, format), in AdjustChannelsBufferProvider()
636 audio_bytes_per_frame(std::max(inChannelCount, outChannelCount), format), in AdjustChannelsBufferProvider()
639 mInChannelCount(inChannelCount), in AdjustChannelsBufferProvider()
643 mContractedChannelCount(inChannelCount - outChannelCount), in AdjustChannelsBufferProvider()
649 inChannelCount, outChannelCount, frameCount, contractedFormat, contractedBuffer); in AdjustChannelsBufferProvider()
DAudioResamplerSinc.h37 AudioResamplerSinc(int inChannelCount, int32_t sampleRate,
DAudioResamplerDyn.h44 AudioResamplerDyn(int inChannelCount,
DAudioResamplerSinc.cpp213 int inChannelCount, int32_t sampleRate, src_quality quality) in AudioResamplerSinc() argument
214 : AudioResampler(inChannelCount, sampleRate, quality), in AudioResamplerSinc()
DAudioResamplerDyn.cpp183 int inChannelCount, int32_t sampleRate, src_quality quality) in AudioResamplerDyn() argument
184 : AudioResampler(inChannelCount, sampleRate, quality), in AudioResamplerDyn()
/frameworks/av/media/libeffects/preprocessing/
DPreProcessing.cpp110 uint32_t inChannelCount; // input channel count member
857 session->inChannelCount = kPreProcDefaultCnl; in Session_CreateEffect()
979 session->inChannelCount = inCnl; in Session_SetConfig()
1009 session->inResampler = speex_resampler_init(session->inChannelCount, in Session_SetConfig()
1031 session->revResampler = speex_resampler_init(session->inChannelCount, in Session_SetConfig()
1056 config->inputCfg.channels = audio_channel_in_mask_from_count(session->inChannelCount); in Session_GetConfig()
1083 {{static_cast<int>(session->apmSamplingRate), session->inChannelCount}, in Session_SetReverseConfig()
1264 session->inBufSize * session->inChannelCount * sizeof(int16_t)); in PreProcessingFx_Process()
1273 memcpy(session->inBuf + session->framesIn * session->inChannelCount, in PreProcessingFx_Process()
1275 fr * session->inChannelCount * sizeof(int16_t)); in PreProcessingFx_Process()
[all …]
/frameworks/av/media/libaudioprocessing/include/media/
DAudioResampler.h54 static AudioResampler* create(audio_format_t format, int inChannelCount,
96 AudioResampler(int inChannelCount, int32_t sampleRate, src_quality quality);
DBufferProviders.h229 AdjustChannelsBufferProvider(audio_format_t format, size_t inChannelCount, in AdjustChannelsBufferProvider() argument
231 format, inChannelCount, outChannelCount, in AdjustChannelsBufferProvider()
234 AdjustChannelsBufferProvider(audio_format_t format, size_t inChannelCount,
/frameworks/av/services/audioflinger/
DEffects.cpp638 const uint32_t inChannelCount = in process() local
720 if (!auxType && mInChannelCountRequested != inChannelCount) { in process()
723 mInConversionBuffer->audioBuffer()->f32, inChannelCount, in process()
748 inChannelCount * mConfig.inputCfg.buffer.frameCount); in process()
807 mConfig.inputCfg.buffer.frameCount * inChannelCount * sizeof(float); in process()
810 mConfig.inputCfg.buffer.frameCount * inChannelCount * sizeof(int32_t); in process()
1290 const uint32_t inChannelCount = in setInBuffer() local
1292 const bool formatMismatch = !mSupportsFloat || mInChannelCountRequested != inChannelCount; in setInBuffer()