XilinxProcessorIPLib/drivers/rgb2ycrcb/src/xrgb2ycrcb.c
u32 XRgb2YCrCb_GetCrMin(XRgb2YCrCb *InstancePtr)
{
	u32 CrMin;

	/* Verify argument. */
	Xil_AssertNonvoid(InstancePtr != NULL);

	CrMin = (XRgb2YCrCb_ReadReg(InstancePtr->Config.BaseAddress,
			(XRGB_CRMIN_OFFSET)) & (XRGB_16_BIT_MASK));

	return CrMin;
}
/*****************************************************************************/
/**
*
* This function returns the minimum value on the Cr Chroma channel of the
* output.
*
* @param	InstancePtr is a pointer to the XRgb2YCrCb instance.
*
* @return	CrMin, minimum value within range [0, 255] on the Cr Chroma
*		Channel.
*
* @note		None.
*
******************************************************************************/
This function returns the minimum value on the Cr Chroma channel of the
output.
This function returns the minimum value on the Cr Chroma channel of the output .
u32 XRgb2YCrCb_GetCrMin(XRgb2YCrCb *InstancePtr)
{
	u32 CrMin;
	Xil_AssertNonvoid(InstancePtr != NULL);
	CrMin = (XRgb2YCrCb_ReadReg(InstancePtr->Config.BaseAddress,
			(XRGB_CRMIN_OFFSET)) & (XRGB_16_BIT_MASK));
	return CrMin;
}
u32 XRgb2YCrCb_GetCrMin ( XRgb2YCrCb * InstancePtr ) { u32 CrMin ; Xil_AssertNonvoid ( InstancePtr != NULL ) ; CrMin = ( XRgb2YCrCb_ReadReg ( InstancePtr -> Config . BaseAddress , ( XRGB_CRMIN_OFFSET ) ) & ( XRGB_16_BIT_MASK ) ) ; return CrMin ; }
This function returns the minimum value on the Cr Chroma channel of the
output.
This function returns the minimum value on the Cr Chroma channel of the output .
/* Verify argument. */