Home
last modified time | relevance | path

Searched refs:checkIndex (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DEncodeDecodeTest.java635 int checkIndex = 0; in doEncodeDecodeVideoFromBuffer() local
836 … Image outputImage = (checkIndex % 2 == 0) ? null : decoder.getOutputImage(decoderStatus); in doEncodeDecodeVideoFromBuffer()
845 if (VERBOSE) Log.d(TAG, "decoded, checking frame " + checkIndex); in doEncodeDecodeVideoFromBuffer()
846 assertEquals("Wrong time stamp", computePresentationTime(checkIndex), in doEncodeDecodeVideoFromBuffer()
848 … if (!checkFrame(checkIndex++, decoderOutputFormat, outputFrame, outputImage)) { in doEncodeDecodeVideoFromBuffer()
878 if (VERBOSE) Log.d(TAG, "awaiting frame " + checkIndex); in doEncodeDecodeVideoFromBuffer()
879 assertEquals("Wrong time stamp", computePresentationTime(checkIndex), in doEncodeDecodeVideoFromBuffer()
883 if (!checkSurfaceFrame(checkIndex++)) { in doEncodeDecodeVideoFromBuffer()
892 if (VERBOSE) Log.d(TAG, "decoded " + checkIndex + " frames at " in doEncodeDecodeVideoFromBuffer()
907 if (checkIndex != NUM_FRAMES) { in doEncodeDecodeVideoFromBuffer()
[all …]
DDecodeEditEncodeTest.java673 int checkIndex = 0; in checkVideoData() local
743 if (VERBOSE) Log.d(TAG, "awaiting frame " + checkIndex); in checkVideoData()
744 assertEquals("Wrong time stamp", computePresentationTime(checkIndex), in checkVideoData()
748 if (!checkSurfaceFrame(checkIndex)) { in checkVideoData()
751 checkIndex++; in checkVideoData()