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, or null if none specified.
|
| 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) |
@C.ColorSpace public final int colorSpace
C.COLOR_SPACE_BT601, C.COLOR_SPACE_BT709, C.COLOR_SPACE_BT2020 or Format.NO_VALUE if unknown.@C.ColorRange public final int colorRange
C.COLOR_RANGE_LIMITED, C.COLOR_RANGE_FULL or Format.NO_VALUE if unknown.@C.ColorTransfer public final int colorTransfer
C.COLOR_TRANSFER_HLG, C.COLOR_TRANSFER_ST2084, C.COLOR_TRANSFER_SDR or Format.NO_VALUE if unknown.@Nullable public final byte[] hdrStaticInfo
public static final android.os.Parcelable.Creator<ColorInfo> CREATOR
public ColorInfo(@C.ColorSpace int colorSpace, @C.ColorRange int colorRange, @C.ColorTransfer int colorTransfer, @Nullable 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, or null if none specified.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