Searched refs:mFrameCount (Results 1 - 25 of 39) sorted by relevance

12

/frameworks/av/services/audioflinger/
H A DFastCaptureDumpState.cpp28 mReadSequence(0), mFramesRead(0), mReadErrors(0), mSampleRate(0), mFrameCount(0)
44 double periodSec = (double) mFrameCount / mSampleRate;
49 mReadErrors, mSampleRate, mFrameCount, measuredWarmupMs, mWarmupCycles,
H A DFastCaptureDumpState.h37 size_t mFrameCount; member in struct:android::FastCaptureDumpState
H A DFastCaptureState.cpp22 mInputSource(NULL), mInputSourceGen(0), mPipeSink(NULL), mPipeSinkGen(0), mFrameCount(0)
H A DFastCaptureState.h37 size_t mFrameCount; // number of frames per fast capture buffer member in struct:android::FastCaptureState
H A DFastMixerState.h71 size_t mFrameCount; // number of frames per fast mix buffer member in struct:android::FastMixerState
H A DFastCapture.cpp92 const size_t frameCount = current->mFrameCount;
128 if ((!Format_isEqual(mFormat, previousFormat)) || (frameCount != previous->mFrameCount)) {
154 dumpState->mFrameCount = frameCount;
164 const size_t frameCount = current->mFrameCount;
H A DFastMixerDumpState.h74 size_t mFrameCount; member in struct:android::FastMixerDumpState
H A DFastMixerState.cpp38 mFrameCount(0), mTeeSink(NULL)
H A DTracks.cpp94 mFrameCount(frameCount),
283 buf.mFrameCount = buffer->frameCount;
592 const char modifiedBufferChar = bufferSizeInFrames < mFrameCount
593 ? 'r' /* buffer reduced */: bufferSizeInFrames > mFrameCount
641 buf.mFrameCount = desiredFrames;
643 buffer->frameCount = buf.mFrameCount;
645 if (buf.mFrameCount == 0 && !isStopping() && !isStopped() && !isPaused()) {
647 buf.mFrameCount, desiredFrames, mState);
787 buffer.mFrameCount = 1;
1308 mClientProxy = new AudioTrackClientProxy(mCblk, mBuffer, mFrameCount, mFrameSiz
[all...]
H A DFastMixerDumpState.cpp36 mSampleRate(0), mFrameCount(0),
67 double mixPeriodSec = (double) mFrameCount / mSampleRate;
74 mSampleRate, mFrameCount, measuredWarmupMs, mWarmupCycles,
H A DFastMixer.cpp143 const size_t frameCount = current->mFrameCount;
176 if ((!Format_isEqual(mFormat, previousFormat)) || (frameCount != previous->mFrameCount)) {
222 dumpState->mFrameCount = frameCount;
339 const size_t frameCount = current->mFrameCount;
H A DThreads.cpp505 // mSampleRate, mFrameCount, mChannelMask, mChannelCount, mFrameSize, mFormat, mBufferSize
824 dprintf(fd, " HAL frame count: %zu\n", mFrameCount);
1928 frameCount = max(frameCount, mFrameCount * sFastTrackMultiplier); // incl framecount 0
1951 "AUDIO_OUTPUT_FLAG_FAST accepted: frameCount=%zu mFrameCount=%zu",
1952 frameCount, mFrameCount);
1955 "mFrameCount=%zu format=%#x mFormat=%#x isLinear=%d channelMask=%#x "
1958 sharedBuffer.get(), frameCount, mFrameCount, format, mFormat,
2008 if (notificationsPerBuffer > SIZE_MAX / mFrameCount) {
2010 notificationsPerBuffer, mFrameCount);
2012 minFrameCount = mFrameCount * notificationsPerBuffe
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DInterpolator.java25 mFrameCount = 2;
31 mFrameCount = frameCount;
51 mFrameCount = frameCount;
56 return mFrameCount;
88 if (index < 0 || index >= mFrameCount) {
154 private int mFrameCount; field in class:Interpolator
/frameworks/av/include/media/
H A DAudioIoDescriptor.h40 mFrameCount(0), mFrameCountHAL(0), mLatency(0)
66 size_t mFrameCount; member in class:android::AudioIoDescriptor
/frameworks/av/media/libaudioclient/include/media/
H A DAudioIoDescriptor.h40 mFrameCount(0), mFrameCountHAL(0), mLatency(0)
66 size_t mFrameCount; member in class:android::AudioIoDescriptor
/frameworks/av/media/libaudioclient/
H A DAudioTrackShared.cpp61 : mCblk(cblk), mBuffers(buffers), mFrameCount(frameCount), mFrameSize(frameSize),
114 LOG_ALWAYS_FATAL_IF(buffer == NULL || buffer->mFrameCount == 0,
190 if (!(0 <= filled && (size_t) filled <= mFrameCount)) {
192 ALOGE("Shared memory control block is corrupt (filled=%zd, mFrameCount=%zu); "
193 "shutting down", filled, mFrameCount);
224 if (part1 > buffer->mFrameCount) {
225 part1 = buffer->mFrameCount;
227 buffer->mFrameCount = part1;
318 buffer->mFrameCount = 0;
341 size_t stepCount = buffer->mFrameCount;
[all...]
H A DIAudioFlingerClient.cpp52 data.writeInt64(ioDesc->mFrameCount);
76 ioDesc->mFrameCount = data.readInt64();
H A DAudioTrack.cpp549 // mFrameCount is initialized in createTrack_l
1080 } else if (loopCount >= -1 && loopStart < loopEnd && loopEnd <= mFrameCount &&
1180 if (position > mFrameCount) {
1366 mLatency = mAfLatency + (1000LL * mFrameCount) / mSampleRate;
1471 mFrameCount = output.frameCount;
1485 mLatency = mAfLatency + (1000LL * mFrameCount) / mSampleRate;
1519 mReqFrameCount, mFrameCount);
1525 mFrameCount);
1563 if (mFrameCount > mReqFrameCount) {
1564 mReqFrameCount = mFrameCount;
[all...]
H A DAudioRecord.cpp321 // mFrameCount is initialized in createRecord_l
366 mLatency = (1000LL * mFrameCount) / mSampleRate;
640 mFrameCount, mReqFrameCount);
822 mFrameCount = output.frameCount;
825 if (mFrameCount > mReqFrameCount) {
826 mReqFrameCount = mFrameCount;
830 mProxy = new AudioRecordClientProxy(cblk, buffers, mFrameCount, mFrameSize);
909 buffer.mFrameCount = 0;
930 buffer.mFrameCount = audioBuffer->frameCount;
936 audioBuffer->frameCount = buffer.mFrameCount;
[all...]
/frameworks/ex/framesequence/src/android/support/rastermill/
H A DFrameSequence.java33 private final int mFrameCount; field in class:FrameSequence
39 public int getFrameCount() { return mFrameCount; }
58 mFrameCount = frameCount;
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3IOStreamBase.h59 uint32_t mFrameCount; member in class:android::camera3::Camera3IOStreamBase
H A DCamera3IOStreamBase.cpp42 mFrameCount(0),
86 mFrameCount, mLastTimestamp);
H A DCamera3InputStream.cpp91 mFrameCount++;
228 mFrameCount = 0;
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videoproc/
H A DBackDropperFilter.java493 private int mFrameCount; field in class:BackDropperFilter
693 mFrameCount = 0;
710 mFrameCount = 0;
755 if (mFrameCount <= mLearningDuration) {
759 if (mFrameCount == mLearningDuration - mLearningVerifyDuration) {
768 } else if (mFrameCount > mLearningDuration - mLearningVerifyDuration) {
778 if (mFrameCount == mLearningDuration) {
810 if (mFrameCount < mLearningDuration - mLearningVerifyDuration ||
840 mFrameCount++;
843 if (mFrameCount
[all...]
/frameworks/av/media/libaudioprocessing/
H A DAudioMixer.cpp617 target == RAMP_VOLUME ? mFrameCount : 0,
628 target == RAMP_VOLUME ? mFrameCount : 0,
904 mOutputTemp.reset(new int32_t[MAX_NUM_CHANNELS * mFrameCount]);
907 mResampleTemp.reset(new int32_t[MAX_NUM_CHANNELS * mFrameCount]);
1267 mFrameCount * t->mMixerChannelCount
1273 size_t outFrames = mFrameCount;
1299 t->buffer.frameCount = mFrameCount;
1308 const size_t frameCount = std::min((size_t)BLOCKSIZE, mFrameCount - numFrames);
1335 t->buffer.frameCount = (mFrameCount - numFrames) -
1355 } while (numFrames < mFrameCount);
[all...]

Completed in 394 milliseconds

12