Home
last modified time | relevance | path

Searched refs:AudioResampler (Results 1 – 17 of 17) sorted by relevance

/frameworks/av/media/libaudioprocessing/tests/
Dresampler_tests.cpp58 android::AudioBufferProvider *provider, android::AudioResampler *resampler) in resample()
91 enum android::AudioResampler::src_quality quality) in testBufferIncrement()
113 android::AudioResampler* resampler; in testBufferIncrement()
115 resampler = android::AudioResampler::create(format, channels, outputFreq, quality); in testBufferIncrement()
117 resampler->setVolume(android::AudioResampler::UNITY_GAIN_FLOAT, in testBufferIncrement()
118 android::AudioResampler::UNITY_GAIN_FLOAT); in testBufferIncrement()
133 resampler = android::AudioResampler::create(format, channels, outputFreq, quality); in testBufferIncrement()
135 resampler->setVolume(android::AudioResampler::UNITY_GAIN_FLOAT, in testBufferIncrement()
136 android::AudioResampler::UNITY_GAIN_FLOAT); in testBufferIncrement()
183 enum android::AudioResampler::src_quality quality) in testStopbandDownconversion()
[all …]
Dtest-resampler.cpp113 AudioResampler::src_quality quality = AudioResampler::DEFAULT_QUALITY; in main()
137 quality = AudioResampler::DEFAULT_QUALITY; in main()
139 quality = AudioResampler::LOW_QUALITY; in main()
141 quality = AudioResampler::MED_QUALITY; in main()
143 quality = AudioResampler::HIGH_QUALITY; in main()
145 quality = AudioResampler::VERY_HIGH_QUALITY; in main()
147 quality = AudioResampler::DYN_LOW_QUALITY; in main()
149 quality = AudioResampler::DYN_MED_QUALITY; in main()
151 quality = AudioResampler::DYN_HIGH_QUALITY; in main()
183 || channels > (quality < AudioResampler::DYN_LOW_QUALITY ? 2 : 8)) { in main()
[all …]
/frameworks/av/media/libaudioprocessing/tests/fuzzer/
Dlibaudioprocessing_resampler_fuzzer.cpp45 const AudioResampler::src_quality qualities[] = {
46 AudioResampler::DEFAULT_QUALITY,
47 AudioResampler::LOW_QUALITY,
48 AudioResampler::MED_QUALITY,
49 AudioResampler::HIGH_QUALITY,
50 AudioResampler::VERY_HIGH_QUALITY,
51 AudioResampler::DYN_LOW_QUALITY,
52 AudioResampler::DYN_MED_QUALITY,
53 AudioResampler::DYN_HIGH_QUALITY,
96 audio_format_t chooseFormat(AudioResampler::src_quality quality, in chooseFormat()
[all …]
/frameworks/av/include/media/
DAudioResampler.h32 class ANDROID_API AudioResampler {
54 static AudioResampler* create(audio_format_t format, int inChannelCount,
57 virtual ~AudioResampler();
96 AudioResampler(int inChannelCount, int32_t sampleRate, src_quality quality);
99 AudioResampler(const AudioResampler&);
100 AudioResampler& operator=(const AudioResampler&);
/frameworks/av/media/libaudioprocessing/include/media/
DAudioResampler.h32 class ANDROID_API AudioResampler {
54 static AudioResampler* create(audio_format_t format, int inChannelCount,
57 virtual ~AudioResampler();
96 AudioResampler(int inChannelCount, int32_t sampleRate, src_quality quality);
99 AudioResampler(const AudioResampler&);
100 AudioResampler& operator=(const AudioResampler&);
DRecordBufferConverter.h26 class AudioResampler; variable
107 AudioResampler *mResampler;
DAudioMixerBase.h260 std::unique_ptr<AudioResampler> mResampler;
/frameworks/av/media/libaudioprocessing/
DAudioResampler.cpp43 class AudioResamplerOrder1 : public AudioResampler {
46 AudioResampler(inChannelCount, sampleRate, LOW_QUALITY), mX0L(0), mX0R(0) { in AudioResamplerOrder1()
84 const double AudioResampler::kPhaseMultiplier = 1L << AudioResampler::kNumPhaseBits;
86 bool AudioResampler::qualityIsSupported(src_quality quality) in qualityIsSupported()
106 static AudioResampler::src_quality defaultQuality = AudioResampler::DEFAULT_QUALITY;
108 void AudioResampler::init_routine() in init_routine()
124 uint32_t AudioResampler::qualityMHz(src_quality quality) in qualityMHz()
150 AudioResampler* AudioResampler::create(audio_format_t format, int inChannelCount, in create()
215 AudioResampler* resampler; in create()
264 AudioResampler::AudioResampler(int inChannelCount, in AudioResampler() function in android::AudioResampler
[all …]
DAudioResamplerCubic.h29 class AudioResamplerCubic : public AudioResampler {
32 AudioResampler(inChannelCount, sampleRate, MED_QUALITY) { in AudioResamplerCubic()
DAudioResamplerDyn.h42 class AudioResamplerDyn: public AudioResampler {
59 AudioResampler::reset(); in reset()
DAndroid.bp74 "AudioResampler.cpp",
DAudioResamplerSinc.h35 class AudioResamplerSinc : public AudioResampler {
DAudioResamplerDyn.cpp184 : AudioResampler(inChannelCount, sampleRate, quality), in AudioResamplerDyn()
224 AudioResampler::setVolume(left, right); in setVolume()
DAudioResamplerSinc.cpp214 : AudioResampler(inChannelCount, sampleRate, quality), in AudioResamplerSinc()
261 AudioResampler::setVolume(left, right); in setVolume()
DRecordBufferConverter.cpp174 mResampler = AudioResampler::create(AUDIO_FORMAT_PCM_FLOAT, in updateParameters()
DAudioMixerBase.cpp479 AudioResampler::src_quality quality; in setResampler()
485 quality = AudioResampler::DEFAULT_QUALITY; in setResampler()
487 quality = AudioResampler::DYN_LOW_QUALITY; in setResampler()
496 mResampler.reset(AudioResampler::create( in setResampler()
/frameworks/av/services/audioflinger/
DAudioFlinger.h104 class AudioResampler; variable