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.cpp334 size_t output_frames = ((int64_t) input_frames * output_freq) / input_freq; in main() local
335 size_t output_size = output_frames * output_framesize; in main()
414 resampler->resample((int*) output_vaddr, output_frames, &provider); in main()
427 quality, channels, time/1000000, output_frames * looplimit / (time / 1e9) / 1e6); in main()
441 printf("resample() %zu output frames\n", output_frames); in main()
444 Ovalues.push(output_frames); in main()
446 for (size_t i = 0, j = 0; i < output_frames; ) { in main()
451 if (thisFrames == 0 || thisFrames > output_frames - i) { in main()
452 thisFrames = output_frames - i; in main()
471 reinterpret_cast<float*>(output_vaddr), output_frames * output_channels); in main()
[all …]
/frameworks/av/media/libaudioprocessing/tests/fuzzer/
Dlibaudioprocessing_resampler_fuzzer.cpp178 size_t output_frames = (input_frames * output_freq) / input_freq; in LLVMFuzzerTestOneInput() local
179 size_t output_size = output_frames * output_frame_size; in LLVMFuzzerTestOneInput()
182 for (size_t i = 0; i < output_frames; i++) { in LLVMFuzzerTestOneInput()