Home
last modified time | relevance | path

Searched refs:sampleCount (Results 1 – 12 of 12) sorted by relevance

/frameworks/opt/net/voip/src/jni/rtp/
DAudioGroup.cpp102 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 …]
DEchoSuppressor.cpp42 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()
DEchoSuppressor.h26 EchoSuppressor(int sampleCount, int tailLength);
/frameworks/base/services/core/java/com/android/server/
DAnyMotionDetector.java449 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/
DInput.cpp426 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/
DrsdGL.cpp249 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/
DMPEG4Writer.cpp395 void addOneSttsTableEntry(size_t sampleCount, int32_t timescaledDur);
396 void addOneCttsTableEntry(size_t sampleCount, int32_t timescaledDur);
1759 size_t sampleCount, int32_t duration) { in addOneSttsTableEntry() argument
1762 ALOGW("0-duration samples found: %zu", sampleCount); in addOneSttsTableEntry()
1764 mSttsTableEntries->add(htonl(sampleCount)); in addOneSttsTableEntry()
1769 size_t sampleCount, int32_t duration) { in addOneCttsTableEntry() argument
1774 mCttsTableEntries->add(htonl(sampleCount)); in addOneCttsTableEntry()
2576 int32_t sampleCount = 1; // Sample count in the current stts table entry in threadEntry() local
2920 addOneSttsTableEntry(sampleCount, lastDurationTicks); in threadEntry()
2921 sampleCount = 1; in threadEntry()
[all …]
DSampleTable.cpp103 uint32_t sampleCount = mDeltaEntries[2 * mCurrentDeltaEntry]; in getCompositionTimeOffset() local
104 if (sampleIndex < mCurrentEntrySampleIndex + sampleCount) { in getCompositionTimeOffset()
108 mCurrentEntrySampleIndex += sampleCount; in getCompositionTimeOffset()
DMPEG4Extractor.cpp4395 uint32_t sampleCount; in parseTrackFragmentRun() local
4396 if (!mDataSource->getUInt32(offset + 4, &sampleCount)) { in parseTrackFragmentRun()
4471 if (size < (off64_t)(sampleCount * bytesPerSample)) { in parseTrackFragmentRun()
4476 for (uint32_t i = 0; i < sampleCount; ++i) { in parseTrackFragmentRun()
/frameworks/av/include/media/
DAudioMixer.h368 void *in, audio_format_t mixerInFormat, size_t sampleCount);
/frameworks/av/media/libaudioclient/include/media/
DAudioMixer.h368 void *in, audio_format_t mixerInFormat, size_t sampleCount);
/frameworks/av/media/libaudioprocessing/
DAudioMixer.cpp1931 void *in, audio_format_t mixerInFormat, size_t sampleCount) in convertMixerFormat() argument
1937 memcpy(out, in, sampleCount * sizeof(float)); // MEMCPY. TODO optimize out in convertMixerFormat()
1940 memcpy_to_i16_from_float((int16_t*)out, (float*)in, sampleCount); in convertMixerFormat()
1950 memcpy_to_float_from_q4_27((float*)out, (int32_t*)in, sampleCount); in convertMixerFormat()
1954 ditherAndClamp((int32_t*)out, (int32_t*)in, sampleCount >> 1); in convertMixerFormat()