Home
last modified time | relevance | path

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

/frameworks/base/voip/jni/rtp/
DAudioGroup.cpp100 AudioCodec *codec, int sampleRate, int sampleCount,
166 AudioCodec *codec, int sampleRate, int sampleCount, in set() argument
179 mSampleCount = sampleCount; in set()
476 bool set(int sampleRate, int sampleCount);
572 bool AudioGroup::set(int sampleRate, int sampleCount) in set() argument
581 mSampleCount = sampleCount; in set()
594 sampleRate, sampleCount, -1, -1)) { in set()
603 tv.tv_usec = 1000 * sampleCount / sampleRate * 500; in set()
784 int sampleCount = mGroup->mSampleCount; in threadLoop() local
799 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/media/java/android/media/videoeditor/
DAudioTrack.java539 final int sampleCount; in extractAudioWaveform() local
545 sampleCount = MediaProperties.SAMPLES_PER_FRAME_AMRNB; in extractAudioWaveform()
552 sampleCount = MediaProperties.SAMPLES_PER_FRAME_AMRWB; in extractAudioWaveform()
559 sampleCount = MediaProperties.SAMPLES_PER_FRAME_AAC; in extractAudioWaveform()
566 sampleCount = MediaProperties.SAMPLES_PER_FRAME_MP3; in extractAudioWaveform()
581 sampleCount, in extractAudioWaveform()
DMediaVideoItem.java534 int sampleCount = 0; in extractAudioWaveform() local
555 sampleCount = MediaProperties.SAMPLES_PER_FRAME_AMRNB; in extractAudioWaveform()
560 sampleCount = MediaProperties.SAMPLES_PER_FRAME_AMRWB; in extractAudioWaveform()
565 sampleCount = MediaProperties.SAMPLES_PER_FRAME_AAC; in extractAudioWaveform()
573 sampleCount, in extractAudioWaveform() local
DMediaArtistNativeHelper.java4027 int frameDuration, int channels, int sampleCount); in nativeGenerateAudioGraph() argument
/frameworks/base/libs/androidfw/
DInput.cpp476 size_t sampleCount = parcel->readInt32(); in readFromParcel() local
477 if (pointerCount == 0 || pointerCount > MAX_POINTERS || sampleCount == 0) { in readFromParcel()
497 mSampleEventTimes.setCapacity(sampleCount); in readFromParcel()
499 mSamplePointerCoords.setCapacity(sampleCount * pointerCount); in readFromParcel()
508 while (sampleCount-- > 0) { in readFromParcel()
523 size_t sampleCount = mSampleEventTimes.size(); in writeToParcel() local
526 parcel->writeInt32(sampleCount); in writeToParcel()
548 for (size_t h = 0; h < sampleCount; h++) { in writeToParcel()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp137 : sampleCount(count), sampleDuration(duration) {} in SttsTableEntry()
139 uint32_t sampleCount; member
147 : sampleCount(count), sampleDuration(timescaledDur) {} in CttsTableEntry()
149 uint32_t sampleCount; member
219 void addOneSttsTableEntry(size_t sampleCount, int32_t timescaledDur);
220 void addOneCttsTableEntry(size_t sampleCount, int32_t timescaledDur);
1186 size_t sampleCount, int32_t duration) { in addOneSttsTableEntry() argument
1189 ALOGW("0-duration samples found: %d", sampleCount); in addOneSttsTableEntry()
1191 SttsTableEntry sttsEntry(sampleCount, duration); in addOneSttsTableEntry()
1197 size_t sampleCount, int32_t duration) { in addOneCttsTableEntry() argument
[all …]
DSampleTable.cpp94 uint32_t sampleCount = mDeltaEntries[2 * mCurrentDeltaEntry]; in getCompositionTimeOffset() local
95 if (sampleIndex < mCurrentEntrySampleIndex + sampleCount) { in getCompositionTimeOffset()
99 mCurrentEntrySampleIndex += sampleCount; in getCompositionTimeOffset()
/frameworks/rs/driver/
DrsdGL.cpp261 for (uint32_t sampleCount = prefSample; sampleCount >= minSample; sampleCount--) { in rsdGLInit() local
262 getConfigData(rsc, configAttribs, (sizeof(configAttribs) / sizeof(EGLint)), sampleCount); in rsdGLInit()