Searched refs:generateIndex (Results 1 – 2 of 2) sorted by relevance
634 int generateIndex = 0; in doEncodeDecodeVideoFromBuffer() local686 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() local953 if (generateIndex == NUM_FRAMES) { in doEncodeDecodeVideoFromSurfaceToSurface()960 generateSurfaceFrame(generateIndex); in doEncodeDecodeVideoFromSurfaceToSurface()961 inputSurface.setPresentationTime(computePresentationTime(generateIndex) * 1000); in doEncodeDecodeVideoFromSurfaceToSurface()[all …]
271 int generateIndex = 0; in generateVideoData() local283 if (generateIndex == NUM_FRAMES) { in generateVideoData()295 generateSurfaceFrame(generateIndex); in generateVideoData()296 inputSurface.setPresentationTime(computePresentationTime(generateIndex) * 1000); in generateVideoData()300 generateIndex++; in generateVideoData()