Commit b1b9ba82 by hschlueter Committed by tonihei

Make FrameInfo and SurfaceInfo public.

Both are used in the public FrameProcessor interface, so they
should be public too.

PiperOrigin-RevId: 463454859
parent 56e50b63
...@@ -17,8 +17,11 @@ package androidx.media3.transformer; ...@@ -17,8 +17,11 @@ package androidx.media3.transformer;
import static androidx.media3.common.util.Assertions.checkArgument; import static androidx.media3.common.util.Assertions.checkArgument;
import androidx.media3.common.util.UnstableApi;
/** Value class specifying information about a decoded video frame. */ /** Value class specifying information about a decoded video frame. */
/* package */ class FrameInfo { @UnstableApi
public class FrameInfo {
/** The width of the frame, in pixels. */ /** The width of the frame, in pixels. */
public final int width; public final int width;
/** The height of the frame, in pixels. */ /** The height of the frame, in pixels. */
......
...@@ -19,9 +19,11 @@ import static androidx.media3.common.util.Assertions.checkArgument; ...@@ -19,9 +19,11 @@ import static androidx.media3.common.util.Assertions.checkArgument;
import android.view.Surface; import android.view.Surface;
import androidx.annotation.Nullable; import androidx.annotation.Nullable;
import androidx.media3.common.util.UnstableApi;
/** Immutable value class for a {@link Surface} and supporting information. */ /** Immutable value class for a {@link Surface} and supporting information. */
/* package */ final class SurfaceInfo { @UnstableApi
public final class SurfaceInfo {
/** The {@link Surface}. */ /** The {@link Surface}. */
public final Surface surface; public final Surface surface;
......
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