Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DEncodeDecodeTest.java634 int generateIndex = 0; in doEncodeDecodeVideoFromBuffer() local
686 long ptsUsec = computePresentationTime(generateIndex); in doEncodeDecodeVideoFromBuffer()
687 if (generateIndex == NUM_FRAMES) { in doEncodeDecodeVideoFromBuffer()
696 generateFrame(generateIndex, encoderColorFormat, frameData); in doEncodeDecodeVideoFromBuffer()
705 if (VERBOSE) Log.d(TAG, "submitted frame " + generateIndex + " to enc"); in doEncodeDecodeVideoFromBuffer()
707 generateIndex++; in doEncodeDecodeVideoFromBuffer()
925 int generateIndex = 0; in doEncodeDecodeVideoFromSurfaceToSurface() local
953 if (generateIndex == NUM_FRAMES) { in doEncodeDecodeVideoFromSurfaceToSurface()
960 generateSurfaceFrame(generateIndex); in doEncodeDecodeVideoFromSurfaceToSurface()
961 inputSurface.setPresentationTime(computePresentationTime(generateIndex) * 1000); in doEncodeDecodeVideoFromSurfaceToSurface()
[all …]
DDecodeEditEncodeTest.java271 int generateIndex = 0; in generateVideoData() local
283 if (generateIndex == NUM_FRAMES) { in generateVideoData()
295 generateSurfaceFrame(generateIndex); in generateVideoData()
296 inputSurface.setPresentationTime(computePresentationTime(generateIndex) * 1000); in generateVideoData()
300 generateIndex++; in generateVideoData()