Home
last modified time | relevance | path

Searched refs:inChannelCount (Results 1 – 14 of 14) 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.cpp662 audio_format_t format, size_t inChannelCount, size_t outChannelCount, in AdjustChannelsBufferProvider() argument
666 audio_bytes_per_frame(inChannelCount, format), in AdjustChannelsBufferProvider()
667 audio_bytes_per_frame(std::max(inChannelCount, outChannelCount), format), in AdjustChannelsBufferProvider()
670 mInChannelCount(inChannelCount), in AdjustChannelsBufferProvider()
674 mContractedFormat(inChannelCount > outChannelCount in AdjustChannelsBufferProvider()
676 mContractedInChannelCount(inChannelCount > outChannelCount in AdjustChannelsBufferProvider()
677 ? inChannelCount - outChannelCount : 0), in AdjustChannelsBufferProvider()
685 this, format, inChannelCount, outChannelCount, frameCount, contractedFormat, in AdjustChannelsBufferProvider()
DAudioResamplerSinc.h37 AudioResamplerSinc(int inChannelCount, int32_t sampleRate,
DAudioResamplerDyn.h44 AudioResamplerDyn(int inChannelCount,
DAudioResamplerDyn.cpp182 int inChannelCount, int32_t sampleRate, src_quality quality) in AudioResamplerDyn() argument
183 : AudioResampler(inChannelCount, sampleRate, quality), in AudioResamplerDyn()
DAudioResamplerSinc.cpp212 int inChannelCount, int32_t sampleRate, src_quality quality) in AudioResamplerSinc() argument
213 : AudioResampler(inChannelCount, sampleRate, quality), in AudioResamplerSinc()
/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.h260 AdjustChannelsBufferProvider(audio_format_t format, size_t inChannelCount,
/frameworks/av/services/audioflinger/
DDeviceEffectManager.h121 uint32_t inChannelCount(int id __unused) const final { return 0; } in inChannelCount() function
DEffects.cpp685 const uint32_t inChannelCount = in process() local
731 if (!auxType && mInChannelCountRequested != inChannelCount) { in process()
734 mInConversionBuffer->audioBuffer()->f32, inChannelCount, in process()
759 inChannelCount * mConfig.inputCfg.buffer.frameCount); in process()
812 mConfig.inputCfg.buffer.frameCount * inChannelCount * sizeof(float); in process()
1293 const uint32_t inChannelCount = in setInBuffer() local
1295 const bool formatMismatch = !mSupportsFloat || mInChannelCountRequested != inChannelCount; in setInBuffer()
2265 * mEffectCallback->inChannelCount(mEffects[0]->id()); in clearInputBuffer_l()
3237 uint32_t EffectChain::EffectCallback::inChannelCount(int id) const { in inChannelCount() function in android::EffectChain::EffectCallback
3782 uint32_t DeviceEffectProxy::ProxyCallback::inChannelCount(int id __unused) const { in inChannelCount() function in android::DeviceEffectProxy::ProxyCallback
DEffects.h608 uint32_t inChannelCount(int id) const override;
795 uint32_t inChannelCount(int id) const override;
DIAfEffect.h56 virtual uint32_t inChannelCount(int id) const = 0;
/frameworks/av/media/libeffects/preprocessing/
DPreProcessing.cpp112 uint32_t inChannelCount; // input channel count member
852 session->inChannelCount = kPreProcDefaultCnl; in Session_CreateEffect()
909 session->inChannelCount = inCnl; in Session_SetConfig()
928 config->inputCfg.channels = audio_channel_in_mask_from_count(session->inChannelCount); in Session_GetConfig()
1275 (effect->session->inChannelCount == 1) ? CHANNEL_CFG_MONO : CHANNEL_CFG_STEREO; in PreProcessingFx_Command()