XilinxProcessorIPLib/drivers/rgb2ycrcb/src/xrgb2ycrcb.c
void XRgb2YCrCb_SetCrOffset(XRgb2YCrCb *InstancePtr, u32 CrOffset)
{
	/* Verify arguments. */
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(CrOffset <= (u32)XRGB_CROFFSET_LAST);

	XRgb2YCrCb_WriteReg(InstancePtr->Config.BaseAddress,
				(XRGB_CROFFSET_OFFSET), CrOffset);
}
/*****************************************************************************/
/**
*
* This function sets the offset compensation value for the Cr Chroma channel.
*
* @param	InstancePtr is a pointer to the XRgb2YCrCb instance.
* @param	CrOffset specifies the compensation value within range [0, 255]
*		of Cr Chroma channel that needs to be set.
*
* @return	None.
*
* @note		None.
*
******************************************************************************/
This function sets the offset compensation value for the Cr Chroma channel.
This function sets the offset compensation value for the Cr Chroma channel .
void XRgb2YCrCb_SetCrOffset(XRgb2YCrCb *InstancePtr, u32 CrOffset)
{
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(CrOffset <= (u32)XRGB_CROFFSET_LAST);
	XRgb2YCrCb_WriteReg(InstancePtr->Config.BaseAddress,
				(XRGB_CROFFSET_OFFSET), CrOffset);
}
void XRgb2YCrCb_SetCrOffset ( XRgb2YCrCb * InstancePtr , u32 CrOffset ) { Xil_AssertVoid ( InstancePtr != NULL ) ; Xil_AssertVoid ( CrOffset <= ( u32 ) XRGB_CROFFSET_LAST ) ; XRgb2YCrCb_WriteReg ( InstancePtr -> Config . BaseAddress , ( XRGB_CROFFSET_OFFSET ) , CrOffset ) ; }
This function sets the offset compensation value for the Cr Chroma channel.
This function sets the offset compensation value for the Cr Chroma channel .
/* Verify arguments. */