Home
last modified time | relevance | path

Searched refs:frameIndex (Results 1 – 7 of 7) 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.java1106 private void generateFrame(int frameIndex, int colorFormat, byte[] frameData) { in generateFrame() argument
1115 frameIndex %= 8; in generateFrame()
1117 if (frameIndex < 4) { in generateFrame()
1118 startX = frameIndex * (mWidth / 4); in generateFrame()
1121 startX = (7 - frameIndex) * (mWidth / 4); in generateFrame()
1162 …private boolean checkFrame(int frameIndex, MediaFormat format, ByteBuffer frameData, Image image) { in checkFrame() argument
1236 if (i == frameIndex % 8) { in checkFrame()
1248 Log.w(TAG, "Bad frame " + frameIndex + " (rect=" + i + ": yuv=" + testY + in checkFrame()
1261 private void generateSurfaceFrame(int frameIndex) { in generateSurfaceFrame() argument
1262 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()
DMediaRecorderTest.java746 private void generateSurfaceFrame(int frameIndex, int width, int height) { in generateSurfaceFrame() argument
747 frameIndex %= 8; in generateSurfaceFrame()
750 if (frameIndex < 4) { in generateSurfaceFrame()
752 startX = frameIndex * (width / 4); in generateSurfaceFrame()
755 startX = (7 - frameIndex) * (width / 4); in generateSurfaceFrame()
772 long startTimeOffset, int frameIndex, int frameRate) { in computePresentationTime() argument
773 return startTimeOffset + frameIndex * 1000000 / frameRate; in computePresentationTime()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
DWaveTableFloatFiller.java68 for (int frameIndex = 0; frameIndex < numFrames; frameIndex++) { in fill()
/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()