Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioprocessing/tests/
Dtest-resampler.cpp335 size_t output_frames = ((int64_t) input_frames * output_freq) / input_freq; in main() local
336 size_t output_size = output_frames * output_framesize; in main()
415 resampler->resample((int*) output_vaddr, output_frames, &provider); in main()
428 quality, channels, time/1000000, output_frames * looplimit / (time / 1e9) / 1e6); in main()
442 printf("resample() %zu output frames\n", output_frames); in main()
445 Ovalues.push(output_frames); in main()
447 for (size_t i = 0, j = 0; i < output_frames; ) { in main()
452 if (thisFrames == 0 || thisFrames > output_frames - i) { in main()
453 thisFrames = output_frames - i; in main()
472 reinterpret_cast<float*>(output_vaddr), output_frames * output_channels); in main()
[all …]
/frameworks/av/media/libaudioprocessing/tests/fuzzer/
Dlibaudioprocessing_resampler_fuzzer.cpp140 size_t output_frames = (input_frames * output_freq) / input_freq; in LLVMFuzzerTestOneInput() local
141 size_t output_size = output_frames * output_frame_size; in LLVMFuzzerTestOneInput()
144 for (size_t i = 0; i < output_frames; i++) { in LLVMFuzzerTestOneInput()