DisplayPort Intel® FPGA IP User Guide

ID 683273
Date 1/24/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.80. btc_dptxll_stream_calc_VCP_size

Prototype:

int btc_dptxll_stream_calc_VCP_size(
BYTE tx_idx,
BYTE strm_idx)

Thread-safe:

No

Available from ISR:

No

Include:

< btc_dptxll_syslib.h >

Return:

VCP size (0 = error)

Parameters:

  • tx_idx—Source instance index (0 - 3)
  • strm_idx—Stream index (0 - 3)

Description:

This function calculates the VCP size (number of time slots) needed to transmit stream strm_idx. btc_dptxll_stream_set_pixel_rate() must have been invoked before in order to define the data bandwidth required. The main link must be up when invoking btc_dptxll_stream_calc_VCP_size().

Example:

btc_dptxll_stream_calc_VCP_size(0,0);

This function calculates the following for the given stream:
  • Stream VCP size
  • Stream Average Time Slots per MTP
  • Stream Max Target Average Time Slots per MTP

A returned VCP size exceeding 63 means that the main link current status (link bitrate and lane count) and the resulting available bandwidth are not enough to transport the stream.

Did you find the information on this page useful?

Characters remaining:

Feedback Message