Home
last modified time | relevance | path

Searched refs:getFrameCount (Results 1 – 25 of 30) sorted by relevance

12

/external/drrickorang/LoopbackApp/app/src/main/cpp/lb2/
Dsound_system_echo.cpp33 mTestCtx->getFrameCount(), in SoundSystemEcho()
44 return wholeMultiplier(MS_PER_SECOND * testCtx->getFrameCount(), testCtx->getSamplingRateHz()); in calculateMsecPerBuffer()
60 AudioBufferView<sample_t> buffer = mWriteCallback(mTestCtx->getFrameCount()); in threadLoop()
62 audio_utils_fifo_write(&mFifo, buffer.getData(), buffer.getFrameCount()); in threadLoop()
79 return audio_utils_fifo_read(&mFifo, drainBuffer.getData(), drainBuffer.getFrameCount()) >= 0; in drainInput()
84 ssize_t result = audio_utils_fifo_read(&mFifo, buffer.getData(), buffer.getFrameCount()); in readAudio()
87 return buffer.getFrameCount(); in readAudio()
Daudio_buffer.h35 size_t getFrameCount() const { return mFrameCount; } in getFrameCount() function
85 if (lengthInFrames > CountsConverter<T>::getFrameCount() - offsetInFrames) { in getView()
86 lengthInFrames = CountsConverter<T>::getFrameCount() - offsetInFrames; in getView()
137 : AudioBufferBase<T>(b.getData(), b.getFrameCount(), b.getChannelCount()) {} in AudioBufferView()
171 i < std::min(src.getFrameCount(), dst.getFrameCount()); in forEachFrame()
221 size_t framesToCopy = std::min(src.getFrameCount(), dst.getFrameCount()); in copyAudioBufferViewData()
225 if (dst.getFrameCount() > framesToCopy) { in copyAudioBufferViewData()
Dloopback_test.cpp57 while (framesRead <= static_cast<int>(buffer.getFrameCount())) { in collectRecording()
64 &mRecordingFifo, readBuffer.getData(), readBuffer.getFrameCount()); in collectRecording()
67 convertAudioBufferViewType(readBuffer.getView(0, dst.getFrameCount()), dst); in collectRecording()
140 mInjectImpulseNextFramePos += impulseChunk.getFrameCount(); in writeCallback()
141 if (mInjectImpulseNextFramePos >= static_cast<int>(mImpulse.getFrameCount())) { in writeCallback()
173 mTestCtx->getByteBuffer().getFrameCount(), in writeCallback()
Dsound_system_aaudio.cpp73 mAAStream, buffer.getData(), buffer.getFrameCount(), 0 /* timeout */); in read()
280 mStream->setBufferFrameCount(testCtx->getFrameCount()); in init()
300 if (outputWave.getFrameCount() > static_cast<size_t>(numFrames)) { in aaudioDataCallback()
302 (long long)outputWave.getFrameCount(), numFrames); in aaudioDataCallback()
382 mTestCtx->getFrameCount(), mStream->getChannelCount())); in init()
384 mStream->setBufferFrameCount(testCtx->getFrameCount()); in init()
403 ssize_t result = mStream->read(mConversionBuffer->getView(0, buffer.getFrameCount())); in read()
Dtest_context.cpp25 for (size_t i = 0; i < sineBuffer.getFrameCount(); ++i) { in getNextImpulse()
Dtest_context.h53 return AudioBuffer<sample_t>(getFrameCount(), getChannelCount()); in createAudioBuffer()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
DGifDrawable.java126 public int getFrameCount() { in getFrameCount() method in GifDrawable
127 return decoder.getFrameCount(); in getFrameCount()
167 if (decoder.getFrameCount() == 1) { in startRunning()
263 if (frameIndex == decoder.getFrameCount() - 1) { in onFrameRead()
DGifResourceEncoder.java60 for (int i = 0; i < decoder.getFrameCount(); i++) { in encode()
80 …Log.v(TAG, "Encoded gif with " + decoder.getFrameCount() + " frames and " + drawable.getData().len… in encode()
/external/oj-libjdwp/src/share/back/
DstepControl.c36 getFrameCount(jthread thread) in getFrameCount() function
176 step->fromStackDepth = getFrameCount(thread); in initState()
284 currentDepth = getFrameCount(thread); in handleFramePopEvent()
383 jint currentDepth = getFrameCount(thread); in handleExceptionCatchEvent()
564 currentDepth = getFrameCount(thread); in stepControl_handleStep()
DThreadReferenceImpl.c315 getFrameCount(PacketInputStream *in, PacketOutputStream *out) in getFrameCount() function
674 (void *)getFrameCount,
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/
DVisualSampleEntry.java94 public int getFrameCount() { in getFrameCount() method in VisualSampleEntry
198 IsoTypeWriter.writeUInt16(byteBuffer, getFrameCount()); in getContent()
/external/skqp/tests/
DGifTest.cpp369 REPORTER_ASSERT(r, codec->getFrameCount() == 1); in DEF_TEST()
377 REPORTER_ASSERT(r, codec->getFrameCount() == 0); in DEF_TEST()
DCodecAnimTest.cpp236 frameCount = codec->getFrameCount(); in DEF_TEST()
419 for (int i = 0; i < codec->codec()->getFrameCount(); ++i) { in DEF_TEST()
DAnimatedImageTest.cpp133 const int frameCount = codec->getFrameCount(); in DEF_TEST()
/external/skia/tests/
DGifTest.cpp369 REPORTER_ASSERT(r, codec->getFrameCount() == 1); in DEF_TEST()
377 REPORTER_ASSERT(r, codec->getFrameCount() == 0); in DEF_TEST()
DCodecAnimTest.cpp236 frameCount = codec->getFrameCount(); in DEF_TEST()
419 for (int i = 0; i < codec->codec()->getFrameCount(); ++i) { in DEF_TEST()
DAnimatedImageTest.cpp122 const int frameCount = codec->getFrameCount(); in DEF_TEST()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/
DJDWPProxyTestCase.java84 int framesCount = debuggeeWrapper.vmMirror.getFrameCount(eventThreadId); in getFirstProxyFrameId()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/EventModifiers/
DInstanceOnlyModifierTest.java253 int framesCount = debuggeeWrapper.vmMirror.getFrameCount(threadID); in checkThisObject()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gifbitmap/
DGifBitmapWrapperResourceDecoder.java108 if (drawable.getFrameCount() > 1) { in decodeGifWrapper()
/external/skqp/include/codec/
DSkCodec.h590 int getFrameCount() { in getFrameCount() function
/external/skia/include/codec/
DSkCodec.h590 int getFrameCount() { in getFrameCount() function
/external/skqp/src/android/
DSkAnimatedImage.cpp72 , fFrameCount(fCodec->codec()->getFrameCount()) in SkAnimatedImage()
/external/skia/src/android/
DSkAnimatedImage.cpp82 , fFrameCount(fCodec->codec()->getFrameCount()) in SkAnimatedImage()
/external/glide/third_party/gif_decoder/src/main/java/com/bumptech/glide/gifdecoder/
DGifDecoder.java220 public int getFrameCount() { in getFrameCount() method in GifDecoder

12