am 55a2e51e: am d9e091e0: am 3f52465c: MediaFormat: add KEY_TEMPORAL_LAYERING

* commit '55a2e51e57310fb9bc0497047637d3ff48b36f46':
  MediaFormat: add KEY_TEMPORAL_LAYERING
This commit is contained in:
Lajos Molnar
2014-07-23 03:51:44 +00:00
committed by Android Git Automerger
2 changed files with 13 additions and 0 deletions

View File

@@ -15019,6 +15019,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";

View File

@@ -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
*/