Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DIvfReader.java104 public byte[] readFrame(int frameIndex) throws IOException { in readFrame() argument
105 if (frameIndex > mFrameCount || frameIndex < 0){ in readFrame()
108 int frameSize = mFrameSizes[frameIndex]; in readFrame()
109 int frameHead = mFrameHeads[frameIndex]; in readFrame()
DEncodeDecodeTest.java1077 private void generateFrame(int frameIndex, int colorFormat, byte[] frameData) { in generateFrame() argument
1086 frameIndex %= 8; in generateFrame()
1088 if (frameIndex < 4) { in generateFrame()
1089 startX = frameIndex * (mWidth / 4); in generateFrame()
1092 startX = (7 - frameIndex) * (mWidth / 4); in generateFrame()
1133 …private boolean checkFrame(int frameIndex, MediaFormat format, ByteBuffer frameData, Image image) { in checkFrame() argument
1207 if (i == frameIndex % 8) { in checkFrame()
1219 Log.w(TAG, "Bad frame " + frameIndex + " (rect=" + i + ": yuv=" + testY + in checkFrame()
1232 private void generateSurfaceFrame(int frameIndex) { in generateSurfaceFrame() argument
1233 frameIndex %= 8; in generateSurfaceFrame()
[all …]
DDecodeEditEncodeTest.java354 private void generateSurfaceFrame(int frameIndex) { in generateSurfaceFrame() argument
355 frameIndex %= 8; in generateSurfaceFrame()
358 if (frameIndex < 4) { in generateSurfaceFrame()
360 startX = frameIndex * (mWidth / 4); in generateSurfaceFrame()
363 startX = (7 - frameIndex) * (mWidth / 4); in generateSurfaceFrame()
742 private boolean checkSurfaceFrame(int frameIndex) { in checkSurfaceFrame() argument
764 if (i == frameIndex % 8) { in checkSurfaceFrame()
778 Log.w(TAG, "Bad frame " + frameIndex + " (rect=" + i + ": rgb=" + r + in checkSurfaceFrame()
804 private static long computePresentationTime(int frameIndex) { in computePresentationTime() argument
805 return 123 + frameIndex * 1000000 / FRAME_RATE; in computePresentationTime()
/cts/tests/tests/media/libndkaudio/
DWaveTableOscillator.cpp78 for (int frameIndex = 0; frameIndex < numFrames; frameIndex++) { in getData() local
/cts/tests/video/src/android/video/cts/
DVideoEncoderDecoderTest.java1377 private long computePresentationTime(int frameIndex) { in computePresentationTime() argument
1378 return 132 + frameIndex * 1000000L / mFrameRate; in computePresentationTime()