Home
last modified time | relevance | path

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

12

/frameworks/av/media/libaudioclient/
DAudioTrackShared.cpp63 : mCblk(cblk), mBuffers(buffers), mFrameCount(frameCount), mFrameSize(frameSize), in Proxy()
116 LOG_ALWAYS_FATAL_IF(buffer == NULL || buffer->mFrameCount == 0, in obtainBuffer()
192 if (!(0 <= filled && (size_t) filled <= mFrameCount)) { in obtainBuffer()
195 "shutting down", filled, mFrameCount); in obtainBuffer()
226 if (part1 > buffer->mFrameCount) { in obtainBuffer()
227 part1 = buffer->mFrameCount; in obtainBuffer()
229 buffer->mFrameCount = part1; in obtainBuffer()
321 buffer->mFrameCount = 0; in obtainBuffer()
344 size_t stepCount = buffer->mFrameCount; in releaseBuffer()
347 buffer->mFrameCount = 0; in releaseBuffer()
[all …]
DIAudioFlingerClient.cpp52 data.writeInt64(ioDesc->mFrameCount); in ioConfigChanged()
77 ioDesc->mFrameCount = data.readInt64(); in onTransact()
DAudioTrack.cpp197 mAnalyticsItem->setInt32(MM_PREFIX "frameCount", (int32_t)track->mFrameCount); in gather()
1087 } else if (loopCount >= -1 && loopStart < loopEnd && loopEnd <= mFrameCount && in setLoop()
1187 if (position > mFrameCount) { in setPosition()
1374 mLatency = mAfLatency + (1000LL * mFrameCount) / mSampleRate; in updateLatency_l()
1485 mFrameCount = output.frameCount; in createTrack_l()
1499 mLatency = mAfLatency + (1000LL * mFrameCount) / mSampleRate; in createTrack_l()
1533 __func__, mPortId, mReqFrameCount, mFrameCount); in createTrack_l()
1539 __func__, mPortId, mReqFrameCount, mFrameCount); in createTrack_l()
1578 if (mFrameCount > mReqFrameCount) { in createTrack_l()
1579 mReqFrameCount = mFrameCount; in createTrack_l()
[all …]
DAudioRecord.cpp90 mAnalyticsItem->setInt32(MM_PREFIX "frameCount", (int32_t)record->mFrameCount); in gather()
355 mLatency = (1000LL * mFrameCount) / mSampleRate; in set()
634 mFrameCount, mReqFrameCount); in dump()
825 mFrameCount = output.frameCount; in createRecord_l()
828 if (mFrameCount > mReqFrameCount) { in createRecord_l()
829 mReqFrameCount = mFrameCount; in createRecord_l()
833 mProxy = new AudioRecordClientProxy(cblk, buffers, mFrameCount, mFrameSize); in createRecord_l()
912 buffer.mFrameCount = 0; in obtainBuffer()
933 buffer.mFrameCount = audioBuffer->frameCount; in obtainBuffer()
939 audioBuffer->frameCount = buffer.mFrameCount; 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()
154 private int mFrameCount; field in Interpolator
/frameworks/av/services/audioflinger/
DFastCaptureDumpState.cpp28 mReadSequence(0), mFramesRead(0), mReadErrors(0), mSampleRate(0), mFrameCount(0) in FastCaptureDumpState()
44 double periodSec = (double) mFrameCount / mSampleRate; in dump()
49 mReadErrors, mSampleRate, mFrameCount, measuredWarmupMs, mWarmupCycles, in dump()
DFastCapture.cpp93 const size_t frameCount = current->mFrameCount; in onStateChange()
129 if ((!Format_isEqual(mFormat, previousFormat)) || (frameCount != previous->mFrameCount)) { in onStateChange()
155 dumpState->mFrameCount = frameCount; in onStateChange()
165 size_t frameCount = current->mFrameCount; in onWork()
DTracks.cpp97 mFrameCount(frameCount), in TrackBase()
269 buf.mFrameCount = buffer->frameCount; in releaseBuffer()
728 const char modifiedBufferChar = bufferSizeInFrames < mFrameCount in appendDump()
729 ? 'r' /* buffer reduced */: bufferSizeInFrames > mFrameCount in appendDump()
791 buf.mFrameCount = desiredFrames; in getNextBuffer()
793 buffer->frameCount = buf.mFrameCount; in getNextBuffer()
795 if (buf.mFrameCount == 0 && !isStopping() && !isStopped() && !isPaused()) { in getNextBuffer()
797 __func__, mId, buf.mFrameCount, desiredFrames, mState); in getNextBuffer()
1003 buffer.mFrameCount = 1; in start()
1583 mClientProxy = new AudioTrackClientProxy(mCblk, mBuffer, mFrameCount, mFrameSize,
[all …]
DFastMixerDumpState.cpp36 mSampleRate(0), mFrameCount(0), in FastMixerDumpState()
67 double mixPeriodSec = (double) mFrameCount / mSampleRate; in dump()
74 mSampleRate, mFrameCount, measuredWarmupMs, mWarmupCycles, in dump()
DFastCaptureDumpState.h37 size_t mFrameCount; member
DFastCaptureState.h38 size_t mFrameCount; // number of frames per fast capture buffer member
DFastCaptureState.cpp22 mInputSource(NULL), mInputSourceGen(0), mPipeSink(NULL), mPipeSinkGen(0), mFrameCount(0) in FastCaptureState()
DFastMixerState.h75 size_t mFrameCount; // number of frames per fast mix buffer member
DFastMixerState.cpp38 mFrameCount(0) in FastMixerState()
DFastMixerDumpState.h76 size_t mFrameCount; member
DFastMixer.cpp216 const size_t frameCount = current->mFrameCount; in onStateChange()
254 if ((!Format_isEqual(mFormat, previousFormat)) || (frameCount != previous->mFrameCount)) { in onStateChange()
300 dumpState->mFrameCount = frameCount; in onStateChange()
368 const size_t frameCount = current->mFrameCount; in onWork()
/frameworks/ex/framesequence/src/android/support/rastermill/
DFrameSequence.java33 private final int mFrameCount; field in FrameSequence
39 public int getFrameCount() { return mFrameCount; } in getFrameCount()
58 mFrameCount = frameCount; in FrameSequence()
/frameworks/av/media/libaudioclient/include/media/
DAudioIoDescriptor.h41 mFrameCount(0), mFrameCountHAL(0), mLatency(0), mPortId(AUDIO_PORT_HANDLE_NONE) in AudioIoDescriptor()
67 size_t mFrameCount; variable
/frameworks/av/include/media/
DAudioIoDescriptor.h41 mFrameCount(0), mFrameCountHAL(0), mLatency(0), mPortId(AUDIO_PORT_HANDLE_NONE) in AudioIoDescriptor()
67 size_t mFrameCount; variable
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/
DTouchLatencyActivity.java75 mFrameCount = 0; in TouchLatencyView()
142 mFrameCount++; in drawBall()
152 mFrameCount = 0; in drawBall()
154 mFps = 1f * mFrameCount * SEC_TO_NANOS / fDiff; in drawBall()
156 mFrameCount = 0; in drawBall()
221 private long mLastDrawNano, mLastFpsUpdate, mFrameCount; field in TouchLatencyView
/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/media/libaudioprocessing/
DAudioMixer.cpp187 t->prepareForAdjustChannelsNonDestructive(mFrameCount); in create()
255 track->prepareForAdjustChannelsNonDestructive(mFrameCount); in setChannelMasks()
667 track->prepareForAdjustChannelsNonDestructive(mFrameCount); in setParameter()
699 track->prepareForAdjustChannelsNonDestructive(mFrameCount); in setParameter()
717 track->prepareForAdjustChannelsNonDestructive(mFrameCount); in setParameter()
761 target == RAMP_VOLUME ? mFrameCount : 0, in setParameter()
772 target == RAMP_VOLUME ? mFrameCount : 0, in setParameter()
1053 mOutputTemp.reset(new int32_t[MAX_NUM_CHANNELS * mFrameCount]); in process__validate()
1056 mResampleTemp.reset(new int32_t[MAX_NUM_CHANNELS * mFrameCount]); in process__validate()
1416 mFrameCount * audio_bytes_per_frame( in process__nop()
[all …]
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3IOStreamBase.cpp42 mFrameCount(0), in Camera3IOStreamBase()
89 mFrameCount, mLastTimestamp); in dump()
DCamera3IOStreamBase.h59 uint32_t mFrameCount; variable
DCamera3InputStream.cpp91 mFrameCount++; in getInputBufferLocked()
229 mFrameCount = 0; in configureQueueLocked()

12