/frameworks/native/include/gui/ |
D | OccupancyTracker.h | 44 numFrames(0), in Segment() 48 Segment(nsecs_t totalTime, size_t numFrames, float occupancyAverage, in Segment() 51 numFrames(numFrames), in Segment() 60 size_t numFrames; member 83 numFrames = 0; in clear() 88 size_t numFrames; member
|
/frameworks/av/media/libeffects/downmix/ |
D | EffectDownmix.c | 318 size_t numFrames = outBuffer->frameCount; in Downmix_Process() local 328 while (numFrames) { in Downmix_Process() 333 numFrames--; in Downmix_Process() 336 while (numFrames) { in Downmix_Process() 341 numFrames--; in Downmix_Process() 350 downmixInputChannelMask, pSrc, pDst, numFrames, accumulate)) { in Downmix_Process() 360 Downmix_foldFromQuad(pSrc, pDst, numFrames, accumulate); in Downmix_Process() 364 Downmix_foldFrom5Point1(pSrc, pDst, numFrames, accumulate); in Downmix_Process() 367 Downmix_foldFrom7Point1(pSrc, pDst, numFrames, accumulate); in Downmix_Process() 371 downmixInputChannelMask, pSrc, pDst, numFrames, accumulate)) { in Downmix_Process() [all …]
|
D | EffectDownmix.h | 99 void Downmix_foldFromQuad(int16_t *pSrc, int16_t*pDst, size_t numFrames, bool accumulate); 100 void Downmix_foldFrom5Point1(int16_t *pSrc, int16_t*pDst, size_t numFrames, bool accumulate); 101 void Downmix_foldFrom7Point1(int16_t *pSrc, int16_t*pDst, size_t numFrames, bool accumulate); 103 uint32_t mask, int16_t *pSrc, int16_t*pDst, size_t numFrames, bool accumulate);
|
/frameworks/native/libs/gui/ |
D | OccupancyTracker.cpp | 34 result = parcel->writeUint64(static_cast<uint64_t>(numFrames)); in writeToParcel() 55 numFrames = static_cast<size_t>(uintNumFrames); in readFromParcel() 78 ++mPendingSegment.numFrames; in registerOccupancyChange() 98 if (mPendingSegment.numFrames > LONG_SEGMENT_THRESHOLD) { in recordPendingSegment() 109 mPendingSegment.numFrames, occupancyAverage, usedThirdBuffer}); in recordPendingSegment()
|
/frameworks/av/media/libstagefright/codecs/vorbis/dec/ |
D | SoftVorbis.cpp | 393 int numFrames = 0; in onQueueFilled() local 410 numFrames = vorbis_dsp_pcmout( in onQueueFilled() 414 if (numFrames < 0) { in onQueueFilled() 415 ALOGE("vorbis_dsp_pcmout returned %d", numFrames); in onQueueFilled() 416 numFrames = 0; in onQueueFilled() 421 if (numFrames > mNumFramesLeftOnPage) { in onQueueFilled() 423 numFrames - mNumFramesLeftOnPage); in onQueueFilled() 424 numFrames = mNumFramesLeftOnPage; in onQueueFilled() 430 mNumFramesLeftOnPage -= numFrames; in onQueueFilled() 433 outHeader->nFilledLen = numFrames * sizeof(int16_t) * mVi->channels; in onQueueFilled() [all …]
|
/frameworks/av/media/libstagefright/codecs/opus/dec/ |
D | SoftOpus.cpp | 467 int numFrames = opus_multistream_decode(mDecoder, in onQueueFilled() local 473 if (numFrames < 0) { in onQueueFilled() 474 ALOGE("opus_multistream_decode returned %d", numFrames); in onQueueFilled() 481 if (mSamplesToDiscard > numFrames) { in onQueueFilled() 482 mSamplesToDiscard -= numFrames; in onQueueFilled() 483 numFrames = 0; in onQueueFilled() 485 numFrames -= mSamplesToDiscard; in onQueueFilled() 492 outHeader->nFilledLen = numFrames * sizeof(int16_t) * mHeader->channels; in onQueueFilled() 499 mNumFramesOutput += numFrames; in onQueueFilled()
|
/frameworks/av/media/libstagefright/ |
D | AMRExtractor.cpp | 141 size_t frameSize, numFrames = 0; in AMRExtractor() local 153 if ((numFrames % 50 == 0) && (numFrames / 50 < OFFSET_TABLE_LEN)) { in AMRExtractor() 154 CHECK_EQ(mOffsetTableLength, numFrames / 50); in AMRExtractor() 161 numFrames ++; in AMRExtractor()
|
D | VBRISeeker.cpp | 70 size_t numFrames = U32_AT(&vbriHeader[14]); in CreateFromSource() local 73 numFrames * 1000000ll * (sampleRate >= 32000 ? 1152 : 576) / sampleRate; in CreateFromSource()
|
D | AACExtractor.cpp | 170 off64_t streamSize, numFrames = 0; in AACExtractor() local 185 numFrames ++; in AACExtractor() 190 duration = numFrames * mFrameDurationUs; in AACExtractor()
|
D | MediaSync.cpp | 307 int64_t numFrames = sizeInBytes / mAudioTrack->frameSize(); in updateQueuedAudioData() local 309 + getDurationIfPlayedAtNativeSampleRate_l(numFrames); in updateQueuedAudioData() 316 mNumFramesWritten += numFrames; in updateQueuedAudioData() 473 int64_t MediaSync::getDurationIfPlayedAtNativeSampleRate_l(int64_t numFrames) { in getDurationIfPlayedAtNativeSampleRate_l() argument 474 return (numFrames * 1000000LL / mNativeSampleRateInHz); in getDurationIfPlayedAtNativeSampleRate_l()
|
D | OggExtractor.cpp | 643 uint32_t numFrames; in getNumSamplesInPacket() local 647 numFrames = 1; in getNumSamplesInPacket() 651 numFrames = 2; in getNumSamplesInPacket() 655 numFrames = 0; in getNumSamplesInPacket() 657 numFrames = data[2] & 0x3f; in getNumSamplesInPacket() 664 uint32_t numSamples = frameSizeUs * numFrames * kOpusSampleRate / 1000000; in getNumSamplesInPacket()
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | time_util.h | 39 void SetLoggingPeriodInFrames(uint64_t numFrames) { in SetLoggingPeriodInFrames() argument 40 mLoggingPeriodInFrames = numFrames; in SetLoggingPeriodInFrames()
|
/frameworks/base/media/mca/filterpacks/native/base/ |
D | time_util.h | 39 void SetLoggingPeriodInFrames(uint64_t numFrames) { in SetLoggingPeriodInFrames() argument 40 mLoggingPeriodInFrames = numFrames; in SetLoggingPeriodInFrames()
|
/frameworks/av/services/audioflinger/ |
D | AudioMixer.h | 319 static void track__genericResample(track_t* t, int32_t* out, size_t numFrames, int32_t* temp, 321 static void track__nop(track_t* t, int32_t* out, size_t numFrames, int32_t* temp, int32_t* aux); 322 static void track__16BitsStereo(track_t* t, int32_t* out, size_t numFrames, int32_t* temp, 324 static void track__16BitsMono(track_t* t, int32_t* out, size_t numFrames, int32_t* temp,
|
D | AudioMixer.cpp | 1449 size_t numFrames = 0; in process__genericNoResampling() local 1460 aux = t.auxBuffer + numFrames; in process__genericNoResampling() 1482 t.buffer.frameCount = (state->frameCount - numFrames) - in process__genericNoResampling() 1502 numFrames += BLOCKSIZE; in process__genericNoResampling() 1503 } while (numFrames < state->frameCount); in process__genericNoResampling() 1523 size_t numFrames = state->frameCount; in process__genericResampling() local 1557 t.hook(&t, outTemp, numFrames, state->resampleTemp, aux); in process__genericResampling() 1562 while (outFrames < numFrames) { in process__genericResampling() 1563 t.buffer.frameCount = numFrames - outFrames; in process__genericResampling() 1581 outTemp, t1.mMixerInFormat, numFrames * t1.mMixerChannelCount); in process__genericResampling() [all …]
|
/frameworks/wilhelm/src/android/util/ |
D | AacAdtsExtractor.cpp | 133 off64_t offset = 0, numFrames = 0; in AacAdtsExtractor() local 150 numFrames ++; in AacAdtsExtractor() 154 int64_t duration = numFrames * mFrameDurationUs; in AacAdtsExtractor()
|
/frameworks/native/services/surfaceflinger/ |
D | FrameTracker.cpp | 186 int* numFrames = const_cast<int*>(mNumFrames); in updateStatsLocked() local 205 numFrames[i]++; in updateStatsLocked() 211 numFrames[NUM_FRAME_BUCKETS-1]++; in updateStatsLocked()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | AnimationDrawable.java | 259 final int numFrames = mAnimationState.getChildCount(); in nextFrame() local 260 final boolean isLastFrame = mAnimationState.mOneShot && nextFrame >= (numFrames - 1); in nextFrame() 263 if (!mAnimationState.mOneShot && nextFrame >= numFrames) { in nextFrame()
|
/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureGL_test.cpp | 197 enum { numFrames = 1024 }; in TEST_F() enumerator 231 for (int i = 0; i < numFrames; i++) { in TEST_F() 310 for (int i = 0; i < numFrames; i++) { in TEST_F() 455 for (int numFrames =0 ; numFrames < 2; numFrames ++) { in TEST_F() local
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcColorEquiv.cpp | 309 const unsigned int numFrames = 2; in main() local 345 size_t size = sizeof(hwc_display_contents_1_t) + numFrames * sizeof(hwc_layer_1_t); in main() 351 list->numHwLayers = numFrames; in main()
|
/frameworks/av/media/libstagefright/codecs/aacdec/ |
D | SoftAAC2.cpp | 912 int numFrames = numSamples / (mStreamInfo->frameSize * mStreamInfo->numChannels); in onQueueFilled() local 913 numSamples = numFrames * (mStreamInfo->frameSize * mStreamInfo->numChannels); in onQueueFilled() 916 numSamples, available, numFrames); in onQueueFilled() 920 for (int i = 0; i < numFrames; i++) { in onQueueFilled() 946 numFrames = i + 1; in onQueueFilled() 947 numSamples = numFrames * mStreamInfo->frameSize * mStreamInfo->numChannels; in onQueueFilled()
|
/frameworks/av/cmds/stagefright/ |
D | stagefright.cpp | 314 long numFrames = 0; in playSource() local 355 ++numFrames; in playSource() 356 if (gMaxNumFrames > 0 && numFrames == gMaxNumFrames) { in playSource() 360 if (gReproduceBug == 1 && numFrames == 40) { in playSource() 363 } else if (gReproduceBug == 2 && numFrames == 40) { in playSource()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | Camera2ReprocessCaptureTest.java | 749 int numFrames = EDGE_MODES.length; in testReprocessRequestKeys() local 753 numFrames); in testReprocessRequestKeys() 754 setupReprocessableSession(/*previewSurface*/null, numFrames); in testReprocessRequestKeys() 757 ArrayList<CaptureRequest> reprocessRequests = new ArrayList<>(numFrames); in testReprocessRequestKeys() 759 for (int i = 0; i < numFrames; i++) { in testReprocessRequestKeys() 786 for (int i = 0; i < numFrames; i++) { in testReprocessRequestKeys()
|
/frameworks/av/include/media/stagefright/ |
D | MediaSync.h | 237 int64_t getDurationIfPlayedAtNativeSampleRate_l(int64_t numFrames);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerRenderer.h | 277 int64_t getDurationUsIfPlayedAtSampleRate(uint32_t numFrames);
|