Home
last modified time | relevance | path

Searched refs:mFrameCount (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/av/media/libmedia/
DAudioTrackShared.cpp45 : mCblk(cblk), mBuffers(buffers), mFrameCount(frameCount), mFrameSize(frameSize), in Proxy()
73 LOG_ALWAYS_FATAL_IF(buffer == NULL || buffer->mFrameCount == 0); in obtainBuffer()
142 if (!(0 <= filled && (size_t) filled <= mFrameCount)) { in obtainBuffer()
145 "shutting down", filled, mFrameCount); in obtainBuffer()
156 size_t avail = mIsOut ? mFrameCount - filled : filled; in obtainBuffer()
170 if (part1 > buffer->mFrameCount) { in obtainBuffer()
171 part1 = buffer->mFrameCount; in obtainBuffer()
173 buffer->mFrameCount = part1; in obtainBuffer()
263 buffer->mFrameCount = 0; in obtainBuffer()
285 size_t stepCount = buffer->mFrameCount; in releaseBuffer()
[all …]
DAudioRecord.cpp254 mLatency = (1000*mFrameCount) / sampleRate; in set()
565 mFrameCount = frameCount; in openRecord_l()
573 mProxy = new AudioRecordClientProxy(cblk, buffers, mFrameCount, mFrameSize); in openRecord_l()
651 buffer.mFrameCount = 0; in obtainBuffer()
672 buffer.mFrameCount = audioBuffer->frameCount; in obtainBuffer()
678 audioBuffer->frameCount = buffer.mFrameCount; in obtainBuffer()
679 audioBuffer->size = buffer.mFrameCount * mFrameSize; in obtainBuffer()
697 buffer.mFrameCount = stepCount; in releaseBuffer()
DAudioTrack.cpp725 } else if (loopCount >= -1 && loopStart < loopEnd && loopEnd <= mFrameCount && in setLoop()
812 if (position > mFrameCount) { in setPosition()
830 mStaticProxy->setLoop(position, mFrameCount, 0); in setPosition()
899 mStaticProxy->setLoop(0, mFrameCount, 0); in reload()
1223 mFrameCount = frameCount; in createTrack_l()
1320 buffer.mFrameCount = 0; in obtainBuffer()
1335 buffer.mFrameCount = 0; in obtainBuffer()
1348 buffer.mFrameCount = audioBuffer->frameCount; in obtainBuffer()
1354 audioBuffer->frameCount = buffer.mFrameCount; in obtainBuffer()
1355 audioBuffer->size = buffer.mFrameCount * mFrameSizeAF; in obtainBuffer()
[all …]
/frameworks/base/graphics/java/android/graphics/
DInterpolator.java25 mFrameCount = 2; in Interpolator()
31 mFrameCount = frameCount; in Interpolator()
51 mFrameCount = frameCount; in reset()
56 return mFrameCount; in getKeyFrameCount()
88 if (index < 0 || index >= mFrameCount) { in setKeyFrame()
153 private int mFrameCount; field in Interpolator
/frameworks/av/media/libstagefright/wifi-display/source/
DRepeaterSource.cpp23 mFrameCount(0) { in RepeaterSource()
42 int64_t nextTimeUs = mStartTimeUs + (mFrameCount * 1000000ll) / mRateHz; in setFrameRate()
44 mFrameCount = 0; in setFrameRate()
61 mFrameCount = 0; in start()
129 bufferTimeUs = mStartTimeUs + (mFrameCount * 1000000ll) / mRateHz; in read()
159 ++mFrameCount; in read()
168 mFrameCount = 0; in read()
DRepeaterSource.h58 int32_t mFrameCount; member
/frameworks/av/services/audioflinger/
DFastCapture.cpp92 const size_t frameCount = current->mFrameCount; in onStateChange()
126 if ((!Format_isEqual(format, previousFormat)) || (frameCount != previous->mFrameCount)) { in onStateChange()
151 dumpState->mFrameCount = frameCount; in onStateChange()
161 const size_t frameCount = current->mFrameCount; in onWork()
215 mReadSequence(0), mFramesRead(0), mReadErrors(0), mSampleRate(0), mFrameCount(0) in FastCaptureDumpState()
DTracks.cpp92 mFrameCount(frameCount), in TrackBase()
256 buf.mFrameCount = buffer->frameCount; in releaseBuffer()
576 mFrameCount, in dump()
600 buf.mFrameCount = desiredFrames; in getNextBuffer()
602 buffer->frameCount = buf.mFrameCount; in getNextBuffer()
604 if (buf.mFrameCount == 0) { in getNextBuffer()
645 if (framesReady() >= mFrameCount || in isReady()
714 buffer.mFrameCount = 1; in start()
1674 mClientProxy = new AudioTrackClientProxy(mCblk, mBuffer, mFrameCount, mFrameSize, in OutputTrack()
1728 if (mFrameCount > frames) { in write()
[all …]
DFastMixer.cpp141 const size_t frameCount = current->mFrameCount; in onStateChange()
170 if ((!Format_isEqual(format, previousFormat)) || (frameCount != previous->mFrameCount)) { in onStateChange()
214 dumpState->mFrameCount = frameCount; in onStateChange()
326 const size_t frameCount = current->mFrameCount; in onWork()
466 mSampleRate(0), mFrameCount(0), in FastMixerDumpState()
546 double mixPeriodSec = (double) mFrameCount / (double) mSampleRate; in dump()
553 mSampleRate, mFrameCount, measuredWarmupMs, mWarmupCycles, in dump()
DFastCaptureState.cpp22 mInputSource(NULL), mInputSourceGen(0), mPipeSink(NULL), mPipeSinkGen(0), mFrameCount(0) in FastCaptureState()
DFastCaptureState.h37 size_t mFrameCount; // number of frames per fast capture buffer member
DFastMixerState.cpp34 mFrameCount(0), mTeeSink(NULL) in FastMixerState()
DFastMixerState.h65 size_t mFrameCount; // number of frames per fast mix buffer member
DFastCapture.h37 size_t mFrameCount; member
DFastMixerDumpState.h80 size_t mFrameCount; member
DThreads.cpp587 dprintf(fd, " HAL frame count: %zu\n", mFrameCount); in dumpBase()
1385 (frameCount >= mFrameCount)) in createTrack_l()
1410 frameCount = mFrameCount * sFastTrackMultiplier; in createTrack_l()
1413 frameCount, mFrameCount); in createTrack_l()
1419 isTimed, sharedBuffer.get(), frameCount, mFrameCount, format, mFormat, in createTrack_l()
1836 mFrameCount = mBufferSize / mFrameSize; in readOutputParameters_l()
1837 if (mFrameCount & 15) { in readOutputParameters_l()
1839 mFrameCount); in readOutputParameters_l()
1876 multiplier = (double) minNormalFrameCount / (double) mFrameCount; in readOutputParameters_l()
1880 if (2 * mFrameCount <= maxNormalFrameCount) { in readOutputParameters_l()
[all …]
/frameworks/ex/framesequence/src/android/support/rastermill/
DFrameSequence.java32 private final int mFrameCount; field in FrameSequence
38 public int getFrameCount() { return mFrameCount; } in getFrameCount()
56 mFrameCount = frameCount; in FrameSequence()
/frameworks/av/media/libstagefright/codecs/aacenc/
DAACEncoder.cpp149 mFrameCount = 0; in start()
231 if (mFrameCount == 0) { in read()
236 ++mFrameCount; in read()
238 } else if (mFrameCount == 1) { in read()
322 ((mFrameCount - 1) * 1000000LL * kNumSamplesPerFrame) / mSampleRate; in read()
328 ++mFrameCount; in read()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videoproc/
DBackDropperFilter.java493 private int mFrameCount; field in BackDropperFilter
693 mFrameCount = 0; in allocateFrames()
710 mFrameCount = 0; in process()
755 if (mFrameCount <= mLearningDuration) { in process()
759 if (mFrameCount == mLearningDuration - mLearningVerifyDuration) { in process()
768 } else if (mFrameCount > mLearningDuration - mLearningVerifyDuration) { in process()
778 if (mFrameCount == mLearningDuration) { in process()
810 if (mFrameCount < mLearningDuration - mLearningVerifyDuration || in process()
840 mFrameCount++; in process()
843 if (mFrameCount % 30 == 0) { in process()
/frameworks/av/services/camera/libcameraservice/device2/
DCamera2Device.cpp632 mFrameCount(0), in MetadataQueue()
729 ATRACE_INT("cam2_request", mFrameCount); in dequeue()
738 *frameCount.data.i32 = mFrameCount; in dequeue()
740 mFrameCount++; in dequeue()
857 result.appendFormat(" Current frame number: %d\n", mFrameCount); in dump()
1011 mFrameCount(0), in StreamAdapter()
1150 mFrameCount = 0; in connectToDevice()
1267 mFrameCount, mLastTimestamp); in dump()
1314 stream->mFrameCount++; in enqueue_buffer()
1316 stream->mId, stream->mFrameCount, (void*)(*buffer), timestamp); in enqueue_buffer()
[all …]
DCamera2Device.h147 int mFrameCount; variable
249 uint32_t mFrameCount; variable
337 uint32_t mFrameCount; variable
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3IOStreamBase.cpp39 mFrameCount(0), in Camera3IOStreamBase()
77 mFrameCount, mLastTimestamp); in dump()
DCamera3IOStreamBase.h56 uint32_t mFrameCount; variable
/frameworks/av/include/media/
DAudioRecord.h223 size_t frameCount() const { return mFrameCount; } in frameCount()
485 size_t mFrameCount; // corresponds to current IAudioRecord, value is variable
/frameworks/av/media/libstagefright/include/
DAACEncoder.h54 int32_t mFrameCount; variable

12