DisplayPort Intel® FPGA IP User Guide

ID 683273
Date 11/12/2021
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

9.37. btc_dptx_set_color_space

Prototype:

int btc_dptx_set_color_space (
  BYTE tx_idx,
  BYTE format,
  BYTE bpc,
  BYTE range,
  BYTE colorimetry,
  BYTE use_vsc_sdp
)

Thread-safe:

No

Available from ISR:

Yes

Include:

< btc_dptx_syslib.h >

Return:

0 = success, 1 = fail

Parameters:

  • tx_idx—Source instance index (0 - 3)
  • format—0 = RGB; 1 = YCbCr 4:4:4; 2 = YCbCr 4:2:2, 3 = YCbCr 4:2:0
  • bpc—Color depth: 0 = 6bpc; 1 = 8 bpc; 2 = 10 bpc; 3 = 12 bpc; 4 = 16 bpc
  • range—0 = VESA; 1 = CEA
  • colorimetry—0 = BT601-5; 1 = BT709-5; refer to Table 2–120 bit[3:0] in the VESA DisplayPort Standard version 1.4 for all colorimetry support including BT.2020.
  • use_vsc_sdp—0 = use MISC0; 1 = use VSC_SDP
    Note: If you configure use_vsc_sdp to use VSC SDP, refer to the VESA DisplayPort Standard version 1.4 for the VSC SDP Payload Pixel Encoding/Colorimetry Format.

Description:

This function sets the color space for TX (stream 0) transmitted video.

Example:

btc_dptx_set_color_space(0, 0, 1, 0, 0, 0);