Searched refs:outputFrames (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/media/libaudioprocessing/tests/ |
D | resampler_tests.cpp | 57 size_t outputFrames, const std::vector<size_t> &outputIncr, in resample() argument 60 for (size_t i = 0, j = 0; i < outputFrames; ) { in resample() 65 if (thisFrames == 0 || thisFrames > outputFrames - i) { in resample() 66 thisFrames = outputFrames - i; in resample() 77 size_t outputFrameSize, size_t outputFrames) in buffercmp() argument 79 for (size_t i = 0; i < outputFrames; ++i) { in buffercmp() 107 size_t outputFrames = ((int64_t) provider.getNumFrames() * outputFreq) / inputFreq; in testBufferIncrement() local 109 size_t outputSize = outputFrameSize * outputFrames; in testBufferIncrement() 122 refIncr.push_back(outputFrames); in testBufferIncrement() 123 void* reference = calloc(outputFrames, outputFrameSize); in testBufferIncrement() [all …]
|
D | test-mixer.cpp | 147 size_t outputFrames = 0; in main() local 209 if (i == 0 || outputFrames > nframes) { // choose minimum for outputFrames in main() 210 outputFrames = nframes; in main() 217 const size_t outputSize = outputFrames * outputFrameSize; in main() 226 const size_t auxSize = outputFrames * auxFrameSize; in main() 298 for (i = 0; i < outputFrames - mixerFrameCount; i += mixerFrameCount) { in main() 309 outputFrames = i; // reset output frames to the data actually produced. in main() 313 outputSampleRate, outputChannels, outputFrames, useMixerFloat); in main() 318 memcpy_to_i16_from_float((int16_t*)auxAddr, (const float*)auxAddr, outputFrames); in main() 319 writeFile(auxFilename, auxAddr, outputSampleRate, 1, outputFrames, false); in main()
|