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

	XRgb2YCrCb_WriteReg(InstancePtr->Config.BaseAddress,
				(XRGB_YMIN_OFFSET), YMin);
}
/*****************************************************************************/
/**
*
* This function sets the minimum value allowed on the Luma (Y) channel of the
* output.
*
* @param	InstancePtr is a pointer to the XRgb2YCrCb instance.
* @param	YMin specifies the minimum value within range [0, 255] of Luma
*		channel that needs to be set.
*
* @return	None.
*
* @note		None.
*
******************************************************************************/
This function sets the minimum value allowed on the Luma (Y) channel of the
output.
This function sets the minimum value allowed on the Luma ( Y ) channel of the output .
void XRgb2YCrCb_SetYMin(XRgb2YCrCb *InstancePtr, u32 YMin)
{
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(YMin <= (u32)XRGB_YMIN_LAST);
	XRgb2YCrCb_WriteReg(InstancePtr->Config.BaseAddress,
				(XRGB_YMIN_OFFSET), YMin);
}
void XRgb2YCrCb_SetYMin ( XRgb2YCrCb * InstancePtr , u32 YMin ) { Xil_AssertVoid ( InstancePtr != NULL ) ; Xil_AssertVoid ( YMin <= ( u32 ) XRGB_YMIN_LAST ) ; XRgb2YCrCb_WriteReg ( InstancePtr -> Config . BaseAddress , ( XRGB_YMIN_OFFSET ) , YMin ) ; }
This function sets the minimum value allowed on the Luma (Y) channel of the
output.
This function sets the minimum value allowed on the Luma ( Y ) channel of the output .
/* Verify arguments */