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

	/* 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));

	Bpc = XDp_RxGetBpc(InstancePtr->DpPtr, Stream);

	return Bpc;
}
/******************************************************************************/
/**
 * This function extracts the bits per color 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 bits per color for the stream.
 *
 * @note	RX clock must be stable.
 *
*******************************************************************************/
This function extracts the bits per color 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 bits per color for the stream.

@note        RX clock must be stable.
This function extracts the bits per color 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 bits per color for the stream . @note RX clock must be stable .
u8 XDpRxss_GetBpc(XDpRxSs *InstancePtr, u8 Stream)
{
	u8 Bpc;
	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));
	Bpc = XDp_RxGetBpc(InstancePtr->DpPtr, Stream);
	return Bpc;
}
u8 XDpRxss_GetBpc ( XDpRxSs * InstancePtr , u8 Stream ) { u8 Bpc ; 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 ) ) ; Bpc = XDp_RxGetBpc ( InstancePtr -> DpPtr , Stream ) ; return Bpc ; }
This function extracts the bits per color 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 bits per color 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. */