Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/codecs/flac/enc/
DSoftFlacEncoder.cpp406 const unsigned nbInputSamples = inHeader->nFilledLen / sampleSize; in onQueueFilled() local
409 CHECK_LE(nbInputSamples, kNumSamplesPerFrame * kMaxChannels); in onQueueFilled()
412 mInputBufferPcm32, pcmFloat, nbInputSamples); in onQueueFilled()
415 CHECK_LE(nbInputSamples, kNumSamplesPerFrame * kMaxChannels * 2); in onQueueFilled()
417 for (unsigned i = 0; i < nbInputSamples; ++i) { in onQueueFilled()
/frameworks/av/media/codec2/components/flac/
DC2SoftFlacEnc.cpp280 const unsigned nbInputSamples = processSize / sampleSize; in process() local
285 memcpy_to_q8_23_from_float_with_clamp(mInputBufferPcm32, pcmFloat, nbInputSamples); in process()
288 for (unsigned i = 0; i < nbInputSamples; i++) { in process()