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

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

	ColorComponent = XDp_RxGetColorComponent(InstancePtr->DpPtr, Stream);

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

@note        RX clock must be stable.
This function extracts the color component format 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 color component for the stream . @note RX clock must be stable .
u8 XDpRxss_GetColorComponent(XDpRxSs *InstancePtr, u8 Stream)
{
	u8 ColorComponent;
	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));
	ColorComponent = XDp_RxGetColorComponent(InstancePtr->DpPtr, Stream);
	return ColorComponent;
}
u8 XDpRxss_GetColorComponent ( XDpRxSs * InstancePtr , u8 Stream ) { u8 ColorComponent ; 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 ) ) ; ColorComponent = XDp_RxGetColorComponent ( InstancePtr -> DpPtr , Stream ) ; return ColorComponent ; }
This function extracts the color component format 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 color component format 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. */