public final class ColorInfo extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>| Modifier and Type | Field and Description |
|---|---|
int |
colorRange
The color range of the video.
|
int |
colorSpace
The color space of the video.
|
int |
colorTransfer
The color transfer characteristicks of the video.
|
static Parcelable.Creator<ColorInfo> |
CREATOR |
byte[] |
hdrStaticInfo
HdrStaticInfo as defined in CTA-861.3.
|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Constructor and Description |
|---|
ColorInfo(int colorSpace,
int colorRange,
int colorTransfer,
byte[] hdrStaticInfo)
Constructs the ColorInfo.
|
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
public final int colorSpace
C.COLOR_SPACE_BT601, C.COLOR_SPACE_BT709, C.COLOR_SPACE_BT2020 or Format.NO_VALUE if unknown.public final int colorRange
C.COLOR_RANGE_LIMITED, C.COLOR_RANGE_FULL or Format.NO_VALUE if unknown.public final int colorTransfer
C.COLOR_TRANSFER_HLG, C.COLOR_TRANSFER_ST2084, C.COLOR_TRANSFER_SDR or Format.NO_VALUE if unknown.public final byte[] hdrStaticInfo
public static final Parcelable.Creator<ColorInfo> CREATOR
public ColorInfo(int colorSpace,
int colorRange,
int colorTransfer,
byte[] hdrStaticInfo)
colorSpace - The color space of the video.colorRange - The color range of the video.colorTransfer - The color transfer characteristics of the video.hdrStaticInfo - HdrStaticInfo as defined in CTA-861.3.public int describeContents()
describeContents in interface Parcelablepublic void writeToParcel(Parcel dest, int flags)
writeToParcel in interface Parcelable