/frameworks/opt/net/voip/src/jni/rtp/ |
D | AudioGroup.cpp | 102 AudioCodec *codec, int sampleRate, int sampleCount, 168 AudioCodec *codec, int sampleRate, int sampleCount, in set() argument 181 mSampleCount = sampleCount; in set() 478 bool set(int sampleRate, int sampleCount); 577 bool AudioGroup::set(int sampleRate, int sampleCount) in set() argument 586 mSampleCount = sampleCount; in set() 599 sampleRate, sampleCount, -1, -1)) { in set() 608 tv.tv_usec = 1000 * sampleCount / sampleRate * 500; in set() 789 size_t sampleCount = mGroup->mSampleCount; in threadLoop() local 804 if (output < sampleCount * 2) { in threadLoop() [all …]
|
D | EchoSuppressor.cpp | 42 EchoSuppressor::EchoSuppressor(int sampleCount, int tailLength) in EchoSuppressor() argument 44 tailLength += sampleCount * 4; in EchoSuppressor() 47 while ((sampleCount >> shift) > 1 && (tailLength >> shift) > 256) { in EchoSuppressor() 53 mSampleCount = sampleCount; in EchoSuppressor() 54 mWindowSize = sampleCount >> shift; in EchoSuppressor() 56 mRecordLength = tailLength * 2 / sampleCount; in EchoSuppressor()
|
D | EchoSuppressor.h | 26 EchoSuppressor(int sampleCount, int tailLength);
|
/frameworks/base/services/core/java/com/android/server/ |
D | AnyMotionDetector.java | 449 int sampleCount; field in AnyMotionDetector.RunningSignalStats 460 sampleCount = 0; in reset() 471 sampleCount++; in accumulate() 487 if (sampleCount > 0) { in getRunningAverage() 488 return runningSum.times((float)(1.0f / sampleCount)); in getRunningAverage() 498 return sampleCount; in getSampleCount() 510 msg += ", sampleCount = " + sampleCount; in toString()
|
/frameworks/native/libs/input/ |
D | Input.cpp | 426 size_t sampleCount = parcel->readInt32(); in readFromParcel() local 428 sampleCount == 0 || sampleCount > MAX_SAMPLES) { in readFromParcel() 449 mSampleEventTimes.setCapacity(sampleCount); in readFromParcel() 451 mSamplePointerCoords.setCapacity(sampleCount * pointerCount); in readFromParcel() 460 while (sampleCount > 0) { in readFromParcel() 461 sampleCount--; in readFromParcel() 476 size_t sampleCount = mSampleEventTimes.size(); in writeToParcel() local 479 parcel->writeInt32(sampleCount); in writeToParcel() 502 for (size_t h = 0; h < sampleCount; h++) { in writeToParcel()
|
/frameworks/rs/driver/ |
D | rsdGL.cpp | 249 for (uint32_t sampleCount = prefSample; sampleCount >= minSample; sampleCount--) { in rsdGLInit() local 250 getConfigData(rsc, configAttribs, (sizeof(configAttribs) / sizeof(EGLint)), sampleCount); in rsdGLInit()
|
/frameworks/av/media/libstagefright/ |
D | MPEG4Writer.cpp | 417 void addOneSttsTableEntry(size_t sampleCount, int32_t timescaledDur); 418 void addOneCttsTableEntry(size_t sampleCount, int32_t timescaledDur); 1920 size_t sampleCount, int32_t duration) { in addOneSttsTableEntry() argument 1923 ALOGW("0-duration samples found: %zu", sampleCount); in addOneSttsTableEntry() 1925 mSttsTableEntries->add(htonl(sampleCount)); in addOneSttsTableEntry() 1930 size_t sampleCount, int32_t duration) { in addOneCttsTableEntry() argument 1935 mCttsTableEntries->add(htonl(sampleCount)); in addOneCttsTableEntry() 2874 int32_t sampleCount = 1; // Sample count in the current stts table entry in threadEntry() local 3239 addOneSttsTableEntry(sampleCount, lastDurationTicks); in threadEntry() 3240 sampleCount = 1; in threadEntry() [all …]
|
/frameworks/av/media/extractors/mp4/ |
D | SampleTable.cpp | 103 uint32_t sampleCount = mDeltaEntries[2 * mCurrentDeltaEntry]; in getCompositionTimeOffset() local 104 if (sampleIndex < mCurrentEntrySampleIndex + sampleCount) { in getCompositionTimeOffset() 108 mCurrentEntrySampleIndex += sampleCount; in getCompositionTimeOffset()
|
D | MPEG4Extractor.cpp | 4306 uint32_t sampleCount = mCurrentSampleInfoCount; in parseClearEncryptedSizes() local 4308 if (!mDataSource->getUInt32(offset, &sampleCount)) { in parseClearEncryptedSizes() 4315 for (size_t i = 0; i < sampleCount; i++) { in parseClearEncryptedSizes() 4512 uint32_t sampleCount; in parseTrackFragmentRun() local 4513 if (!mDataSource->getUInt32(offset + 4, &sampleCount)) { in parseTrackFragmentRun() 4588 if (size < (off64_t)(sampleCount * bytesPerSample)) { in parseTrackFragmentRun() 4593 for (uint32_t i = 0; i < sampleCount; ++i) { in parseTrackFragmentRun()
|
/frameworks/av/media/libaudioprocessing/ |
D | AudioMixer.cpp | 1767 void *in, audio_format_t mixerInFormat, size_t sampleCount) in convertMixerFormat() argument 1773 memcpy(out, in, sampleCount * sizeof(float)); // MEMCPY. TODO optimize out in convertMixerFormat() 1776 memcpy_to_i16_from_float((int16_t*)out, (float*)in, sampleCount); in convertMixerFormat() 1786 memcpy_to_float_from_q4_27((float*)out, (const int32_t*)in, sampleCount); in convertMixerFormat() 1789 memcpy_to_i16_from_q4_27((int16_t*)out, (const int32_t*)in, sampleCount); in convertMixerFormat()
|
/frameworks/av/include/media/ |
D | AudioMixer.h | 379 void *in, audio_format_t mixerInFormat, size_t sampleCount);
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioMixer.h | 379 void *in, audio_format_t mixerInFormat, size_t sampleCount);
|