Java Code Examples for com.google.android.exoplayer2.C#ColorTransfer

The following examples show how to use com.google.android.exoplayer2.C#ColorTransfer . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ColorInfo.java    From MediaSDK with Apache License 2.0 5 votes vote down vote up
/**
 * Constructs the ColorInfo.
 *
 * @param colorSpace The color space of the video.
 * @param colorRange The color range of the video.
 * @param colorTransfer The color transfer characteristics of the video.
 * @param hdrStaticInfo HdrStaticInfo as defined in CTA-861.3, or null if none specified.
 */
public ColorInfo(
    @C.ColorSpace int colorSpace,
    @C.ColorRange int colorRange,
    @C.ColorTransfer int colorTransfer,
    @Nullable byte[] hdrStaticInfo) {
  this.colorSpace = colorSpace;
  this.colorRange = colorRange;
  this.colorTransfer = colorTransfer;
  this.hdrStaticInfo = hdrStaticInfo;
}
 
Example 2
Source File: ColorInfo.java    From TelePlus-Android with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructs the ColorInfo.
 *
 * @param colorSpace The color space of the video.
 * @param colorRange The color range of the video.
 * @param colorTransfer The color transfer characteristics of the video.
 * @param hdrStaticInfo HdrStaticInfo as defined in CTA-861.3, or null if none specified.
 */
public ColorInfo(
    @C.ColorSpace int colorSpace,
    @C.ColorRange int colorRange,
    @C.ColorTransfer int colorTransfer,
    @Nullable byte[] hdrStaticInfo) {
  this.colorSpace = colorSpace;
  this.colorRange = colorRange;
  this.colorTransfer = colorTransfer;
  this.hdrStaticInfo = hdrStaticInfo;
}
 
Example 3
Source File: ColorInfo.java    From TelePlus-Android with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructs the ColorInfo.
 *
 * @param colorSpace The color space of the video.
 * @param colorRange The color range of the video.
 * @param colorTransfer The color transfer characteristics of the video.
 * @param hdrStaticInfo HdrStaticInfo as defined in CTA-861.3, or null if none specified.
 */
public ColorInfo(
    @C.ColorSpace int colorSpace,
    @C.ColorRange int colorRange,
    @C.ColorTransfer int colorTransfer,
    @Nullable byte[] hdrStaticInfo) {
  this.colorSpace = colorSpace;
  this.colorRange = colorRange;
  this.colorTransfer = colorTransfer;
  this.hdrStaticInfo = hdrStaticInfo;
}
 
Example 4
Source File: ColorInfo.java    From Telegram-FOSS with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructs the ColorInfo.
 *
 * @param colorSpace The color space of the video.
 * @param colorRange The color range of the video.
 * @param colorTransfer The color transfer characteristics of the video.
 * @param hdrStaticInfo HdrStaticInfo as defined in CTA-861.3, or null if none specified.
 */
public ColorInfo(
    @C.ColorSpace int colorSpace,
    @C.ColorRange int colorRange,
    @C.ColorTransfer int colorTransfer,
    @Nullable byte[] hdrStaticInfo) {
  this.colorSpace = colorSpace;
  this.colorRange = colorRange;
  this.colorTransfer = colorTransfer;
  this.hdrStaticInfo = hdrStaticInfo;
}
 
Example 5
Source File: ColorInfo.java    From Telegram with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructs the ColorInfo.
 *
 * @param colorSpace The color space of the video.
 * @param colorRange The color range of the video.
 * @param colorTransfer The color transfer characteristics of the video.
 * @param hdrStaticInfo HdrStaticInfo as defined in CTA-861.3, or null if none specified.
 */
public ColorInfo(
    @C.ColorSpace int colorSpace,
    @C.ColorRange int colorRange,
    @C.ColorTransfer int colorTransfer,
    @Nullable byte[] hdrStaticInfo) {
  this.colorSpace = colorSpace;
  this.colorRange = colorRange;
  this.colorTransfer = colorTransfer;
  this.hdrStaticInfo = hdrStaticInfo;
}