DisplayPort Intel® FPGA IP User Guide

ID 683273
Date 4/29/2022
Public

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

Document Table of Contents

9.84. btc_dptxll_stream_set_color_space

Prototype:

int btc_dptxll_stream_set_color_space( 
 BYTE tx_idx,
 BYTE strm_idx, 
 BYTE format, 
 BYTE bpc, 
 BYTE range, 
 BYTE colorimetry)

Thread-safe:

No

Available from ISR:

No

Include:

< btc_dptxLL_syslib.h >

Return:

0 = success, 1 = fail

Parameters:

  • tx_idx—Source instance index (0 - 3)
  • strm_idx—Stream 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.

Description:

This function sets the color space of a video stream.

Example:

btc_dptxll_stream_set_color_space(0,0,0,1,0,0);