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

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