XilinxProcessorIPLib/drivers/v_sditx/src/xv_sditx.c
void XV_SdiTx_SetYCbCr444_RGB_10bit(XV_SdiTx *InstancePtr)
{
	u32 Data;

	/* Verify arguments. */
	Xil_AssertVoid(InstancePtr != NULL);

	Data = XV_SdiTx_ReadReg(InstancePtr->Config.BaseAddress,
				XV_SDITX_MDL_CTRL_OFFSET);

	Data |= XV_SDITX_MDL_CTRL_VID_FRMTYUV444_MASK;

	XV_SdiTx_WriteReg(InstancePtr->Config.BaseAddress,
			  XV_SDITX_MDL_CTRL_OFFSET, Data);
}
/*****************************************************************************/
/**
*
* This function enables 10bit YUV444 color format support for SDI Tx
*
* @param	InstancePtr is a pointer to the XV_SdiTx core instance.
*
* @return	None.
*
******************************************************************************/
This function enables 10bit YUV444 color format support for SDI Tx
This function enables 10bit YUV444 color format support for SDI Tx
void XV_SdiTx_SetYCbCr444_RGB_10bit(XV_SdiTx *InstancePtr)
{
	u32 Data;
	Xil_AssertVoid(InstancePtr != NULL);
	Data = XV_SdiTx_ReadReg(InstancePtr->Config.BaseAddress,
				XV_SDITX_MDL_CTRL_OFFSET);
	Data |= XV_SDITX_MDL_CTRL_VID_FRMTYUV444_MASK;
	XV_SdiTx_WriteReg(InstancePtr->Config.BaseAddress,
			  XV_SDITX_MDL_CTRL_OFFSET, Data);
}
void XV_SdiTx_SetYCbCr444_RGB_10bit ( XV_SdiTx * InstancePtr ) { u32 Data ; Xil_AssertVoid ( InstancePtr != NULL ) ; Data = XV_SdiTx_ReadReg ( InstancePtr -> Config . BaseAddress , XV_SDITX_MDL_CTRL_OFFSET ) ; Data |= XV_SDITX_MDL_CTRL_VID_FRMTYUV444_MASK ; XV_SdiTx_WriteReg ( InstancePtr -> Config . BaseAddress , XV_SDITX_MDL_CTRL_OFFSET , Data ) ; }
This function enables 10bit YUV444 color format support for SDI Tx
This function enables 10bit YUV444 color format support for SDI Tx
/* Verify arguments. */