Home
last modified time | relevance | path

Searched refs:input_freq (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libaudioprocessing/tests/fuzzer/
Dlibaudioprocessing_resampler_fuzzer.cpp119 int input_freq = 0; in LLVMFuzzerTestOneInput() local
137 index += parseValue(data, index, &input_freq, sizeof(int)); in LLVMFuzzerTestOneInput()
144 if (!validFreq(input_freq) || !validFreq(output_freq)) { in LLVMFuzzerTestOneInput()
172 resampler->setSampleRate(input_freq); in LLVMFuzzerTestOneInput()
178 size_t output_frames = (input_frames * output_freq) / input_freq; in LLVMFuzzerTestOneInput()
/frameworks/av/media/libaudioprocessing/tests/
Dtest-resampler.cpp111 int input_freq = 0; in main() local
158 input_freq = atoi(optarg); in main()
224 input_freq = info.samplerate; in main()
229 double time = (input_freq / 2) / k; in main()
230 size_t input_frames = size_t(input_freq * time); in main()
235 double t = double(i) / input_freq; in main()
334 size_t output_frames = ((int64_t) input_frames * output_freq) / input_freq; in main()
385 resampler->setSampleRate(input_freq); in main()
435 resampler->setSampleRate(input_freq); in main()