/frameworks/opt/net/voip/src/jni/rtp/ |
D | AudioGroup.cpp | 100 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 …]
|
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/native/libs/input/ |
D | Input.cpp | 423 size_t sampleCount = parcel->readInt32(); in readFromParcel() local 424 if (pointerCount == 0 || pointerCount > MAX_POINTERS || sampleCount == 0) { in readFromParcel() 444 mSampleEventTimes.setCapacity(sampleCount); in readFromParcel() 446 mSamplePointerCoords.setCapacity(sampleCount * pointerCount); in readFromParcel() 455 while (sampleCount-- > 0) { in readFromParcel() 470 size_t sampleCount = mSampleEventTimes.size(); in writeToParcel() local 473 parcel->writeInt32(sampleCount); in writeToParcel() 495 for (size_t h = 0; h < sampleCount; h++) { in writeToParcel()
|
/frameworks/base/core/java/android/view/ |
D | ScaleGestureDetector.java | 227 int sampleCount = 0; in addTouchHistory() local 261 sampleCount += pointerSampleCount; in addTouchHistory() 264 final float avg = total / sampleCount; in addTouchHistory()
|
/frameworks/av/media/libstagefright/ |
D | MPEG4Writer.cpp | 313 void addOneSttsTableEntry(size_t sampleCount, int32_t timescaledDur); 314 void addOneCttsTableEntry(size_t sampleCount, int32_t timescaledDur); 1421 size_t sampleCount, int32_t duration) { in addOneSttsTableEntry() argument 1424 ALOGW("0-duration samples found: %zu", sampleCount); in addOneSttsTableEntry() 1426 mSttsTableEntries->add(htonl(sampleCount)); in addOneSttsTableEntry() 1431 size_t sampleCount, int32_t duration) { in addOneCttsTableEntry() argument 1436 mCttsTableEntries->add(htonl(sampleCount)); in addOneCttsTableEntry() 2088 int32_t sampleCount = 1; // Sample count in the current stts table entry in threadEntry() local 2342 addOneSttsTableEntry(sampleCount, lastDurationTicks); in threadEntry() 2343 sampleCount = 1; in threadEntry() [all …]
|
D | SampleTable.cpp | 94 uint32_t sampleCount = mDeltaEntries[2 * mCurrentDeltaEntry]; in getCompositionTimeOffset() local 95 if (sampleIndex < mCurrentEntrySampleIndex + sampleCount) { in getCompositionTimeOffset() 99 mCurrentEntrySampleIndex += sampleCount; in getCompositionTimeOffset()
|
D | MPEG4Extractor.cpp | 3507 uint32_t sampleCount; in parseTrackFragmentRun() local 3508 if (!mDataSource->getUInt32(offset + 4, &sampleCount)) { in parseTrackFragmentRun() 3583 if (size < (off64_t)sampleCount * bytesPerSample) { in parseTrackFragmentRun() 3588 for (uint32_t i = 0; i < sampleCount; ++i) { in parseTrackFragmentRun()
|
/frameworks/rs/driver/ |
D | rsdGL.cpp | 259 for (uint32_t sampleCount = prefSample; sampleCount >= minSample; sampleCount--) { in rsdGLInit() local 260 getConfigData(rsc, configAttribs, (sizeof(configAttribs) / sizeof(EGLint)), sampleCount); in rsdGLInit()
|
/frameworks/ml/bordeaux/learning/predictor_histogram/java/android/bordeaux/learning/ |
D | HistogramPredictor.java | 284 int sampleCount = (mClassCounts.containsKey(sampleId)) ? in addSample() local 286 mClassCounts.put(sampleId, sampleCount); in addSample()
|
/frameworks/av/services/audioflinger/ |
D | AudioMixer.h | 447 void *in, audio_format_t mixerInFormat, size_t sampleCount);
|
D | AudioMixer.cpp | 2080 void *in, audio_format_t mixerInFormat, size_t sampleCount) in convertMixerFormat() argument 2086 memcpy(out, in, sampleCount * sizeof(float)); // MEMCPY. TODO optimize out in convertMixerFormat() 2089 memcpy_to_i16_from_float((int16_t*)out, (float*)in, sampleCount); in convertMixerFormat() 2099 memcpy_to_float_from_q4_27((float*)out, (int32_t*)in, sampleCount); in convertMixerFormat() 2103 ditherAndClamp((int32_t*)out, (int32_t*)in, sampleCount >> 1); in convertMixerFormat()
|