public final class ColorInfo
extends java.lang.Object
implements android.os.Parcelable
| 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 android.os.Parcelable.Creator<ColorInfo> |
CREATOR |
byte[] |
hdrStaticInfo
HdrStaticInfo as defined in CTA-861.3.
|
| 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(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |
void |
writeToParcel(android.os.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 android.os.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 boolean equals(@Nullable
java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelable