Searched refs:mFrameCount (Results 1 - 25 of 29) 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.cpp34 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.h105 size_t mFrameCount; member in struct:android::FastMixerDumpState
H A DTracks.cpp85 mFrameCount(frameCount),
207 buf.mFrameCount = buffer->frameCount;
497 mFrameCount,
521 buf.mFrameCount = desiredFrames;
523 buffer->frameCount = buf.mFrameCount;
525 if (buf.mFrameCount == 0) {
558 if (framesReady() >= mFrameCount ||
624 buffer.mFrameCount = 1;
1512 mClientProxy = new AudioTrackClientProxy(mCblk, mBuffer, mFrameCount, mFrameSize);
1516 mClientProxy = new AudioTrackClientProxy(mCblk, mBuffer, mFrameCount, mFrameSiz
[all...]
H A DTrackBase.h133 const size_t mFrameCount;// size of track buffer given at createTrack() or member in class:TrackBase
H A DThreads.cpp272 // mSampleRate, mFrameCount, mChannelMask, mChannelCount, mFrameSize, and mFormat are
428 snprintf(buffer, SIZE, "HAL frame count: %d\n", mFrameCount);
1213 (frameCount >= (mFrameCount * kFastTrackMultiplier)))
1234 frameCount = mFrameCount * kFastTrackMultiplier;
1236 ALOGV("AUDIO_OUTPUT_FLAG_FAST accepted: frameCount=%d mFrameCount=%d",
1237 frameCount, mFrameCount);
1240 "mFrameCount=%d format=%d isLinear=%d channelMask=%#x sampleRate=%u mSampleRate=%u "
1242 isTimed, sharedBuffer.get(), frameCount, mFrameCount, format,
1645 mFrameCount = mOutput->stream->common.get_buffer_size(&mOutput->stream->common) / mFrameSize;
1646 if (mFrameCount
[all...]
H A DFastMixer.cpp219 size_t frameCount = current->mFrameCount;
242 if ((format != previousFormat) || (frameCount != previous->mFrameCount)) {
275 dumpState->mFrameCount = frameCount;
665 mSampleRate(0), mFrameCount(0), /* mMeasuredWarmupTs({0, 0}), */ mWarmupCycles(0),
750 double mixPeriodSec = (double) mFrameCount / (double) mSampleRate;
757 mSampleRate, mFrameCount, measuredWarmupMs, mWarmupCycles,
/frameworks/av/media/libmedia/
H A DAudioTrackShared.cpp39 : mCblk(cblk), mBuffers(buffers), mFrameCount(frameCount), mFrameSize(frameSize),
67 LOG_ALWAYS_FATAL_IF(buffer == NULL || buffer->mFrameCount == 0);
136 if (!(0 <= filled && (size_t) filled <= mFrameCount)) {
143 size_t avail = mIsOut ? mFrameCount - filled : filled;
157 if (part1 > buffer->mFrameCount) {
158 part1 = buffer->mFrameCount;
160 buffer->mFrameCount = part1;
250 buffer->mFrameCount = 0;
272 size_t stepCount = buffer->mFrameCount;
275 buffer->mFrameCount
[all...]
H A DAudioRecord.cpp231 mFrameCount = frameCount;
259 mFrameCount = mCblk->frameCount_;
266 mLatency = (1000*mFrameCount) / sampleRate;
453 if (mNotificationFramesAct == 0 || mNotificationFramesAct > mFrameCount/2) {
454 mNotificationFramesAct = mFrameCount/2;
469 mFrameCount,
505 ALOGV("AUDIO_INPUT_FLAG_FAST successful; frameCount %u", mFrameCount);
508 if (mNotificationFramesAct == 0 || mNotificationFramesAct > mFrameCount) {
509 mNotificationFramesAct = mFrameCount;
512 ALOGV("AUDIO_INPUT_FLAG_FAST denied by server; frameCount %u", mFrameCount);
[all...]
H A DAudioTrack.cpp315 mFrameCount = frameCount;
617 } else if (loopCount >= -1 && loopStart < loopEnd && loopEnd <= mFrameCount &&
704 if (position > mFrameCount) {
722 mStaticProxy->setLoop(position, mFrameCount, 0);
779 mStaticProxy->setLoop(0, mFrameCount, 0);
1053 mFrameCount = frameCount;
1140 buffer.mFrameCount = 0;
1155 buffer.mFrameCount = 0;
1168 buffer.mFrameCount = audioBuffer->frameCount;
1174 audioBuffer->frameCount = buffer.mFrameCount;
[all...]
/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/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/device3/
H A DCamera3IOStreamBase.h53 uint32_t mFrameCount; member in class:android::camera3::Camera3IOStreamBase
H A DCamera3IOStreamBase.cpp39 mFrameCount(0),
77 mFrameCount, mLastTimestamp);
H A DCamera3InputStream.cpp205 mFrameCount = 0;
/frameworks/av/services/camera/libcameraservice/device2/
H A DCamera2Device.cpp585 mFrameCount(0),
682 ATRACE_INT("cam2_request", mFrameCount);
691 *frameCount.data.i32 = mFrameCount;
693 mFrameCount++;
820 result.appendFormat(" Current frame number: %d\n", mFrameCount);
974 mFrameCount(0),
1105 mFrameCount = 0;
1222 mFrameCount, mLastTimestamp);
1269 stream->mFrameCount++;
1271 stream->mId, stream->mFrameCount, (voi
[all...]
H A DCamera2Device.h137 int mFrameCount; member in class:android::Camera2Device::MetadataQueue
239 uint32_t mFrameCount; member in class:android::Camera2Device::StreamAdapter
327 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 DAudioRecord.h212 size_t frameCount() const { return mFrameCount; }
465 size_t mFrameCount; member in class:android::AudioRecord
H A DAudioTrack.h282 uint32_t frameCount() const { return mFrameCount; }
665 size_t mFrameCount; // corresponds to current IAudioTrack member in class:android::AudioTrack
/frameworks/av/include/private/media/
H A DAudioTrackShared.h156 size_t mFrameCount; // number of frames available in this buffer member in struct:android::Proxy::Buffer
167 const size_t mFrameCount; // not necessarily a power of 2 member in class:android::Proxy
169 const size_t mFrameCountP2; // mFrameCount rounded to power of 2, streaming mode
194 // buffer->mFrameCount should be initialized to maximum number of desired frames,
205 // buffer->mFrameCount has the actual number of contiguous available frames,
209 // or NULL when buffer->mFrameCount == 0.
211 // NO_ERROR Success, buffer->mFrameCount > 0.
219 // Assertion failure on entry, if buffer == NULL or buffer->mFrameCount == 0.
224 // On entry, buffer->mFrameCount should have the number of frames to release,
229 // buffer->mFrameCount i
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.h189 virtual ssize_t bufferSize() const { return frameSize() * mFrameCount; }
190 virtual ssize_t frameCount() const { return mFrameCount; }
238 ssize_t mFrameCount; member in class:android::MediaPlayerService::AudioCache

Completed in 1821 milliseconds

12