Home
last modified time | relevance | path

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

/cts/tests/tests/media/codec/src/android/media/codec/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()
DIvfWriter.java40 private int mFrameCount; field in IvfWriter
66 mFrameCount = 0; in IvfWriter()
91 mOutputFile.write(makeIvfHeader(mFrameCount, mWidth, mHeight, mScale, mRate, mMimeType)); in close()
104 mFrameCount++; in writeFrame()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioTrack_ListenerTest.java53 private int mFrameCount; field in AudioTrack_ListenerTest
101 mFrameCount = bufferSizeInBytes * TEST_LOOP_FACTOR; in doTest()
104 mFrameCount = bufferSizeInBytes; in doTest()
136 int markerPeriods = Math.max(3, mFrameCount * markerPeriodsPerSecond / TEST_SR); in doTest()
137 mMarkerPeriodInFrames = mFrameCount / markerPeriods; in doTest()
138 markerPeriods = mFrameCount / mMarkerPeriodInFrames; // recalculate due to round-down in doTest()
147 int updatePeriods = Math.max(3, mFrameCount * periodsPerSecond / TEST_SR); in doTest()
148 final int updatePeriodInFrames = mFrameCount / updatePeriods; in doTest()
149 updatePeriods = mFrameCount / updatePeriodInFrames; // recalculate due to round-down in doTest()
170 final int trackLengthMs = (int)((double)mFrameCount * 1000 / TEST_SR / bytesPerFrame); in doTest()
[all …]
/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/decoder/src/android/media/decoder/cts/
DDecoderLowLatencyTest.java70 public int mFrameCount; field in DecoderLowLatencyTest
77 mFrameCount = frameCount; in DecoderLowLatencyTest()
220 long[] latencyMs = new long[mFrameCount]; in testLowLatencyVideo()
223 while (bufferCounter < mFrameCount) { in testLowLatencyVideo()