/frameworks/av/media/libeffects/downmix/ |
D | EffectDownmix.c | 287 size_t numFrames = outBuffer->frameCount; in Downmix_Process() local 297 while (numFrames) { in Downmix_Process() 302 numFrames--; in Downmix_Process() 305 while (numFrames) { in Downmix_Process() 310 numFrames--; in Downmix_Process() 319 downmixInputChannelMask, pSrc, pDst, numFrames, accumulate)) { in Downmix_Process() 329 Downmix_foldFromQuad(pSrc, pDst, numFrames, accumulate); in Downmix_Process() 333 Downmix_foldFrom5Point1(pSrc, pDst, numFrames, accumulate); in Downmix_Process() 336 Downmix_foldFrom7Point1(pSrc, pDst, numFrames, accumulate); in Downmix_Process() 340 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/av/media/libstagefright/codecs/vorbis/dec/ |
D | SoftVorbis.cpp | 353 int numFrames = 0; in onQueueFilled() local 365 numFrames = vorbis_dsp_pcmout( in onQueueFilled() 369 if (numFrames < 0) { in onQueueFilled() 370 ALOGE("vorbis_dsp_pcmout returned %d", numFrames); in onQueueFilled() 371 numFrames = 0; in onQueueFilled() 376 if (numFrames > mNumFramesLeftOnPage) { in onQueueFilled() 378 numFrames - mNumFramesLeftOnPage); in onQueueFilled() 379 numFrames = mNumFramesLeftOnPage; in onQueueFilled() 385 mNumFramesLeftOnPage -= numFrames; in onQueueFilled() 388 outHeader->nFilledLen = numFrames * sizeof(int16_t) * mVi->channels; in onQueueFilled() [all …]
|
/frameworks/av/media/libstagefright/codecs/opus/dec/ |
D | SoftOpus.cpp | 432 int numFrames = opus_multistream_decode(mDecoder, in onQueueFilled() local 438 if (numFrames < 0) { in onQueueFilled() 439 ALOGE("opus_multistream_decode returned %d", numFrames); in onQueueFilled() 446 if (mSamplesToDiscard > numFrames) { in onQueueFilled() 447 mSamplesToDiscard -= numFrames; in onQueueFilled() 448 numFrames = 0; in onQueueFilled() 450 numFrames -= mSamplesToDiscard; in onQueueFilled() 457 outHeader->nFilledLen = numFrames * sizeof(int16_t) * mHeader->channels; in onQueueFilled() 464 mNumFramesOutput += numFrames; in onQueueFilled()
|
/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/av/media/libstagefright/ |
D | AMRExtractor.cpp | 138 size_t frameSize, numFrames = 0; in AMRExtractor() local 147 if ((numFrames % 50 == 0) && (numFrames / 50 < OFFSET_TABLE_LEN)) { in AMRExtractor() 148 CHECK_EQ(mOffsetTableLength, numFrames / 50); in AMRExtractor() 155 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 183 numFrames ++; in AACExtractor() 188 duration = numFrames * mFrameDurationUs; in AACExtractor()
|
/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/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/av/camera/ |
D | ProCamera.cpp | 339 int numFrames = si.frameReady; in waitForFrameBuffer() local 341 return numFrames; in waitForFrameBuffer() 353 int numFrames = si.frameReady; in waitForFrameBuffer() local 355 return numFrames; in waitForFrameBuffer()
|
/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/av/services/audioflinger/ |
D | AudioMixer.h | 393 static void track__genericResample(track_t* t, int32_t* out, size_t numFrames, int32_t* temp, 395 static void track__nop(track_t* t, int32_t* out, size_t numFrames, int32_t* temp, int32_t* aux); 396 static void track__16BitsStereo(track_t* t, int32_t* out, size_t numFrames, int32_t* temp, 398 static void track__16BitsMono(track_t* t, int32_t* out, size_t numFrames, int32_t* temp,
|
D | AudioMixer.cpp | 1586 size_t numFrames = 0; in process__genericNoResampling() local 1597 aux = t.auxBuffer + numFrames; in process__genericNoResampling() 1619 t.buffer.frameCount = (state->frameCount - numFrames) - in process__genericNoResampling() 1622 t, pts, numFrames + (BLOCKSIZE - outFrames)); in process__genericNoResampling() 1641 numFrames += BLOCKSIZE; in process__genericNoResampling() 1642 } while (numFrames < state->frameCount); in process__genericNoResampling() 1662 size_t numFrames = state->frameCount; in process__genericResampling() local 1697 t.hook(&t, outTemp, numFrames, state->resampleTemp, aux); in process__genericResampling() 1702 while (outFrames < numFrames) { in process__genericResampling() 1703 t.buffer.frameCount = numFrames - outFrames; in process__genericResampling() [all …]
|
D | PlaybackTracks.h | 222 void timedYieldSilence_l(uint32_t numFrames,
|
D | Tracks.cpp | 1558 uint32_t numFrames, AudioBufferProvider::Buffer* buffer) { in timedYieldSilence_l() argument 1561 if (mTimedSilenceBufferSize < numFrames * mFrameSize) { in timedYieldSilence_l() 1563 mTimedSilenceBufferSize = numFrames * mFrameSize; in timedYieldSilence_l() 1570 buffer->frameCount = min(numFrames, framesRequested); in timedYieldSilence_l()
|
/frameworks/av/camera/tests/ |
D | ProCameraTests.cpp | 1136 int numFrames; in TEST_F() local 1137 EXPECT_TRUE((numFrames = mCamera->waitForFrameBuffer(streamId)) > 0); in TEST_F() 1140 EXPECT_EQ(numFrames-1, mCamera->dropFrameBuffer(streamId, numFrames-1)); in TEST_F() 1142 dout << "Dropped " << (numFrames - 1) << " frames" << std::endl; in TEST_F() 1145 i += numFrames-1; in TEST_F() 1189 int numFrames; in TEST_F() local 1194 EXPECT_LT(0, (numFrames = mCamera->waitForFrameBuffer(streamId))); in TEST_F() 1196 dout << "Dropped " << (numFrames - 1) << " frames" << std::endl; in TEST_F() 1199 i += numFrames-1; in TEST_F()
|
/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureGL_test.cpp | 185 enum { numFrames = 1024 }; in TEST_F() enumerator 216 for (int i = 0; i < numFrames; i++) { in TEST_F() 295 for (int i = 0; i < numFrames; i++) { in TEST_F() 429 for (int numFrames =0 ; numFrames < 2; numFrames ++) { in TEST_F() local
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcColorEquiv.cpp | 311 const unsigned int numFrames = 2; in main() local 347 size_t size = sizeof(hwc_display_contents_1_t) + numFrames * sizeof(hwc_layer_1_t); in main() 353 list->numHwLayers = numFrames; in main()
|
/frameworks/av/media/libstagefright/codecs/aacdec/ |
D | SoftAAC2.cpp | 861 int numFrames = numSamples / (mStreamInfo->frameSize * mStreamInfo->numChannels); in onQueueFilled() local 862 numSamples = numFrames * (mStreamInfo->frameSize * mStreamInfo->numChannels); in onQueueFilled() 865 numSamples, available, numFrames); in onQueueFilled() 869 for (int i = 0; i < numFrames; i++) { in onQueueFilled() 895 numFrames = i + 1; in onQueueFilled() 896 numSamples = numFrames * mStreamInfo->frameSize * mStreamInfo->numChannels; in onQueueFilled()
|
/frameworks/av/cmds/stagefright/ |
D | stagefright.cpp | 310 long numFrames = 0; in playSource() local 351 ++numFrames; in playSource() 352 if (gMaxNumFrames > 0 && numFrames == gMaxNumFrames) { in playSource() 356 if (gReproduceBug == 1 && numFrames == 40) { in playSource() 359 } else if (gReproduceBug == 2 && numFrames == 40) { in playSource()
|