Home
last modified time | relevance | path

Searched refs:nSamples (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/libstagefright/
DFLACExtractor.cpp125 void (*mCopy)(short *dst, const int *const *src, unsigned nSamples, unsigned nChannels);
386 unsigned nSamples, in copyMono8() argument
388 for (unsigned i = 0; i < nSamples; ++i) { in copyMono8()
396 unsigned nSamples, in copyStereo8() argument
398 for (unsigned i = 0; i < nSamples; ++i) { in copyStereo8()
404 static void copyMultiCh8(short *dst, const int *const *src, unsigned nSamples, unsigned nChannels) in copyMultiCh8() argument
406 for (unsigned i = 0; i < nSamples; ++i) { in copyMultiCh8()
416 unsigned nSamples, in copyMono16() argument
418 for (unsigned i = 0; i < nSamples; ++i) { in copyMono16()
426 unsigned nSamples, in copyStereo16() argument
[all …]
DAudioSource.cpp399 void AudioSource::trackMaxAmplitude(int16_t *data, int nSamples) { in trackMaxAmplitude() argument
400 for (int i = nSamples; i > 0; --i) { in trackMaxAmplitude()
DMPEG4Extractor.cpp1588 size_t nSamples = mLastTrack->sampleTable->countSamples(); in parseChunk() local
1589 if (nSamples == 0) { in parseChunk()
1608 int32_t frameRate = (nSamples * 1000000LL + in parseChunk()
/frameworks/av/media/libstagefright/codecs/aacenc/
DAACEncoder.cpp240 const int32_t nSamples = mChannels * kNumSamplesPerFrame; in read() local
241 while (mNumInputSamples < nSamples) { in read()
250 sizeof(int16_t) * (nSamples - mNumInputSamples)); in read()
269 size_t copy = (nSamples - mNumInputSamples) * sizeof(int16_t); in read()
289 if (mNumInputSamples >= nSamples) { in read()
290 mNumInputSamples %= nSamples; in read()
298 inputData.Length = nSamples * sizeof(int16_t); in read()
/frameworks/av/include/media/stagefright/
DAudioSource.h97 void trackMaxAmplitude(int16_t *data, int nSamples);