Searched refs:checkIndex (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | EncodeDecodeTest.java | 635 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 …]
|
D | DecodeEditEncodeTest.java | 673 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()
|