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

Commit 22d40dac authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "media: add KEY_COLOR_TRANSFER_REQUEST" into sc-dev am: 31cce824

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13551843

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5c645db3d68d7af594260a43bf36c94e2d7bb5ea
parents 13228f8f 31cce824
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -21898,6 +21898,7 @@ package android.media {
    field public static final String KEY_COLOR_RANGE = "color-range";
    field public static final String KEY_COLOR_RANGE = "color-range";
    field public static final String KEY_COLOR_STANDARD = "color-standard";
    field public static final String KEY_COLOR_STANDARD = "color-standard";
    field public static final String KEY_COLOR_TRANSFER = "color-transfer";
    field public static final String KEY_COLOR_TRANSFER = "color-transfer";
    field public static final String KEY_COLOR_TRANSFER_REQUEST = "color-transfer-request";
    field public static final String KEY_COMPLEXITY = "complexity";
    field public static final String KEY_COMPLEXITY = "complexity";
    field public static final String KEY_CREATE_INPUT_SURFACE_SUSPENDED = "create-input-buffers-suspended";
    field public static final String KEY_CREATE_INPUT_SURFACE_SUSPENDED = "create-input-buffers-suspended";
    field public static final String KEY_DURATION = "durationUs";
    field public static final String KEY_DURATION = "durationUs";
+16 −0
Original line number Original line Diff line number Diff line
@@ -1222,6 +1222,22 @@ public final class MediaFormat {
     */
     */
    public static final String KEY_HDR10_PLUS_INFO = "hdr10-plus-info";
    public static final String KEY_HDR10_PLUS_INFO = "hdr10-plus-info";


    /**
     * An optional key describing the opto-electronic transfer function
     * requested for the output video content.
     *
     * The associated value is an integer: 0 if unspecified, or one of the
     * COLOR_TRANSFER_ values. When unspecified the component will not touch the
     * video content; otherwise the component will tone-map the raw video frame
     * to match the requested transfer function.
     *
     * After configure, component's input format will contain this key to note
     * whether the request is supported or not. If the value in the input format
     * is the same as the requested value, the request is supported. The value
     * is set to 0 if unsupported.
     */
    public static final String KEY_COLOR_TRANSFER_REQUEST = "color-transfer-request";

    /**
    /**
     * A key describing a unique ID for the content of a media track.
     * A key describing a unique ID for the content of a media track.
     *
     *