Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d0bcc39f authored by Wonsik Kim's avatar Wonsik Kim Committed by Android (Google) Code Review
Browse files

Merge "MediaFormat: add a key for B frames"

parents f7c5693f d28eaf75
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -25082,6 +25082,7 @@ package android.media {
    field public static final String KEY_LANGUAGE = "language";
    field public static final String KEY_LATENCY = "latency";
    field public static final String KEY_LEVEL = "level";
    field public static final String KEY_MAX_BFRAMES = "max-bframes";
    field public static final String KEY_MAX_FPS_TO_ENCODER = "max-fps-to-encoder";
    field public static final String KEY_MAX_HEIGHT = "max-height";
    field public static final String KEY_MAX_INPUT_SIZE = "max-input-size";
+9 −0
Original line number Diff line number Diff line
@@ -1036,6 +1036,15 @@ public final class MediaFormat {
     */
    public static final String KEY_CA_PRIVATE_DATA = "ca-private-data";

    /**
     * A key describing the maximum number of B frames between I or P frames,
     * to be used by a video encoder.
     * The associated value is an integer. The default value is 0, which means
     * that no B frames are allowed. Note that non-zero value does not guarantee
     * B frames; it's up to the encoder to decide.
     */
    public static final String KEY_MAX_BFRAMES = "max-bframes";

    /* package private */ MediaFormat(@NonNull Map<String, Object> map) {
        mMap = map;
    }