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

	/* Verify arguments. */
	Xil_AssertNonvoid(InstancePtr != NULL);
	Xil_AssertNonvoid(InstancePtr->Config.HasDebug != (u16)0x0);

	/* Pixel Throughput monitor */
	DbgPixelCount = XRgb2YCrCb_ReadReg(InstancePtr->Config.BaseAddress,
					(XRGB_SYSDEBUG2_OFFSET));

	return DbgPixelCount;
}
/*****************************************************************************/
/**
*
* This function returns the pixel count, the number of pixels processed since
* power up. This is available only if the debugging feature is enabled.
*
* @param	InstancePtr is a pointer to the XRgb2YCrCb instance.
*
* @return	DbgPixelCount, number of pixels processed since power-up.
*
* @note		The SYSDEBUG2, or Pixel Throughput Monitor register indicates
*		the number of pixel processed since power-up or the last time
*		the core was reset. The SYSDEBUG registers can be useful to
*		identify external memory / Frame buffer / throughput
*		bottlenecks in a video system.
*		Debug functionality should be enabled.
*
******************************************************************************/
This function returns the pixel count, the number of pixels processed since
power up. This is available only if the debugging feature is enabled.
This function returns the pixel count the number of pixels processed since power up . This is available only if the debugging feature is enabled .
u32 XRgb2YCrCb_GetDbgPixelCount(XRgb2YCrCb *InstancePtr)
{
	u32 DbgPixelCount;
	Xil_AssertNonvoid(InstancePtr != NULL);
	Xil_AssertNonvoid(InstancePtr->Config.HasDebug != (u16)0x0);
	DbgPixelCount = XRgb2YCrCb_ReadReg(InstancePtr->Config.BaseAddress,
					(XRGB_SYSDEBUG2_OFFSET));
	return DbgPixelCount;
}
u32 XRgb2YCrCb_GetDbgPixelCount ( XRgb2YCrCb * InstancePtr ) { u32 DbgPixelCount ; Xil_AssertNonvoid ( InstancePtr != NULL ) ; Xil_AssertNonvoid ( InstancePtr -> Config . HasDebug != ( u16 ) 0x0 ) ; DbgPixelCount = XRgb2YCrCb_ReadReg ( InstancePtr -> Config . BaseAddress , ( XRGB_SYSDEBUG2_OFFSET ) ) ; return DbgPixelCount ; }
This function returns the pixel count, the number of pixels processed since
power up.
This function returns the pixel count the number of pixels processed since power up .
/* Verify arguments. */ /* Pixel Throughput monitor */