Searched refs:frameIndex (Results 1 – 9 of 9) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | IvfReader.java | 104 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()
|
D | EncodeDecodeTest.java | 1108 private void generateFrame(int frameIndex, int colorFormat, byte[] frameData) { in generateFrame() argument 1117 frameIndex %= 8; in generateFrame() 1119 if (frameIndex < 4) { in generateFrame() 1120 startX = frameIndex * (mWidth / 4); in generateFrame() 1123 startX = (7 - frameIndex) * (mWidth / 4); in generateFrame() 1164 …private boolean checkFrame(int frameIndex, MediaFormat format, ByteBuffer frameData, Image image) { in checkFrame() argument 1238 if (i == frameIndex % 8) { in checkFrame() 1250 Log.w(TAG, "Bad frame " + frameIndex + " (rect=" + i + ": yuv=" + testY + in checkFrame() 1263 private void generateSurfaceFrame(int frameIndex) { in generateSurfaceFrame() argument 1264 frameIndex %= 8; in generateSurfaceFrame() [all …]
|
D | DecodeEditEncodeTest.java | 355 private void generateSurfaceFrame(int frameIndex) { in generateSurfaceFrame() argument 356 frameIndex %= 8; in generateSurfaceFrame() 359 if (frameIndex < 4) { in generateSurfaceFrame() 361 startX = frameIndex * (mWidth / 4); in generateSurfaceFrame() 364 startX = (7 - frameIndex) * (mWidth / 4); in generateSurfaceFrame() 752 private boolean checkSurfaceFrame(int frameIndex) { in checkSurfaceFrame() argument 774 if (i == frameIndex % 8) { in checkSurfaceFrame() 788 Log.w(TAG, "Bad frame " + frameIndex + " (rect=" + i + ": rgb=" + r + in checkSurfaceFrame() 814 private static long computePresentationTime(int frameIndex) { in computePresentationTime() argument 815 return 123 + frameIndex * 1000000 / FRAME_RATE; in computePresentationTime()
|
D | HeifWriterTest.java | 537 private long computePresentationTime(int frameIndex) { in computePresentationTime() argument 538 return 132 + (long)frameIndex * 1000000; in computePresentationTime() 541 private void fillYuvBuffer(int frameIndex, @NonNull byte[] data, int width, int height, in fillYuvBuffer() argument 546 byte[] color = TEST_YUV_COLORS[frameIndex % TEST_YUV_COLORS.length]; in fillYuvBuffer() 574 private void generateSurfaceFrame(int frameIndex, int width, int height) { in generateSurfaceFrame() argument 590 Rect r = getColorBlockRect(frameIndex, width, height); in generateSurfaceFrame()
|
D | MediaRecorderTest.java | 821 private void generateSurfaceFrame(int frameIndex, int width, int height) { in generateSurfaceFrame() argument 822 frameIndex %= 8; in generateSurfaceFrame() 825 if (frameIndex < 4) { in generateSurfaceFrame() 827 startX = frameIndex * (width / 4); in generateSurfaceFrame() 830 startX = (7 - frameIndex) * (width / 4); in generateSurfaceFrame() 847 long startTimeOffset, int frameIndex, int frameRate) { in computePresentationTime() argument 848 return startTimeOffset + frameIndex * 1000000 / frameRate; in computePresentationTime()
|
D | SurfaceEncodeTimestampTest.java | 437 private void generateSurfaceFrame(int frameIndex, int width, int height) { in generateSurfaceFrame() argument 453 Rect r = getColorBlockRect(frameIndex, width, height); in generateSurfaceFrame()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/ |
D | WaveTableFloatFiller.java | 68 for (int frameIndex = 0; frameIndex < numFrames; frameIndex++) { in fill()
|
/cts/tests/tests/media/libndkaudio/ |
D | WaveTableOscillator.cpp | 78 for (int frameIndex = 0; frameIndex < numFrames; frameIndex++) { in getData() local
|
/cts/tests/video/src/android/video/cts/ |
D | VideoEncoderDecoderTest.java | 1504 private long computePresentationTime(int frameIndex) { in computePresentationTime() argument 1505 return 132 + frameIndex * 1000000L / mFrameRate; in computePresentationTime()
|