XilinxProcessorIPLib/drivers/dp12txss/src/xdptxss_dbg.c
void XDpTxSs_ReportSplitterInfo(XDpTxSs *InstancePtr)
{
#if (XPAR_XDUALSPLITTER_NUM_INSTANCES > 0)
	u8 ISamples;
	u8 OSamples;
	u8 Segments;
	u8 Overlap;
	u16 Height;
	u16 Width;
#endif

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

#if (XPAR_XDUALSPLITTER_NUM_INSTANCES > 0)
	if (InstancePtr->DsPtr) {
		xil_printf("Dual Splitter info:\n\r");
		XDualSplitter_GetImageSize(InstancePtr->DsPtr, &Height,
				&Width);
		XDualSplitter_GetImgParam(InstancePtr->DsPtr, &ISamples,
			&OSamples, &Segments, &Overlap);
		xil_printf("Input Samples :%d\n\r"
			   "Output Samples:%d\n\r"
			   "Overlap       :%d\n\r"
			   "Segments      :%d\n\r"
			   "Mode          :%s\n\r"
			   "Width x Height:%d x %d", ISamples, OSamples,
				Overlap, Segments,
				(Segments == 2)?"Split":"Bypass",
				Width,Height);
	}
#else
	xil_printf("Dual Splitter is not supported in this design \n\r");
#endif
	xil_printf("\n\r");
}
/*****************************************************************************/
/**
*
* This function prints the current Dual Splitter information.
*
* @param	InstancePtr is a pointer to the XDpTxSs core instance.
*
* @return	None.
*
* @note		None.
*
******************************************************************************/
This function prints the current Dual Splitter information.
This function prints the current Dual Splitter information .
void XDpTxSs_ReportSplitterInfo(XDpTxSs *InstancePtr)
{
#if (XPAR_XDUALSPLITTER_NUM_INSTANCES > 0)
	u8 ISamples;
	u8 OSamples;
	u8 Segments;
	u8 Overlap;
	u16 Height;
	u16 Width;
#endif
	Xil_AssertVoid(InstancePtr != NULL);
#if (XPAR_XDUALSPLITTER_NUM_INSTANCES > 0)
	if (InstancePtr->DsPtr) {
		xil_printf("Dual Splitter info:\n\r");
		XDualSplitter_GetImageSize(InstancePtr->DsPtr, &Height,
				&Width);
		XDualSplitter_GetImgParam(InstancePtr->DsPtr, &ISamples,
			&OSamples, &Segments, &Overlap);
		xil_printf("Input Samples :%d\n\r"
			   "Output Samples:%d\n\r"
			   "Overlap       :%d\n\r"
			   "Segments      :%d\n\r"
			   "Mode          :%s\n\r"
			   "Width x Height:%d x %d", ISamples, OSamples,
				Overlap, Segments,
				(Segments == 2)?"Split":"Bypass",
				Width,Height);
	}
#else
	xil_printf("Dual Splitter is not supported in this design \n\r");
#endif
	xil_printf("\n\r");
}
void XDpTxSs_ReportSplitterInfo ( XDpTxSs * InstancePtr ) { #if ( XPAR_XDUALSPLITTER_NUM_INSTANCES > 0 ) u8 ISamples ; u8 OSamples ; u8 Segments ; u8 Overlap ; u16 Height ; u16 Width ; #endif Xil_AssertVoid ( InstancePtr != NULL ) ; #if ( XPAR_XDUALSPLITTER_NUM_INSTANCES > 0 ) if ( InstancePtr -> DsPtr ) { xil_printf ( " \n \r " ) ; XDualSplitter_GetImageSize ( InstancePtr -> DsPtr , & Height , & Width ) ; XDualSplitter_GetImgParam ( InstancePtr -> DsPtr , & ISamples , & OSamples , & Segments , & Overlap ) ; xil_printf ( " \n \r " " \n \r " " \n \r " " \n \r " " \n \r " " " , ISamples , OSamples , Overlap , Segments , ( Segments == 2 ) ? " " : " " , Width , Height ) ; } #else xil_printf ( " \n \r " ) ; #endif xil_printf ( " \n \r " ) ; }
This function prints the current Dual Splitter information.
This function prints the current Dual Splitter information .
/* Verify argument. */