Home
last modified time | relevance | path

Searched refs:numSamples (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/media/libeffects/testlibs/
DAudioFormatAdapter.h74 void process(const void * pIn, void * pOut, uint32_t numSamples) { in process() argument
75 while (numSamples > 0) { in process()
76 uint32_t numSamplesIter = min(numSamples, mMaxSamplesPerCall); in process()
101 numSamples -= numSamplesIter; in process()
127 void ConvertInput(const void *& pIn, uint32_t numSamples) { in ConvertInput() argument
131 while (numSamples-- > 0) { in ConvertInput()
145 void ConvertOutput(void *& pOut, uint32_t numSamples) { in ConvertOutput() argument
150 while (numSamples-- > 0) { in ConvertOutput()
154 while (numSamples-- > 0) { in ConvertOutput()
171 void MixOutput(void *& pOut, uint32_t numSamples) { in MixOutput() argument
[all …]
DEffectReverb.c262 size_t numSamples = outBuffer->frameCount; in Reverb_Process() local
263 while (numSamples) { in Reverb_Process()
265 if (numSamples > (uint32_t) pReverb->m_nUpdatePeriodInSamples) { in Reverb_Process()
268 processedSamples = numSamples; in Reverb_Process()
283 numSamples -= processedSamples; in Reverb_Process()
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
DLVPSA_QPD_Process.c59 LVM_INT16 numSamples, in LVPSA_QPD_Process() argument
84 LVM_INT16 ii = numSamples; in LVPSA_QPD_Process()
142 pLVPSA_Inst->LocalSamplesCount = (LVM_UINT16)(numSamples - ii); in LVPSA_QPD_Process()
DLVPSA_QPD.h62 LVM_INT16 numSamples,
/frameworks/av/media/libstagefright/
DAVIExtractor.cpp340 int numSamples; in read() local
342 header, &frameSize, &sampleRate, NULL, NULL, &numSamples)) { in read()
354 mNumSamplesRead += numSamples; in read()
1201 ssize_t numSamples = track.mSamples.size(); in getSampleIndexAtTime() local
1205 } else if (closestSampleIndex >= numSamples) { in getSampleIndexAtTime()
1206 closestSampleIndex = numSamples - 1; in getSampleIndexAtTime()
1228 while (nextSyncSampleIndex < numSamples) { in getSampleIndexAtTime()
1251 return nextSyncSampleIndex < numSamples ? OK : UNKNOWN_ERROR; in getSampleIndexAtTime()
1256 if (prevSyncSampleIndex < 0 && nextSyncSampleIndex >= numSamples) { in getSampleIndexAtTime()
1265 if (nextSyncSampleIndex >= numSamples) { in getSampleIndexAtTime()
DWAVExtractor.cpp457 size_t numSamples = buffer->range_length() / 3; in read() local
458 for (size_t i = 0; i < numSamples; ++i) { in read()
467 buffer->set_range(buffer->range_offset(), 2 * numSamples); in read()
/frameworks/base/libs/androidfw/
DInput.cpp414 size_t numSamples = mSamplePointerCoords.size(); in scale() local
415 for (size_t i = 0; i < numSamples; i++) { in scale()
460 size_t numSamples = mSamplePointerCoords.size(); in transform() local
461 for (size_t i = 0; i < numSamples; i++) { in transform()
DInputTransport.cpp943 size_t numSamples = batch.samples.size(); in findSampleNoLaterThan() local
945 while (index < numSamples in findSampleNoLaterThan()
/frameworks/rs/driver/
DrsdGL.cpp181 uint32_t numSamples) { in getConfigData() argument
224 if (numSamples > 1) { in getConfigData()
228 configAttribsPtr[3] = numSamples; in getConfigData()
/frameworks/av/media/libstagefright/mpeg2ts/
DESQueue.cpp557 int samplingRate, numChannels, bitrate, numSamples; in dequeueAccessUnitMPEGAudio() local
560 &bitrate, &numSamples)); in dequeueAccessUnitMPEGAudio()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp7838 size_t numSamples = mNormalFrameCount * mChannelCount; in addEffectChain_l() local
7839 buffer = new int16_t[numSamples]; in addEffectChain_l()
7840 memset(buffer, 0, numSamples * sizeof(int16_t)); in addEffectChain_l()
9082 size_t numSamples = thread->frameCount() * thread->channelCount(); in clearInputBuffer_l() local
9083 memset(mInBuffer, 0, numSamples * sizeof(int16_t)); in clearInputBuffer_l()
9153 size_t numSamples = thread->frameCount(); in addEffect_l() local
9154 int32_t *buffer = new int32_t[numSamples]; in addEffect_l()
9155 memset(buffer, 0, numSamples * sizeof(int32_t)); in addEffect_l()