HomeSort by relevance Sort by last modified time
    Searched refs:mFrameCount (Results 1 - 25 of 45) sorted by null

1 2

  /frameworks/av/services/audioflinger/
FastCaptureDumpState.cpp 28 mReadSequence(0), mFramesRead(0), mReadErrors(0), mSampleRate(0), mFrameCount(0)
44 double periodSec = (double) mFrameCount / mSampleRate;
49 mReadErrors, mSampleRate, mFrameCount, measuredWarmupMs, mWarmupCycles,
FastCaptureDumpState.h 37 size_t mFrameCount;
FastCaptureState.cpp 22 mInputSource(NULL), mInputSourceGen(0), mPipeSink(NULL), mPipeSinkGen(0), mFrameCount(0)
FastCaptureState.h 38 size_t mFrameCount; // number of frames per fast capture buffer
FastMixerState.h 75 size_t mFrameCount; // number of frames per fast mix buffer
FastCapture.cpp 93 const size_t frameCount = current->mFrameCount;
129 if ((!Format_isEqual(mFormat, previousFormat)) || (frameCount != previous->mFrameCount)) {
155 dumpState->mFrameCount = frameCount;
165 size_t frameCount = current->mFrameCount;
FastMixerDumpState.h 76 size_t mFrameCount;
FastMixerState.cpp 38 mFrameCount(0)
FastMixerDumpState.cpp 36 mSampleRate(0), mFrameCount(0),
67 double mixPeriodSec = (double) mFrameCount / mSampleRate;
74 mSampleRate, mFrameCount, measuredWarmupMs, mWarmupCycles,
Tracks.cpp 97 mFrameCount(frameCount),
269 buf.mFrameCount = buffer->frameCount;
728 const char modifiedBufferChar = bufferSizeInFrames < mFrameCount
729 ? 'r' /* buffer reduced */: bufferSizeInFrames > mFrameCount
791 buf.mFrameCount = desiredFrames;
793 buffer->frameCount = buf.mFrameCount;
795 if (buf.mFrameCount == 0 && !isStopping() && !isStopped() && !isPaused()) {
797 __func__, mId, buf.mFrameCount, desiredFrames, mState);
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
IvfReader.java 44 private int mFrameCount;
95 return mFrameCount;
105 if (frameIndex > mFrameCount || frameIndex < 0){
159 mFrameCount = changeEndianness(mIvfFile.readInt());
162 mFrameHeads = new int[mFrameCount];
163 mFrameSizes = new int[mFrameCount];
168 for(int i = 0; i < mFrameCount; i++){
AudioTrack_ListenerTest.java 47 private int mFrameCount;
90 mFrameCount = bufferSizeInBytes * TEST_LOOP_FACTOR;
93 mFrameCount = bufferSizeInBytes;
125 int markerPeriods = Math.max(3, mFrameCount * markerPeriodsPerSecond / TEST_SR);
126 mMarkerPeriodInFrames = mFrameCount / markerPeriods;
127 markerPeriods = mFrameCount / mMarkerPeriodInFrames; // recalculate due to round-down
136 int updatePeriods = Math.max(3, mFrameCount * periodsPerSecond / TEST_SR);
137 final int updatePeriodInFrames = mFrameCount / updatePeriods;
138 updatePeriods = mFrameCount / updatePeriodInFrames; // recalculate due to round-down
159 final int trackLengthMs = (int)((double)mFrameCount * 1000 / TEST_SR / bytesPerFrame)
    [all...]
IvfWriter.java 38 private int mFrameCount;
64 mFrameCount = 0;
89 mOutputFile.write(makeIvfHeader(mFrameCount, mWidth, mHeight, mScale, mRate, mMimeType));
102 mFrameCount++;
  /cts/apps/CtsVerifier/jni/audio_loopback/audio_utils/
fifo.c 33 fifo->mFrameCount = frameCount;
35 fifo->mFudgeFactor = fifo->mFrameCountP2 - fifo->mFrameCount;
52 ALOG_ASSERT((index & mask) < fifo->mFrameCount);
54 if ((index & mask) + increment >= fifo->mFrameCount) {
58 ALOG_ASSERT((index & mask) < fifo->mFrameCount);
65 // Return the difference between two indices: rear - front, where 0 <= difference <= mFrameCount.
79 ALOG_ASSERT(0 <= diff && diff <= (int32_t) fifo->mFrameCount);
87 size_t availToWrite = fifo->mFrameCount - audio_utils_fifo_diff(fifo, rear, front);
92 size_t part1 = fifo->mFrameCount - rear;
119 size_t part1 = fifo->mFrameCount - front
    [all...]
fifo.h 35 size_t mFrameCount; // max number of significant frames to be stored in the FIFO > 0
36 size_t mFrameCountP2; // roundup(mFrameCount)
37 size_t mFudgeFactor; // mFrameCountP2 - mFrameCount, the number of "wasted" frames after
40 void *mBuffer; // pointer to caller-allocated buffer of size mFrameCount frames
  /external/drrickorang/LoopbackApp/app/src/main/cpp/audio_utils/
fifo.c 33 fifo->mFrameCount = frameCount;
35 fifo->mFudgeFactor = fifo->mFrameCountP2 - fifo->mFrameCount;
53 ALOG_ASSERT((index & mask) < fifo->mFrameCount);
55 if ((index & mask) + increment >= fifo->mFrameCount) {
60 ALOG_ASSERT((index & mask) < fifo->mFrameCount);
68 // Return the difference between two indices: rear - front, where 0 <= difference <= mFrameCount.
84 ALOG_ASSERT(0 <= diff && diff <= (int32_t) fifo->mFrameCount);
92 size_t availToWrite = fifo->mFrameCount - audio_utils_fifo_diff(fifo, rear, front);
99 size_t part1 = fifo->mFrameCount - rear;
130 size_t part1 = fifo->mFrameCount - front
    [all...]
fifo.h 35 size_t mFrameCount; // max number of significant frames to be stored in the FIFO > 0
36 size_t mFrameCountP2; // roundup(mFrameCount)
37 size_t mFudgeFactor; // mFrameCountP2 - mFrameCount, the number of "wasted" frames after
40 void *mBuffer; // pointer to caller-allocated buffer of size mFrameCount frames
  /frameworks/av/media/libaudioclient/include/media/
AudioIoDescriptor.h 41 mFrameCount(0), mFrameCountHAL(0), mLatency(0), mPortId(AUDIO_PORT_HANDLE_NONE)
67 size_t mFrameCount;
  /frameworks/av/media/libaudioclient/
AudioTrackShared.cpp 63 : mCblk(cblk), mBuffers(buffers), mFrameCount(frameCount), mFrameSize(frameSize),
116 LOG_ALWAYS_FATAL_IF(buffer == NULL || buffer->mFrameCount == 0,
192 if (!(0 <= filled && (size_t) filled <= mFrameCount)) {
194 ALOGE("Shared memory control block is corrupt (filled=%zd, mFrameCount=%zu); "
195 "shutting down", filled, mFrameCount);
226 if (part1 > buffer->mFrameCount) {
227 part1 = buffer->mFrameCount;
229 buffer->mFrameCount = part1;
321 buffer->mFrameCount = 0;
344 size_t stepCount = buffer->mFrameCount;
    [all...]
IAudioFlingerClient.cpp 52 data.writeInt64(ioDesc->mFrameCount);
77 ioDesc->mFrameCount = data.readInt64();
  /cts/tests/tests/media/libmediandkjni/
native_media_decoder_source.cpp 54 int mFrameCount;
78 mFrameCount(0),
155 int64_t timeStampUs = 1e6 / mFps * mFrameCount;
159 ++mFrameCount;
  /external/drrickorang/LoopbackApp/app/src/main/cpp/lb2/
audio_buffer.h 35 size_t getFrameCount() const { return mFrameCount; }
37 size_t getSampleCount() const { return mFrameCount * mChannelCount; }
42 mFrameCount(frameCount), mChannelCount(channelCount) {}
50 size_t mFrameCount;
  /frameworks/av/services/camera/libcameraservice/device3/
Camera3IOStreamBase.h 59 uint32_t mFrameCount;
  /cts/tests/tests/openglperf/src/android/openglperf/cts/
PlanetsRenderer.java 69 private int mFrameCount = 0;
156 mFrameCount++;
234 if (mFrameCount == 0) {
237 if (mFrameCount < mParam.mNumFrames) {
238 mFrameInterval[mFrameCount] = (int)(currentTime - mLastRenderingTime);
241 if ((mFrameCount == mParam.mNumFrames) && (mParam.mNumFrames > 0)) {
251 mFrameCount++; // to prevent entering here again
  /frameworks/av/media/libaudioprocessing/
AudioMixer.cpp 187 t->prepareForAdjustChannelsNonDestructive(mFrameCount);
255 track->prepareForAdjustChannelsNonDestructive(mFrameCount);
667 track->prepareForAdjustChannelsNonDestructive(mFrameCount);
699 track->prepareForAdjustChannelsNonDestructive(mFrameCount);
717 track->prepareForAdjustChannelsNonDestructive(mFrameCount);
761 target == RAMP_VOLUME ? mFrameCount : 0,
772 target == RAMP_VOLUME ? mFrameCount : 0,
    [all...]

Completed in 243 milliseconds

1 2