Home
last modified time | relevance | path

Searched refs:numSamples (Results 1 – 14 of 14) 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()
102 numSamples -= numSamplesIter; in process()
128 void ConvertInput(const void *& pIn, uint32_t numSamples) { in ConvertInput() argument
132 while (numSamples-- > 0) { in ConvertInput()
146 void ConvertOutput(void *& pOut, uint32_t numSamples) { in ConvertOutput() argument
151 while (numSamples-- > 0) { in ConvertOutput()
155 while (numSamples-- > 0) { in ConvertOutput()
172 void MixOutput(void *& pOut, uint32_t numSamples) { in MixOutput() argument
[all …]
DEffectReverb.c245 size_t numSamples = outBuffer->frameCount; in Reverb_Process() local
246 while (numSamples) { in Reverb_Process()
248 if (numSamples > (uint32_t) pReverb->m_nUpdatePeriodInSamples) { in Reverb_Process()
251 processedSamples = numSamples; in Reverb_Process()
266 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.cpp493 size_t numSamples = buffer->range_length() / 3; in read() local
494 for (size_t i = 0; i < numSamples; ++i) { in read()
503 buffer->set_range(buffer->range_offset(), 2 * numSamples); in read()
/frameworks/native/libs/input/
DInput.cpp416 size_t numSamples = mSamplePointerCoords.size(); in scale() local
417 for (size_t i = 0; i < numSamples; i++) { in scale()
474 size_t numSamples = mSamplePointerCoords.size(); in transform() local
475 for (size_t i = 0; i < numSamples; i++) { in transform()
DInputTransport.cpp952 size_t numSamples = batch.samples.size(); in findSampleNoLaterThan() local
954 while (index < numSamples in findSampleNoLaterThan()
/frameworks/rs/driver/
DrsdGL.cpp180 uint32_t numSamples) { in getConfigData() argument
223 if (numSamples > 1) { in getConfigData()
227 configAttribsPtr[3] = numSamples; in getConfigData()
/frameworks/av/media/libstagefright/mpeg2ts/
DESQueue.cpp654 int samplingRate, numChannels, bitrate, numSamples; in dequeueAccessUnitMPEGAudio() local
657 &bitrate, &numSamples)); in dequeueAccessUnitMPEGAudio()
/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp1310 int64_t numSamples = 0ll; in extractAndQueueAccessUnits() local
1341 int64_t unitTimeUs = timeUs + numSamples * 1000000ll / sampleRate; in extractAndQueueAccessUnits()
1345 numSamples += 1024; in extractAndQueueAccessUnits()
/frameworks/av/services/audioflinger/
DEffects.cpp1351 size_t numSamples = thread->frameCount(); in addEffect_l() local
1352 int32_t *buffer = new int32_t[numSamples]; in addEffect_l()
1353 memset(buffer, 0, numSamples * sizeof(int32_t)); in addEffect_l()
DThreads.cpp2018 size_t numSamples = mNormalFrameCount * mChannelCount; in addEffectChain_l() local
2019 buffer = new int16_t[numSamples]; in addEffectChain_l()
2020 memset(buffer, 0, numSamples * sizeof(int16_t)); in addEffectChain_l()
/frameworks/base/media/java/android/media/
DAudioService.java3335 int numSamples = 0; in onLoadSoundEffects() local
3351 numSamples++; in onLoadSoundEffects()
3359 if (numSamples > 0) { in onLoadSoundEffects()