/frameworks/av/media/libaudioprocessing/tests/ |
D | resampler_tests.cpp | 58 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 …]
|
D | test-resampler.cpp | 113 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/ |
D | libaudioprocessing_resampler_fuzzer.cpp | 45 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/ |
D | AudioResampler.h | 32 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/ |
D | AudioResampler.h | 32 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&);
|
D | RecordBufferConverter.h | 26 class AudioResampler; variable 107 AudioResampler *mResampler;
|
D | AudioMixerBase.h | 260 std::unique_ptr<AudioResampler> mResampler;
|
/frameworks/av/media/libaudioprocessing/ |
D | AudioResampler.cpp | 43 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 …]
|
D | AudioResamplerCubic.h | 29 class AudioResamplerCubic : public AudioResampler { 32 AudioResampler(inChannelCount, sampleRate, MED_QUALITY) { in AudioResamplerCubic()
|
D | AudioResamplerDyn.h | 42 class AudioResamplerDyn: public AudioResampler { 59 AudioResampler::reset(); in reset()
|
D | Android.bp | 74 "AudioResampler.cpp",
|
D | AudioResamplerSinc.h | 35 class AudioResamplerSinc : public AudioResampler {
|
D | AudioResamplerDyn.cpp | 184 : AudioResampler(inChannelCount, sampleRate, quality), in AudioResamplerDyn() 224 AudioResampler::setVolume(left, right); in setVolume()
|
D | AudioResamplerSinc.cpp | 214 : AudioResampler(inChannelCount, sampleRate, quality), in AudioResamplerSinc() 261 AudioResampler::setVolume(left, right); in setVolume()
|
D | RecordBufferConverter.cpp | 174 mResampler = AudioResampler::create(AUDIO_FORMAT_PCM_FLOAT, in updateParameters()
|
D | AudioMixerBase.cpp | 479 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/ |
D | AudioFlinger.h | 104 class AudioResampler; variable
|