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.cpp182 int inChannelCount, int32_t sampleRate, src_quality quality) in AudioResamplerDyn() argument
183 : AudioResampler(inChannelCount, sampleRate, quality), in AudioResamplerDyn()
/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/media/libeffects/preprocessing/
DPreProcessing.cpp111 uint32_t inChannelCount; // input channel count member
857 session->inChannelCount = kPreProcDefaultCnl; in Session_CreateEffect()
914 session->inChannelCount = inCnl; in Session_SetConfig()
933 config->inputCfg.channels = audio_channel_in_mask_from_count(session->inChannelCount); in Session_GetConfig()
1280 (effect->session->inChannelCount == 1) ? CHANNEL_CFG_MONO : CHANNEL_CFG_STEREO; in PreProcessingFx_Command()
/frameworks/av/services/audioflinger/
DEffects.cpp660 const uint32_t inChannelCount = in process() local
742 if (!auxType && mInChannelCountRequested != inChannelCount) { in process()
745 mInConversionBuffer->audioBuffer()->f32, inChannelCount, in process()
770 inChannelCount * mConfig.inputCfg.buffer.frameCount); in process()
829 mConfig.inputCfg.buffer.frameCount * inChannelCount * sizeof(float); in process()
832 mConfig.inputCfg.buffer.frameCount * inChannelCount * sizeof(int32_t); in process()
1333 const uint32_t inChannelCount = in setInBuffer() local
1335 const bool formatMismatch = !mSupportsFloat || mInChannelCountRequested != inChannelCount; in setInBuffer()