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

Commit 2703972f authored by Lajos Molnar's avatar Lajos Molnar Committed by Android Git Automerger
Browse files

am d9e091e0: am 3f52465c: MediaFormat: add KEY_TEMPORAL_LAYERING

* commit 'd9e091e0a8920b7e22d155a500ba90864c960bec':
  MediaFormat: add KEY_TEMPORAL_LAYERING
parents 2f070824 5a25445a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -15017,6 +15017,7 @@ package android.media {
    field public static final java.lang.String KEY_REFERENCE_CLOCK_ID = "reference-clock-id";
    field public static final java.lang.String KEY_REPEAT_PREVIOUS_FRAME_AFTER = "repeat-previous-frame-after";
    field public static final java.lang.String KEY_SAMPLE_RATE = "sample-rate";
    field public static final java.lang.String KEY_TEMPORAL_LAYERING = "ts-schema";
    field public static final java.lang.String KEY_WIDTH = "width";
    field public static final java.lang.String MIMETYPE_AUDIO_AAC = "audio/mp4a-latm";
    field public static final java.lang.String MIMETYPE_AUDIO_AC3 = "audio/ac3";
+12 −0
Original line number Diff line number Diff line
@@ -212,6 +212,18 @@ public final class MediaFormat {
     */
    public static final String KEY_I_FRAME_INTERVAL = "i-frame-interval";

    /**
     * A key describing the temporal layering schema.  This is an optional parameter
     * that applies only to video encoders.  Use {@link MediaCodec#getInputFormat}
     * after {@link MediaCodec#configure configure} to query if the encoder supports
     * the desired schema. Supported values are {@code webrtc.vp8.1-layer},
     * {@code webrtc.vp8.2-layer}, {@code webrtc.vp8.3-layer}, and {@code none}.
     * If the encoder does not support temporal layering, the input format will
     * not have an entry with this key.
     * The associated value is a string.
     */
    public static final String KEY_TEMPORAL_LAYERING = "ts-schema";

    /**
     * @hide
     */