From 749c64c74ffed281baf51e7ce0c1f0ea9003bbbf Mon Sep 17 00:00:00 2001 From: andrewlewis Date: Wed, 24 May 2023 16:49:21 +0100 Subject: [PATCH] Tidy `TextureManager` javadoc Fix `@param`s and clarify wording. PiperOrigin-RevId: 534857204 --- .../java/androidx/media3/effect/TextureManager.java | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/libraries/effect/src/main/java/androidx/media3/effect/TextureManager.java b/libraries/effect/src/main/java/androidx/media3/effect/TextureManager.java index 8d1d97bddd..751d5e6081 100644 --- a/libraries/effect/src/main/java/androidx/media3/effect/TextureManager.java +++ b/libraries/effect/src/main/java/androidx/media3/effect/TextureManager.java @@ -25,7 +25,7 @@ import androidx.media3.common.FrameInfo; import androidx.media3.common.VideoFrameProcessor; import androidx.media3.common.VideoFrameProcessor.OnInputFrameProcessedListener; -/** A component that handles {@code DefaultVideoFrameProcessor}'s input. */ +/** Handles {@code DefaultVideoFrameProcessor}'s input. */ /* package */ interface TextureManager extends GlShaderProgram.InputListener { /** @@ -41,11 +41,9 @@ import androidx.media3.common.VideoFrameProcessor.OnInputFrameProcessedListener; * Provides an input {@link Bitmap} to put into the video frames. * * @param inputBitmap The {@link Bitmap} queued to the {@code VideoFrameProcessor}. - * @param durationUs The duration for which to display the {@code inputBitmap}, in microseconds. - * @param offsetUs The offset, from the start of the input stream, to apply for the {@code - * inputBitmap} in microseconds. - * @param frameRate The frame rate at which to display the {@code inputBitmap}, in frames per - * second. + * @param durationUs The duration of the bitmap in the composition, in microseconds. + * @param frameInfo Information about the bitmap being queued. + * @param frameRate The rate at which to generate frames with the bitmap, in frames per second. * @param useHdr Whether input and/or output colors are HDR. */ default void queueInputBitmap(