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

12

/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) {
153 private int mFrameCount; field in class:Interpolator
/frameworks/av/services/audioflinger/
H A DFastMixerState.cpp33 mFrameCount(0), mCommand(INITIAL), mColdFutexAddr(NULL), mColdGen(0),
H A DFastMixerState.h64 size_t mFrameCount; // number of frames per fast mix buffer member in struct:android::FastMixerState
H A DFastMixer.h101 size_t mFrameCount; member in struct:android::FastMixerDumpState
H A DThreads.cpp270 mAudioFlinger(audioFlinger), mSampleRate(0), mFrameCount(0), mNormalFrameCount(0),
421 snprintf(buffer, SIZE, "HAL frame count: %d\n", mFrameCount);
1125 (frameCount >= (mFrameCount * kFastTrackMultiplier)))
1146 frameCount = mFrameCount * kFastTrackMultiplier;
1148 ALOGV("AUDIO_OUTPUT_FLAG_FAST accepted: frameCount=%d mFrameCount=%d",
1149 frameCount, mFrameCount);
1152 "mFrameCount=%d format=%d isLinear=%d channelMask=%#x sampleRate=%u mSampleRate=%u "
1154 isTimed, sharedBuffer.get(), frameCount, mFrameCount, format,
1432 mFrameCount = mOutput->stream->common.get_buffer_size(&mOutput->stream->common) / mFrameSize;
1433 if (mFrameCount
[all...]
H A DTrackBase.h120 void* mBufferEnd; // &mBuffer[mFrameCount * frameSize], where frameSize
134 const size_t mFrameCount;// size of track buffer given at createTrack() or member in class:TrackBase
H A DTracks.cpp86 mFrameCount(frameCount),
506 mFrameCount,
548 uint32_t bufferEnd = cblk->serverBase + mFrameCount;
588 if (framesReady() >= mFrameCount ||
1417 mClientProxy = new AudioTrackClientProxy(mCblk, mBuffer, mFrameCount, mFrameSize);
1470 if (mFrameCount > frames) {
1472 uint32_t startFrames = (mFrameCount - frames);
1562 if (mCblk->user < mFrameCount) {
1563 frames = mFrameCount - mCblk->user;
1609 uint32_t bufferEnd = cblk->userBase + mFrameCount;
[all...]
H A DFastMixer.cpp205 size_t frameCount = current->mFrameCount;
228 if ((format != previousFormat) || (frameCount != previous->mFrameCount)) {
261 dumpState->mFrameCount = frameCount;
609 mSampleRate(0), mFrameCount(0), /* mMeasuredWarmupTs({0, 0}), */ mWarmupCycles(0),
680 double mixPeriodSec = (double) mFrameCount / (double) mSampleRate;
687 mSampleRate, mFrameCount, measuredWarmupMs, mWarmupCycles,
/frameworks/av/media/libstagefright/wifi-display/source/
H A DRepeaterSource.cpp23 mFrameCount(0) {
42 int64_t nextTimeUs = mStartTimeUs + (mFrameCount * 1000000ll) / mRateHz;
44 mFrameCount = 0;
61 mFrameCount = 0;
128 bufferTimeUs = mStartTimeUs + (mFrameCount * 1000000ll) / mRateHz;
158 ++mFrameCount;
167 mFrameCount = 0;
H A DRepeaterSource.h58 int32_t mFrameCount; member in struct:android::RepeaterSource
/frameworks/av/include/private/media/
H A DAudioTrackShared.h153 : mCblk(cblk), mBuffers(buffers), mFrameCount(frameCount), mFrameSize(frameSize) { }
167 const size_t mFrameCount; // not necessarily a power of 2 member in class:android::Proxy
170 const size_t mFrameCountP2; // mFrameCount rounded to power of 2, streaming mode
218 return mCblk->stepUser(stepCount, mFrameCount, true /*isOut*/);
223 return mCblk->framesAvailable(mFrameCount, true /*isOut*/);
229 return mCblk->framesAvailable_l(mFrameCount, true /*isOut*/);
245 return mCblk->stepUser(stepCount, mFrameCount, false /*isOut*/);
250 return mCblk->framesAvailable(mFrameCount, false /*isOut*/);
270 bool step(size_t stepCount) { return mCblk->stepServer(stepCount, mFrameCount, mIsOut); }
287 return mCblk->framesAvailable_l(mFrameCount, fals
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/
H A DAACEncoder.cpp149 mFrameCount = 0;
231 if (mFrameCount == 0) {
236 ++mFrameCount;
238 } else if (mFrameCount == 1) {
322 ((mFrameCount - 1) * 1000000LL * kNumSamplesPerFrame) / mSampleRate;
328 ++mFrameCount;
/frameworks/av/media/libstagefright/include/
H A DAACEncoder.h54 int32_t mFrameCount; member in class:android::AACEncoder
/frameworks/av/services/camera/libcameraservice/camera3/
H A DCamera3IOStreamBase.h54 uint32_t mFrameCount; member in class:android::camera3::Camera3IOStreamBase
H A DCamera3IOStreamBase.cpp38 mFrameCount(0),
123 mFrameCount, mLastTimestamp);
H A DCamera3InputStream.cpp211 mFrameCount = 0;
H A DCamera3OutputStream.cpp309 mFrameCount = 0;
/frameworks/av/media/libmedia/
H A DAudioTrack.cpp281 mFrameCount = frameCount;
577 loopEnd - loopStart > mFrameCount ||
580 "user %d", loopStart, loopEnd, loopCount, mFrameCount, cblk->user);
584 if ((mSharedBuffer != 0) && (loopEnd > mFrameCount)) {
587 loopStart, loopEnd, mFrameCount);
702 (void) mProxy->stepUser(mFrameCount);
923 mFrameCount = frameCount;
1047 uint32_t bufferEnd = cblk->userBase + mFrameCount;
1255 if (active && (mProxy->framesAvailable() == mFrameCount)) {
1259 if (cblk->server == mFrameCount) {
[all...]
H A DAudioRecord.cpp231 mFrameCount = mCblk->frameCount_;
239 mLatency = (1000*mFrameCount) / sampleRate;
275 return mFrameCount;
581 uint32_t bufferEnd = cblk->userBase + mFrameCount;
800 result = openRecord_l(mSampleRate, mFormat, mFrameCount, getInput_l());
/frameworks/av/services/camera/libcameraservice/
H A DCamera2Device.cpp576 mFrameCount(0),
675 ATRACE_INT("cam2_request", mFrameCount);
684 *frameCount.data.i32 = mFrameCount;
686 mFrameCount++;
796 result.appendFormat(" Current frame number: %d\n", mFrameCount);
950 mFrameCount(0),
1081 mFrameCount = 0;
1198 mFrameCount, mLastTimestamp);
1245 stream->mFrameCount++;
1247 stream->mId, stream->mFrameCount, (voi
[all...]
H A DCamera2Device.h128 int mFrameCount; member in class:android::Camera2Device::MetadataQueue
230 uint32_t mFrameCount; member in class:android::Camera2Device::StreamAdapter
318 uint32_t mFrameCount; member in class:android::Camera2Device::ReprocessStreamAdapter
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videoproc/
H A DBackDropperFilter.java495 private int mFrameCount; field in class:BackDropperFilter
695 mFrameCount = 0;
712 mFrameCount = 0;
757 if (mFrameCount <= mLearningDuration) {
761 if (mFrameCount == mLearningDuration - mLearningVerifyDuration) {
770 } else if (mFrameCount > mLearningDuration - mLearningVerifyDuration) {
780 if (mFrameCount == mLearningDuration) {
812 if (mFrameCount < mLearningDuration - mLearningVerifyDuration ||
842 mFrameCount++;
845 if (mFrameCount
[all...]
/frameworks/av/include/media/
H A DAudioTrack.h242 uint32_t frameCount() const { return mFrameCount; }
543 size_t mFrameCount; // corresponds to current IAudioTrack member in class:android::AudioTrack
H A DAudioRecord.h379 size_t mFrameCount; member in class:android::AudioRecord
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.h184 virtual ssize_t bufferSize() const { return frameSize() * mFrameCount; }
185 virtual ssize_t frameCount() const { return mFrameCount; }
229 ssize_t mFrameCount; member in class:android::MediaPlayerService::AudioCache

Completed in 487 milliseconds

12