Home
last modified time | relevance | path

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

/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.java47 private int mFrameCount; field in AudioTrack_ListenerTest
90 mFrameCount = bufferSizeInBytes * TEST_LOOP_FACTOR; in doTest()
93 mFrameCount = bufferSizeInBytes; in doTest()
125 int markerPeriods = Math.max(3, mFrameCount * markerPeriodsPerSecond / TEST_SR); in doTest()
126 mMarkerPeriodInFrames = mFrameCount / markerPeriods; in doTest()
127 markerPeriods = mFrameCount / mMarkerPeriodInFrames; // recalculate due to round-down in doTest()
136 int updatePeriods = Math.max(3, mFrameCount * periodsPerSecond / TEST_SR); in doTest()
137 final int updatePeriodInFrames = mFrameCount / updatePeriods; in doTest()
138 updatePeriods = mFrameCount / updatePeriodInFrames; // recalculate due to round-down in doTest()
159 final int trackLengthMs = (int)((double)mFrameCount * 1000 / TEST_SR / bytesPerFrame); in doTest()
[all …]
DIvfWriter.java36 private int mFrameCount; field in IvfWriter
59 mFrameCount = 0; in IvfWriter()
83 mOutputFile.write(makeIvfHeader(mFrameCount, mWidth, mHeight, mScale, mRate)); in close()
96 mFrameCount++; in writeFrame()
/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/openglperf/src/android/openglperf/cts/
DPlanetsRenderer.java68 private int mFrameCount = 0; field in PlanetsRenderer
153 mFrameCount++; in onDrawFrame()
231 if (mFrameCount == 0) { in onEglSwapBuffers()
234 if (mFrameCount < mParam.mNumFrames) { in onEglSwapBuffers()
235 mFrameInterval[mFrameCount] = (int)(currentTime - mLastRenderingTime); in onEglSwapBuffers()
238 if ((mFrameCount == mParam.mNumFrames) && (mParam.mNumFrames > 0)) { in onEglSwapBuffers()
248 mFrameCount++; // to prevent entering here again in onEglSwapBuffers()
/cts/tools/dex-tools/dex/
Dclasses.out.dex31582 private int mFrameCount