XilinxProcessorIPLib/drivers/dp14txss/examples/src/tx_only/xvidframe_crc.c
int XVidFrameCrc_Initialize(Video_CRC_Config *VidFrameCRC)
{

	/* Initialize CRC & Set default Pixel Mode */
	VidFrameCRC->TEST_CRC_SUPPORTED = 1;

	XVidFrameCrc_WriteReg(XPAR_VIDEO_FRAME_CRC_BASEADDR,
			      VIDEO_FRAME_CRC_CONFIG,
			      (VIDEO_FRAME_CRC_CLEAR |
			       2/*XPAR_VPHY_0_INPUT_PIXELS_PER_CLOCK*/));


	return (XST_SUCCESS);
}
/*****************************************************************************/
/**
*
* This function is used to initialize the Video Frame CRC instance.
*
* @param    None
*
* @return   - XST_SUCCESS or XST_FAILURE
*
* @note	    None.
*
******************************************************************************/
This function is used to initialize the Video Frame CRC instance.
This function is used to initialize the Video Frame CRC instance .
int XVidFrameCrc_Initialize(Video_CRC_Config *VidFrameCRC)
{
	VidFrameCRC->TEST_CRC_SUPPORTED = 1;
	XVidFrameCrc_WriteReg(XPAR_VIDEO_FRAME_CRC_BASEADDR,
			      VIDEO_FRAME_CRC_CONFIG,
			      (VIDEO_FRAME_CRC_CLEAR |
			       2));
	return (XST_SUCCESS);
}
int XVidFrameCrc_Initialize ( Video_CRC_Config * VidFrameCRC ) { VidFrameCRC -> TEST_CRC_SUPPORTED = 1 ; XVidFrameCrc_WriteReg ( XPAR_VIDEO_FRAME_CRC_BASEADDR , VIDEO_FRAME_CRC_CONFIG , ( VIDEO_FRAME_CRC_CLEAR | 2 ) ) ; return ( XST_SUCCESS ) ; }
This function is used to initialize the Video Frame CRC instance.
This function is used to initialize the Video Frame CRC instance .
/* Initialize CRC & Set default Pixel Mode */ /*XPAR_VPHY_0_INPUT_PIXELS_PER_CLOCK*/