Commit 5dfb011e by andrewlewis Committed by Tofunmi Adigun-Hameed

Tidy `TextureManager` javadoc

Fix `@param`s and clarify wording.

PiperOrigin-RevId: 534857204
(cherry picked from commit 07e6708e92afbc213718a05a3549542c60558b99)
parent e4466425
...@@ -25,7 +25,7 @@ import com.google.android.exoplayer2.util.FrameInfo; ...@@ -25,7 +25,7 @@ import com.google.android.exoplayer2.util.FrameInfo;
import com.google.android.exoplayer2.util.VideoFrameProcessor; import com.google.android.exoplayer2.util.VideoFrameProcessor;
import com.google.android.exoplayer2.util.VideoFrameProcessor.OnInputFrameProcessedListener; import com.google.android.exoplayer2.util.VideoFrameProcessor.OnInputFrameProcessedListener;
/** A component that handles {@code DefaultVideoFrameProcessor}'s input. */ /** Handles {@code DefaultVideoFrameProcessor}'s input. */
/* package */ interface TextureManager extends GlShaderProgram.InputListener { /* package */ interface TextureManager extends GlShaderProgram.InputListener {
/** /**
...@@ -41,11 +41,9 @@ import com.google.android.exoplayer2.util.VideoFrameProcessor.OnInputFrameProces ...@@ -41,11 +41,9 @@ import com.google.android.exoplayer2.util.VideoFrameProcessor.OnInputFrameProces
* Provides an input {@link Bitmap} to put into the video frames. * Provides an input {@link Bitmap} to put into the video frames.
* *
* @param inputBitmap The {@link Bitmap} queued to the {@code VideoFrameProcessor}. * @param inputBitmap The {@link Bitmap} queued to the {@code VideoFrameProcessor}.
* @param durationUs The duration for which to display the {@code inputBitmap}, in microseconds. * @param durationUs The duration of the bitmap in the composition, in microseconds.
* @param offsetUs The offset, from the start of the input stream, to apply for the {@code * @param frameInfo Information about the bitmap being queued.
* inputBitmap} in microseconds. * @param frameRate The rate at which to generate frames with the bitmap, in frames per second.
* @param frameRate The frame rate at which to display the {@code inputBitmap}, in frames per
* second.
* @param useHdr Whether input and/or output colors are HDR. * @param useHdr Whether input and/or output colors are HDR.
*/ */
default void queueInputBitmap( default void queueInputBitmap(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment