media: expose MediaFormat.KEY_HDR_STATIC_INFO key
Bug: 25684127 Change-Id: I6c48f8ed11a23e5d47210d15be4f759bd93ba1da
This commit is contained in:
@@ -644,6 +644,18 @@ public final class MediaFormat {
|
||||
/** Full range. Y, Cr and Cb component values range from 0 to 255 for 8-bit content. */
|
||||
public static final int COLOR_RANGE_FULL = 1;
|
||||
|
||||
/**
|
||||
* An optional key describing the static metadata of HDR (high-dynamic-range) video content.
|
||||
*
|
||||
* The associated value is a ByteBuffer. This buffer contains the raw contents of the
|
||||
* Static Metadata Descriptor (including the descriptor ID) of an HDMI Dynamic Range and
|
||||
* Mastering InfoFrame as defined by CTA-861.3. This key must be provided to video decoders
|
||||
* for HDR video content unless this information is contained in the bitstream and the video
|
||||
* decoder supports an HDR-capable profile. This key must be provided to video encoders for
|
||||
* HDR video content.
|
||||
*/
|
||||
public static final String KEY_HDR_STATIC_INFO = "hdr-static-info";
|
||||
|
||||
/**
|
||||
* A key describing a unique ID for the content of a media track.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user