Home
last modified time | relevance | path

Searched refs:mFrameCount (Results 1 – 7 of 7) sorted by relevance

/cts/apps/CtsVerifier/jni/audio_loopback/audio_utils/
Dfifo.c33 fifo->mFrameCount = frameCount; in audio_utils_fifo_init()
35 fifo->mFudgeFactor = fifo->mFrameCountP2 - fifo->mFrameCount; in audio_utils_fifo_init()
52 ALOG_ASSERT((index & mask) < fifo->mFrameCount); in audio_utils_fifo_sum()
54 if ((index & mask) + increment >= fifo->mFrameCount) { in audio_utils_fifo_sum()
58 ALOG_ASSERT((index & mask) < fifo->mFrameCount); in audio_utils_fifo_sum()
79 ALOG_ASSERT(0 <= diff && diff <= (int32_t) fifo->mFrameCount); in audio_utils_fifo_diff()
87 size_t availToWrite = fifo->mFrameCount - audio_utils_fifo_diff(fifo, rear, front); in audio_utils_fifo_write()
92 size_t part1 = fifo->mFrameCount - rear; in audio_utils_fifo_write()
119 size_t part1 = fifo->mFrameCount - front; in audio_utils_fifo_read()
Dfifo.h35 size_t mFrameCount; // max number of significant frames to be stored in the FIFO > 0 member
/cts/tests/tests/media/src/android/media/cts/
DIvfReader.java44 private int mFrameCount; field in IvfReader
95 return mFrameCount; in getFrameCount()
105 if (frameIndex > mFrameCount || frameIndex < 0){ in readFrame()
159 mFrameCount = changeEndianness(mIvfFile.readInt()); in readHeaderData()
162 mFrameHeads = new int[mFrameCount]; in readHeaderData()
163 mFrameSizes = new int[mFrameCount]; in readHeaderData()
168 for(int i = 0; i < mFrameCount; i++){ in readFrameMetadata()
DAudioTrack_ListenerTest.java48 private int mFrameCount; field in AudioTrack_ListenerTest
91 mFrameCount = bufferSizeInBytes * TEST_LOOP_FACTOR; in doTest()
94 mFrameCount = bufferSizeInBytes; in doTest()
126 int markerPeriods = Math.max(3, mFrameCount * markerPeriodsPerSecond / TEST_SR); in doTest()
127 mMarkerPeriodInFrames = mFrameCount / markerPeriods; in doTest()
128 markerPeriods = mFrameCount / mMarkerPeriodInFrames; // recalculate due to round-down in doTest()
137 int updatePeriods = Math.max(3, mFrameCount * periodsPerSecond / TEST_SR); in doTest()
138 final int updatePeriodInFrames = mFrameCount / updatePeriods; in doTest()
139 updatePeriods = mFrameCount / updatePeriodInFrames; // recalculate due to round-down in doTest()
160 final int trackLengthMs = (int)((double)mFrameCount * 1000 / TEST_SR / bytesPerFrame); in doTest()
[all …]
DIvfWriter.java38 private int mFrameCount; field in IvfWriter
64 mFrameCount = 0; in IvfWriter()
89 mOutputFile.write(makeIvfHeader(mFrameCount, mWidth, mHeight, mScale, mRate, mMimeType)); in close()
102 mFrameCount++; in writeFrame()
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DPlanetsRenderer.java69 private int mFrameCount = 0; field in PlanetsRenderer
156 mFrameCount++; in onDrawFrame()
234 if (mFrameCount == 0) { in onEglSwapBuffers()
237 if (mFrameCount < mParam.mNumFrames) { in onEglSwapBuffers()
238 mFrameInterval[mFrameCount] = (int)(currentTime - mLastRenderingTime); in onEglSwapBuffers()
241 if ((mFrameCount == mParam.mNumFrames) && (mParam.mNumFrames > 0)) { in onEglSwapBuffers()
251 mFrameCount++; // to prevent entering here again in onEglSwapBuffers()
/cts/tests/tests/media/libmediandkjni/
Dnative_media_decoder_source.cpp54 int mFrameCount; member in DecoderSource
78 mFrameCount(0), in DecoderSource()
155 int64_t timeStampUs = 1e6 / mFps * mFrameCount; in run()
159 ++mFrameCount; in run()