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

Commit 7fdf65e2 authored by Ray Essick's avatar Ray Essick Committed by Android (Google) Code Review
Browse files

Merge "Common keys for video QP manipulation" into sc-dev

parents 84fc40ad 69886ab0
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -22151,6 +22151,14 @@ package android.media {
    field public static final String KEY_TILE_HEIGHT = "tile-height";
    field public static final String KEY_TILE_WIDTH = "tile-width";
    field public static final String KEY_TRACK_ID = "track-id";
    field public static final String KEY_VIDEO_QP_B_MAX = "video-qp-b-max";
    field public static final String KEY_VIDEO_QP_B_MIN = "video-qp-b-min";
    field public static final String KEY_VIDEO_QP_I_MAX = "video-qp-i-max";
    field public static final String KEY_VIDEO_QP_I_MIN = "video-qp-i-min";
    field public static final String KEY_VIDEO_QP_MAX = "video-qp-max";
    field public static final String KEY_VIDEO_QP_MIN = "video-qp-min";
    field public static final String KEY_VIDEO_QP_P_MAX = "video-qp-p-max";
    field public static final String KEY_VIDEO_QP_P_MIN = "video-qp-p-min";
    field public static final String KEY_WIDTH = "width";
    field public static final String MIMETYPE_AUDIO_AAC = "audio/mp4a-latm";
    field public static final String MIMETYPE_AUDIO_AC3 = "audio/ac3";
+68 −0
Original line number Diff line number Diff line
@@ -979,6 +979,74 @@ public final class MediaFormat {
     */
    public static final String KEY_BITRATE_MODE = "bitrate-mode";

    /**
     * A key describing the maximum Quantization Parameter allowed for encoding video.
     * This key applies to all three video frame types (I, P, and B). This value fills
     * in for any of the frame-specific #KEY_VIDEO_QP_I_MAX, #KEY_VIDEO_QP_P_MAX, or
     * #KEY_VIDEO_QP_B_MAX keys that are not specified
     *
     * The associated value is an integer.
     */
    public static final String KEY_VIDEO_QP_MAX = "video-qp-max";

    /**
     * A key describing the maximum Quantization Parameter allowed for encoding video.
     * This key applies to all three video frame types (I, P, and B). This value fills
     * in for any of the frame-specific #KEY_VIDEO_QP_I_MIN, #KEY_VIDEO_QP_P_MIN, or
     * #KEY_VIDEO_QP_B_MIN keys that are not specified
     *
     * The associated value is an integer.
     */
    public static final String KEY_VIDEO_QP_MIN = "video-qp-min";

    /**
     * A key describing the maximum Quantization Parameter allowed for encoding video.
     * This value applies to video I-frames.
     *
     * The associated value is an integer.
     */
    public static final String KEY_VIDEO_QP_I_MAX = "video-qp-i-max";

    /**
     * A key describing the minimum Quantization Parameter allowed for encoding video.
     * This value applies to video I-frames.
     *
     * The associated value is an integer.
     */
    public static final String KEY_VIDEO_QP_I_MIN = "video-qp-i-min";

    /**
     * A key describing the maximum Quantization Parameter allowed for encoding video.
     * This value applies to video P-frames.
     *
     * The associated value is an integer.
     */
    public static final String KEY_VIDEO_QP_P_MAX = "video-qp-p-max";

    /**
     * A key describing the minimum Quantization Parameter allowed for encoding video.
     * This value applies to video P-frames.
     *
     * The associated value is an integer.
     */
    public static final String KEY_VIDEO_QP_P_MIN = "video-qp-p-min";

    /**
     * A key describing the maximum Quantization Parameter allowed for encoding video.
     * This value applies to video B-frames.
     *
     * The associated value is an integer.
     */
    public static final String KEY_VIDEO_QP_B_MAX = "video-qp-b-max";

    /**
     * A key describing the minimum Quantization Parameter allowed for encoding video.
     * This value applies to video B-frames.
     *
     * The associated value is an integer.
     */
    public static final String KEY_VIDEO_QP_B_MIN = "video-qp-b-min";

    /**
     * A key describing the audio session ID of the AudioTrack associated
     * to a tunneled video codec.