media: expose MediaFormat.KEY_HDR_STATIC_INFO key

Bug: 25684127
Change-Id: I6c48f8ed11a23e5d47210d15be4f759bd93ba1da
This commit is contained in:
Lajos Molnar
2016-03-08 20:35:53 -08:00
parent f52ebd119e
commit ac76fa3581
4 changed files with 15 additions and 0 deletions

View File

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