XilinxProcessorIPLib/drivers/dp14rxss/src/xdprxss.c
u8 XDpRxss_GetDynamicRange(XDpRxSs *InstancePtr, u8 Stream)
{
	u8 DynamicRange;

	/* Verify arguments. */
	Xil_AssertNonvoid(InstancePtr != NULL);
	Xil_AssertNonvoid((Stream == XDP_TX_STREAM_ID1) ||
						(Stream == XDP_TX_STREAM_ID2) ||
						(Stream == XDP_TX_STREAM_ID3) ||
						(Stream == XDP_TX_STREAM_ID4));

	DynamicRange = XDp_RxGetDynamicRange(InstancePtr->DpPtr, Stream);

	return DynamicRange;
}
/******************************************************************************/
/**
 * This function extracts the dynamic range from MISC0 or VSC SDP packet
 * based on whether reception of colorimetry information through VSC SDP packets or
 * through MISC registers of the stream.
 *
 * @param	InstancePtr is a pointer to the XDpRxSs core instance.
 * @param	Stream is the stream number to make the calculations for.
 *
 * @return	The dynamic range value for the stream.
 *
 * @note	RX clock must be stable.
 *
*******************************************************************************/
This function extracts the dynamic range from MISC0 or VSC SDP packet
based on whether reception of colorimetry information through VSC SDP packets or
through MISC registers of the stream.

@param       InstancePtr is a pointer to the XDpRxSs core instance.
@param       Stream is the stream number to make the calculations for.

@return      The dynamic range value for the stream.

@note        RX clock must be stable.
This function extracts the dynamic range from MISC0 or VSC SDP packet based on whether reception of colorimetry information through VSC SDP packets or through MISC registers of the stream . @param InstancePtr is a pointer to the XDpRxSs core instance . @param Stream is the stream number to make the calculations for . @return The dynamic range value for the stream . @note RX clock must be stable .
u8 XDpRxss_GetDynamicRange(XDpRxSs *InstancePtr, u8 Stream)
{
	u8 DynamicRange;
	Xil_AssertNonvoid(InstancePtr != NULL);
	Xil_AssertNonvoid((Stream == XDP_TX_STREAM_ID1) ||
						(Stream == XDP_TX_STREAM_ID2) ||
						(Stream == XDP_TX_STREAM_ID3) ||
						(Stream == XDP_TX_STREAM_ID4));
	DynamicRange = XDp_RxGetDynamicRange(InstancePtr->DpPtr, Stream);
	return DynamicRange;
}
u8 XDpRxss_GetDynamicRange ( XDpRxSs * InstancePtr , u8 Stream ) { u8 DynamicRange ; Xil_AssertNonvoid ( InstancePtr != NULL ) ; Xil_AssertNonvoid ( ( Stream == XDP_TX_STREAM_ID1 ) || ( Stream == XDP_TX_STREAM_ID2 ) || ( Stream == XDP_TX_STREAM_ID3 ) || ( Stream == XDP_TX_STREAM_ID4 ) ) ; DynamicRange = XDp_RxGetDynamicRange ( InstancePtr -> DpPtr , Stream ) ; return DynamicRange ; }
This function extracts the dynamic range from MISC0 or VSC SDP packet
 based on whether reception of colorimetry information through VSC SDP packets or
 through MISC registers of the stream.
This function extracts the dynamic range from MISC0 or VSC SDP packet based on whether reception of colorimetry information through VSC SDP packets or through MISC registers of the stream .
/* Verify arguments. */