Home
last modified time | relevance | path

Searched refs:mFrameCount (Results 1 – 25 of 40) 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()
670 mFrameCount, mReqFrameCount); in dump()
861 mFrameCount = output.frameCount; in createRecord_l()
864 if (mFrameCount > mReqFrameCount) { in createRecord_l()
865 mReqFrameCount = mFrameCount; in createRecord_l()
869 mProxy = new AudioRecordClientProxy(cblk, buffers, mFrameCount, mFrameSize); in createRecord_l()
947 buffer.mFrameCount = 0; in obtainBuffer()
968 buffer.mFrameCount = audioBuffer->frameCount; in obtainBuffer()
974 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()
DTracks.cpp99 mFrameCount(frameCount), in TrackBase()
271 buf.mFrameCount = buffer->frameCount; in releaseBuffer()
732 const char modifiedBufferChar = bufferSizeInFrames < mFrameCount in appendDump()
733 ? 'r' /* buffer reduced */: bufferSizeInFrames > mFrameCount in appendDump()
795 buf.mFrameCount = desiredFrames; in getNextBuffer()
797 buffer->frameCount = buf.mFrameCount; in getNextBuffer()
799 if (buf.mFrameCount == 0 && !isStopping() && !isStopped() && !isPaused()) { in getNextBuffer()
801 __func__, mId, buf.mFrameCount, desiredFrames, mState); in getNextBuffer()
984 buffer.mFrameCount = 1; in start()
1565 mClientProxy = new AudioTrackClientProxy(mCblk, mBuffer, mFrameCount, mFrameSize,
[all …]
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()
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
DFastMixer.cpp212 const size_t frameCount = current->mFrameCount; in onStateChange()
250 if ((!Format_isEqual(mFormat, previousFormat)) || (frameCount != previous->mFrameCount)) { in onStateChange()
296 dumpState->mFrameCount = frameCount; in onStateChange()
364 const size_t frameCount = current->mFrameCount; in onWork()
DFastMixerState.cpp38 mFrameCount(0) in FastMixerState()
DThreads.cpp840 dprintf(fd, " HAL frame count: %zu\n", mFrameCount); in dumpBase_l()
1760 item->setInt32(MM_PREFIX "frameCount", (int32_t)mFrameCount); in sendStatistics()
2076 frameCount = max(frameCount, mFrameCount * sFastTrackMultiplier); // incl framecount 0 in createTrack_l()
2101 frameCount, mFrameCount); in createTrack_l()
2107 sharedBuffer.get(), frameCount, mFrameCount, format, mFormat, in createTrack_l()
2157 if (notificationsPerBuffer > SIZE_MAX / mFrameCount) { in createTrack_l()
2159 notificationsPerBuffer, mFrameCount); in createTrack_l()
2161 minFrameCount = mFrameCount * notificationsPerBuffer; in createTrack_l()
2193 maxNotificationFrames = mFrameCount; in createTrack_l()
2578 desc->mFrameCount = mNormalFrameCount; // FIXME see in ioConfigChanged()
[all …]
DFastMixerDumpState.h76 size_t mFrameCount; member
/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/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/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.cpp130 track->prepareForAdjustChannelsNonDestructive(mFrameCount); in setChannelMasks()
375 track->prepareForAdjustChannelsNonDestructive(mFrameCount); in setParameter()
403 track->prepareForAdjustChannelsNonDestructive(mFrameCount); in setParameter()
421 track->prepareForAdjustChannelsNonDestructive(mFrameCount); in setParameter()
565 t->prepareForAdjustChannelsNonDestructive(mFrameCount); in postCreateTrack()
592 size_t sampleCount = mFrameCount * t->mMixerHapticChannelCount; in postProcess()
595 uint8_t* buffer = (uint8_t*)pair.first + mFrameCount * audio_bytes_per_frame( in postProcess()
DAudioMixerBase.cpp437 target == RAMP_VOLUME ? mFrameCount : 0, in setParameter()
448 target == RAMP_VOLUME ? mFrameCount : 0, in setParameter()
675 mOutputTemp.reset(new int32_t[MAX_NUM_CHANNELS * mFrameCount]); in process__validate()
678 mResampleTemp.reset(new int32_t[MAX_NUM_CHANNELS * mFrameCount]); in process__validate()
1038 mFrameCount * audio_bytes_per_frame(t->getMixerChannelCount(), t->mMixerFormat)); in process__nop()
1043 size_t outFrames = mFrameCount; in process__nop()
1069 t->buffer.frameCount = mFrameCount; in process__genericNoResampling()
1078 const size_t frameCount = std::min((size_t)BLOCKSIZE, mFrameCount - numFrames); in process__genericNoResampling()
1105 t->buffer.frameCount = (mFrameCount - numFrames) - in process__genericNoResampling()
1125 } while (numFrames < mFrameCount); in process__genericNoResampling()
[all …]
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3IOStreamBase.cpp42 mFrameCount(0), in Camera3IOStreamBase()
89 mFrameCount, mLastTimestamp); in dump()
DCamera3InputStream.cpp91 mFrameCount++; in getInputBufferLocked()
229 mFrameCount = 0; in configureQueueLocked()

12