mirror of
https://github.com/samsonjs/media.git
synced 2026-04-09 11:55:46 +00:00
Make FrameInfo and SurfaceInfo public.
Both are used in the public FrameProcessor interface, so they
should be public too.
PiperOrigin-RevId: 463454859
(cherry picked from commit b1b9ba825f)
This commit is contained in:
parent
8aa4281dfa
commit
309fd907b1
2 changed files with 7 additions and 2 deletions
|
|
@ -17,8 +17,11 @@ package androidx.media3.transformer;
|
|||
|
||||
import static androidx.media3.common.util.Assertions.checkArgument;
|
||||
|
||||
import androidx.media3.common.util.UnstableApi;
|
||||
|
||||
/** Value class specifying information about a decoded video frame. */
|
||||
/* package */ class FrameInfo {
|
||||
@UnstableApi
|
||||
public class FrameInfo {
|
||||
/** The width of the frame, in pixels. */
|
||||
public final int width;
|
||||
/** The height of the frame, in pixels. */
|
||||
|
|
|
|||
|
|
@ -19,9 +19,11 @@ import static androidx.media3.common.util.Assertions.checkArgument;
|
|||
|
||||
import android.view.Surface;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.media3.common.util.UnstableApi;
|
||||
|
||||
/** Immutable value class for a {@link Surface} and supporting information. */
|
||||
/* package */ final class SurfaceInfo {
|
||||
@UnstableApi
|
||||
public final class SurfaceInfo {
|
||||
|
||||
/** The {@link Surface}. */
|
||||
public final Surface surface;
|
||||
|
|
|
|||
Loading…
Reference in a new issue