/frameworks/av/media/libeffects/testlibs/ |
D | AudioFormatAdapter.h | 74 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 …]
|
D | EffectReverb.c | 245 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/libstagefright/codecs/aacdec/ |
D | SoftAAC2.cpp | 415 bool SoftAAC2::outputDelayRingBufferPutSamples(INT_PCM *samples, int32_t numSamples) { in outputDelayRingBufferPutSamples() argument 416 if (numSamples == 0) { in outputDelayRingBufferPutSamples() 419 if (outputDelayRingBufferSpaceLeft() < numSamples) { in outputDelayRingBufferPutSamples() 423 if (mOutputDelayRingBufferWritePos + numSamples <= mOutputDelayRingBufferSize in outputDelayRingBufferPutSamples() 425 … || mOutputDelayRingBufferReadPos > mOutputDelayRingBufferWritePos + numSamples)) { in outputDelayRingBufferPutSamples() 427 for (int32_t i = 0; i < numSamples; i++) { in outputDelayRingBufferPutSamples() 437 for (int32_t i = 0; i < numSamples; i++) { in outputDelayRingBufferPutSamples() 445 mOutputDelayRingBufferFilled += numSamples; in outputDelayRingBufferPutSamples() 449 int32_t SoftAAC2::outputDelayRingBufferGetSamples(INT_PCM *samples, int32_t numSamples) { in outputDelayRingBufferGetSamples() argument 451 if (numSamples > mOutputDelayRingBufferFilled) { in outputDelayRingBufferGetSamples() [all …]
|
D | SoftAAC2.h | 89 bool outputDelayRingBufferPutSamples(INT_PCM *samples, int numSamples); 90 int32_t outputDelayRingBufferGetSamples(INT_PCM *samples, int numSamples);
|
/frameworks/av/media/libmediaplayerservice/ |
D | VideoFrameScheduler.h | 75 bool fit(nsecs_t phase, nsecs_t period, size_t numSamples, 77 void prime(size_t numSamples);
|
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/ |
D | LVPSA_QPD_Process.c | 59 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()
|
D | LVPSA_QPD.h | 62 LVM_INT16 numSamples,
|
/frameworks/av/media/libstagefright/ |
D | AVIExtractor.cpp | 340 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()
|
D | WAVExtractor.cpp | 497 size_t numSamples = buffer->range_length() / 3; in read() local 498 for (size_t i = 0; i < numSamples; ++i) { in read() 507 buffer->set_range(buffer->range_offset(), 2 * numSamples); in read()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationUsageStats.java | 446 long numSamples; field in NotificationUsageStats.Aggregate 454 numSamples++; in addSample() 455 final double n = numSamples; in addSample() 459 final double divisor = numSamples == 1 ? 1.0 : n - 1.0; in addSample() 466 "numSamples=" + numSamples + in toString()
|
/frameworks/native/libs/input/ |
D | Input.cpp | 347 size_t numSamples = mSamplePointerCoords.size(); in scale() local 348 for (size_t i = 0; i < numSamples; i++) { in scale() 405 size_t numSamples = mSamplePointerCoords.size(); in transform() local 406 for (size_t i = 0; i < numSamples; i++) { in transform()
|
D | InputTransport.cpp | 953 size_t numSamples = batch.samples.size(); in findSampleNoLaterThan() local 955 while (index < numSamples in findSampleNoLaterThan()
|
/frameworks/rs/driver/ |
D | rsdGL.cpp | 179 uint32_t numSamples) { in getConfigData() argument 222 if (numSamples > 1) { in getConfigData() 226 configAttribsPtr[3] = numSamples; in getConfigData()
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | ESQueue.cpp | 761 size_t numSamples = 1024 * size / samplesize; in fetchTimestampAAC() local 762 info->mTimestampUs += numSamples * 1000000ll / sampleRate; in fetchTimestampAAC() 913 int samplingRate, numChannels, bitrate, numSamples; in dequeueAccessUnitMPEGAudio() local 916 &bitrate, &numSamples)); in dequeueAccessUnitMPEGAudio()
|
/frameworks/av/media/libstagefright/httplive/ |
D | PlaylistFetcher.cpp | 1568 int64_t numSamples = 0ll; in extractAndQueueAccessUnits() local 1602 int64_t unitTimeUs = timeUs + numSamples * 1000000ll / sampleRate; in extractAndQueueAccessUnits() 1606 numSamples += 1024; in extractAndQueueAccessUnits()
|
/frameworks/av/services/audioflinger/ |
D | Effects.cpp | 1489 size_t numSamples = thread->frameCount(); in addEffect_l() local 1490 int32_t *buffer = new int32_t[numSamples]; in addEffect_l() 1491 memset(buffer, 0, numSamples * sizeof(int32_t)); in addEffect_l()
|
D | Threads.cpp | 2259 size_t numSamples = mNormalFrameCount * mChannelCount; in addEffectChain_l() local 2260 buffer = new int16_t[numSamples]; in addEffectChain_l() 2261 memset(buffer, 0, numSamples * sizeof(int16_t)); in addEffectChain_l()
|
/frameworks/base/media/java/android/media/ |
D | AudioService.java | 4036 int numSamples = 0; in onLoadSoundEffects() local 4052 numSamples++; in onLoadSoundEffects() 4060 if (numSamples > 0) { in onLoadSoundEffects()
|