Home
last modified time | relevance | path

Searched refs:numFrames (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/native/include/gui/
DOccupancyTracker.h44 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/
DEffectDownmix.c318 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 …]
DEffectDownmix.h99 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/
DOccupancyTracker.cpp34 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/
DSoftVorbis.cpp393 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/
DSoftOpus.cpp467 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/
DAMRExtractor.cpp141 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()
DVBRISeeker.cpp70 size_t numFrames = U32_AT(&vbriHeader[14]); in CreateFromSource() local
73 numFrames * 1000000ll * (sampleRate >= 32000 ? 1152 : 576) / sampleRate; in CreateFromSource()
DAACExtractor.cpp170 off64_t streamSize, numFrames = 0; in AACExtractor() local
185 numFrames ++; in AACExtractor()
190 duration = numFrames * mFrameDurationUs; in AACExtractor()
DMediaSync.cpp307 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()
DOggExtractor.cpp643 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/
Dtime_util.h39 void SetLoggingPeriodInFrames(uint64_t numFrames) { in SetLoggingPeriodInFrames() argument
40 mLoggingPeriodInFrames = numFrames; in SetLoggingPeriodInFrames()
/frameworks/base/media/mca/filterpacks/native/base/
Dtime_util.h39 void SetLoggingPeriodInFrames(uint64_t numFrames) { in SetLoggingPeriodInFrames() argument
40 mLoggingPeriodInFrames = numFrames; in SetLoggingPeriodInFrames()
/frameworks/av/services/audioflinger/
DAudioMixer.h319 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,
DAudioMixer.cpp1449 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/
DAacAdtsExtractor.cpp133 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/
DFrameTracker.cpp186 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/
DAnimationDrawable.java259 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/
DSurfaceTextureGL_test.cpp197 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/
DhwcColorEquiv.cpp309 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/
DSoftAAC2.cpp912 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/
Dstagefright.cpp314 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/
DCamera2ReprocessCaptureTest.java749 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/
DMediaSync.h237 int64_t getDurationIfPlayedAtNativeSampleRate_l(int64_t numFrames);
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.h278 int64_t getDurationUsIfPlayedAtSampleRate(uint32_t numFrames);

12