/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 | 464 bool SoftAAC2::outputDelayRingBufferPutSamples(INT_PCM *samples, int32_t numSamples) { in outputDelayRingBufferPutSamples() argument 465 if (numSamples == 0) { in outputDelayRingBufferPutSamples() 468 if (outputDelayRingBufferSpaceLeft() < numSamples) { in outputDelayRingBufferPutSamples() 472 if (mOutputDelayRingBufferWritePos + numSamples <= mOutputDelayRingBufferSize in outputDelayRingBufferPutSamples() 474 … || mOutputDelayRingBufferReadPos > mOutputDelayRingBufferWritePos + numSamples)) { in outputDelayRingBufferPutSamples() 476 for (int32_t i = 0; i < numSamples; i++) { in outputDelayRingBufferPutSamples() 486 for (int32_t i = 0; i < numSamples; i++) { in outputDelayRingBufferPutSamples() 494 mOutputDelayRingBufferFilled += numSamples; in outputDelayRingBufferPutSamples() 498 int32_t SoftAAC2::outputDelayRingBufferGetSamples(INT_PCM *samples, int32_t numSamples) { in outputDelayRingBufferGetSamples() argument 500 if (numSamples > mOutputDelayRingBufferFilled) { in outputDelayRingBufferGetSamples() [all …]
|
D | SoftAAC2.h | 88 bool outputDelayRingBufferPutSamples(INT_PCM *samples, int numSamples); 89 int32_t outputDelayRingBufferGetSamples(INT_PCM *samples, int numSamples);
|
/frameworks/av/media/libstagefright/ |
D | DataConverter.cpp | 63 size_t numSamples = targetSize / mTargetSampleSize; in sourceSize() local 64 if (numSamples > SIZE_MAX / mSourceSampleSize) { in sourceSize() 69 return numSamples * mSourceSampleSize; in sourceSize() 74 size_t numSamples = divUp(sourceSize, (size_t)mSourceSampleSize); in targetSize() local 75 if (numSamples > SIZE_MAX / mTargetSampleSize) { in targetSize() 80 return numSamples * mTargetSampleSize; in targetSize()
|
D | WAVExtractor.cpp | 497 const size_t numSamples = n / 3; in read() local 499 … memcpy_to_i16_from_p24((int16_t *)buffer->data(), (const uint8_t *)buffer->data(), numSamples); in read() 500 buffer->set_range(0, 2 * numSamples); in read() 503 const size_t numSamples = n / 4; in read() local 505 … memcpy_to_i16_from_i32((int16_t *)buffer->data(), (const int32_t *)buffer->data(), numSamples); in read() 506 buffer->set_range(0, 2 * numSamples); in read() 511 const size_t numSamples = n / 4; in read() local 513 … memcpy_to_i16_from_float((int16_t *)buffer->data(), (const float *)buffer->data(), numSamples); in read() 514 buffer->set_range(0, 2 * numSamples); in read()
|
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 | OggExtractor.cpp | 572 uint32_t numSamples = 0; in readNextPacket() local 584 numSamples += getNumSamplesInPacket(mBuf); in readNextPacket() 589 if (curGranulePosition > numSamples) { in readNextPacket() 590 mStartGranulePosition = curGranulePosition - numSamples; in readNextPacket() 664 uint32_t numSamples = frameSizeUs * numFrames * kOpusSampleRate / 1000000; in getNumSamplesInPacket() local 665 return numSamples; in getNumSamplesInPacket()
|
/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/include/media/stagefright/ |
D | VideoFrameScheduler.h | 79 bool fit(nsecs_t phase, nsecs_t period, size_t numSamples, 81 void prime(size_t numSamples);
|
/frameworks/native/libs/input/ |
D | Input.cpp | 350 size_t numSamples = mSamplePointerCoords.size(); in scale() local 351 for (size_t i = 0; i < numSamples; i++) { in scale() 408 size_t numSamples = mSamplePointerCoords.size(); in transform() local 409 for (size_t i = 0; i < numSamples; i++) { in transform()
|
D | InputTransport.cpp | 971 size_t numSamples = batch.samples.size(); in findSampleNoLaterThan() local 973 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/base/services/core/java/com/android/server/notification/ |
D | NotificationUsageStats.java | 955 long numSamples; field in NotificationUsageStats.Aggregate 963 numSamples++; in addSample() 964 final double n = numSamples; in addSample() 968 final double divisor = numSamples == 1 ? 1.0 : n - 1.0; in addSample() 975 "numSamples=" + numSamples + in toString()
|
/frameworks/base/docs/html/ndk/guides/audio/ |
D | output-latency.jd | 301 int numSamples = frames * CHANNELS; 302 silenceBuffer = malloc(sizeof(*silenceBuffer) * numSamples); 303 for (i = 0; i < numSamples; i++) {
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | ESQueue.cpp | 945 int samplingRate, numChannels, bitrate, numSamples; in dequeueAccessUnitMPEGAudio() local 948 &bitrate, &numSamples)) { in dequeueAccessUnitMPEGAudio()
|
/frameworks/av/media/libstagefright/httplive/ |
D | PlaylistFetcher.cpp | 1990 int64_t numSamples = 0ll; in extractAndQueueAccessUnits() local 2036 int64_t unitTimeUs = timeUs + numSamples * 1000000ll / sampleRate; in extractAndQueueAccessUnits() 2040 numSamples += 1024; in extractAndQueueAccessUnits()
|
/frameworks/av/services/audioflinger/ |
D | Effects.cpp | 1502 size_t numSamples = thread->frameCount(); in addEffect_l() local 1503 int32_t *buffer = new int32_t[numSamples]; in addEffect_l() 1504 memset(buffer, 0, numSamples * sizeof(int32_t)); in addEffect_l()
|
D | Threads.cpp | 2694 size_t numSamples = mNormalFrameCount * mChannelCount; in addEffectChain_l() local 2695 buffer = new int16_t[numSamples]; in addEffectChain_l() 2696 memset(buffer, 0, numSamples * sizeof(int16_t)); in addEffectChain_l()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 4381 int numSamples = 0; in onLoadSoundEffects() local 4397 numSamples++; in onLoadSoundEffects() 4405 if (numSamples > 0) { in onLoadSoundEffects()
|