Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioprocessing/tests/fuzzer/
Dlibaudioprocessing_resampler_fuzzer.cpp138 int output_channels = input_channels > 2 ? input_channels : 2; in LLVMFuzzerTestOneInput() local
139 size_t output_frame_size = output_channels * sizeof(int32_t); in LLVMFuzzerTestOneInput()
/frameworks/av/media/libaudioprocessing/tests/
Dtest-resampler.cpp333 int output_channels = channels > 2 ? channels : 2; // output is at least stereo samples in main() local
334 size_t output_framesize = output_channels * (useFloat ? sizeof(float) : sizeof(int32_t)); in main()
455 resampler->resample((int*) output_vaddr + output_channels*i, thisFrames, &provider); in main()
472 reinterpret_cast<float*>(output_vaddr), output_frames * output_channels); in main()
486 int32_t s = out[i * output_channels + j] + roundVal; // add offset here in main()