DisplayPort Intel® FPGA IP User Guide

ID 683273
Date 10/16/2023
Public
Document Table of Contents

9.85. btc_dptxll_stream_set_pixel_rate

Prototype:

int btc_dptxll_stream_set_pixel_rate(
BYTE tx_idx,
BYTE strm_idx, 
unsigned int pixel_rate_kpps)

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)
  • pixel_rate_kpps—Pixel rate (kilopixels/sec)

Description:

This function sets the pixel rate of a video stream. btc_dptxll_stream_set_color_space() must have been invoked before in order to define the number of bits/pixel required.

Example:

btc_dptxll_stream_set_pixel_rate(0,0,154000);

The function calculates the following for the given stream:
  • Peak stream bandwidth
  • Stream PBN value