XilinxProcessorIPLib/drivers/vprocss/src/xvprocss.c
void XVprocSs_ReportSubsystemConfig(XVprocSs *InstancePtr)
{
  XVidC_VideoWindow win;
  u32 count;

  /* Verify arguments */
  Xil_AssertVoid(InstancePtr != NULL);

  xil_printf("\r\n------ SUBSYSTEM INPUT/OUTPUT CONFIG ------\r\n");
  xil_printf("->INPUT\r\n");
  XVidC_ReportStreamInfo(&InstancePtr->VidIn);
  xil_printf("\r\n->OUTPUT\r\n");
  XVidC_ReportStreamInfo(&InstancePtr->VidOut);

  if(XVprocSs_IsConfigModeMax(InstancePtr)) {
    if(XVprocSs_IsZoomModeOn(InstancePtr)) {
	  xil_printf("\r\nZoom Mode: ON\r\n");
	  XVprocSs_GetZoomPipWindow(InstancePtr, XVPROCSS_ZOOM_WIN, &win);
	  xil_printf("   Start X    = %d\r\n", win.StartX);
	  xil_printf("   Start Y    = %d\r\n", win.StartY);
	  xil_printf("   Win Width  = %d\r\n", win.Width);
	  xil_printf("   Win Height = %d\r\n", win.Height);
	  xil_printf("\r\n   HStep Size = %d\r\n", XVprocSs_GetPipZoomWinHStepSize(InstancePtr));
    } else {
      xil_printf("\r\nZoom Mode: OFF\r\n");
    }

    if(XVprocSs_IsPipModeOn(InstancePtr)) {
	  xil_printf("Pip Mode: ON\r\n");
	  XVprocSs_GetZoomPipWindow(InstancePtr, XVPROCSS_PIP_WIN, &win);
	  xil_printf("   Start X    = %d\r\n", win.StartX);
	  xil_printf("   Start Y    = %d\r\n", win.StartY);
	  xil_printf("   Win Width  = %d\r\n", win.Width);
	  xil_printf("   Win Height = %d\r\n", win.Height);
	  xil_printf("\r\n   HStep Size = %d\r\n", XVprocSs_GetPipZoomWinHStepSize(InstancePtr));
    } else {
      xil_printf("\r\nPip  Mode: OFF\r\n");
    }

    count = 0;
    //print IP Data Flow Map
    xil_printf("\r\nData Flow Map: VidIn");
    while(count<InstancePtr->CtxtData.RtrNumCores)
    {
      xil_printf(" -> %s",XVprocSsIpStr[InstancePtr->CtxtData.RtngTable[count++]]);
    }
  }
  xil_printf("\r\n");
}
/*****************************************************************************/
/**
* This function reports the subsystem HW and input/output stream configuration
*
* @param  InstancePtr is a pointer to the Subsystem instance to be worked on.
*
* @return None
*
******************************************************************************/
This function reports the subsystem HW and input/output stream configuration
This function reports the subsystem HW and input / output stream configuration
void XVprocSs_ReportSubsystemConfig(XVprocSs *InstancePtr)
{
  XVidC_VideoWindow win;
  u32 count;
  Xil_AssertVoid(InstancePtr != NULL);
  xil_printf("\r\n------ SUBSYSTEM INPUT/OUTPUT CONFIG ------\r\n");
  xil_printf("->INPUT\r\n");
  XVidC_ReportStreamInfo(&InstancePtr->VidIn);
  xil_printf("\r\n->OUTPUT\r\n");
  XVidC_ReportStreamInfo(&InstancePtr->VidOut);
  if(XVprocSs_IsConfigModeMax(InstancePtr)) {
    if(XVprocSs_IsZoomModeOn(InstancePtr)) {
	  xil_printf("\r\nZoom Mode: ON\r\n");
	  XVprocSs_GetZoomPipWindow(InstancePtr, XVPROCSS_ZOOM_WIN, &win);
	  xil_printf("   Start X    = %d\r\n", win.StartX);
	  xil_printf("   Start Y    = %d\r\n", win.StartY);
	  xil_printf("   Win Width  = %d\r\n", win.Width);
	  xil_printf("   Win Height = %d\r\n", win.Height);
	  xil_printf("\r\n   HStep Size = %d\r\n", XVprocSs_GetPipZoomWinHStepSize(InstancePtr));
    } else {
      xil_printf("\r\nZoom Mode: OFF\r\n");
    }
    if(XVprocSs_IsPipModeOn(InstancePtr)) {
	  xil_printf("Pip Mode: ON\r\n");
	  XVprocSs_GetZoomPipWindow(InstancePtr, XVPROCSS_PIP_WIN, &win);
	  xil_printf("   Start X    = %d\r\n", win.StartX);
	  xil_printf("   Start Y    = %d\r\n", win.StartY);
	  xil_printf("   Win Width  = %d\r\n", win.Width);
	  xil_printf("   Win Height = %d\r\n", win.Height);
	  xil_printf("\r\n   HStep Size = %d\r\n", XVprocSs_GetPipZoomWinHStepSize(InstancePtr));
    } else {
      xil_printf("\r\nPip  Mode: OFF\r\n");
    }
    count = 0;
    xil_printf("\r\nData Flow Map: VidIn");
    while(count<InstancePtr->CtxtData.RtrNumCores)
    {
      xil_printf(" -> %s",XVprocSsIpStr[InstancePtr->CtxtData.RtngTable[count++]]);
    }
  }
  xil_printf("\r\n");
}
void XVprocSs_ReportSubsystemConfig ( XVprocSs * InstancePtr ) { XVidC_VideoWindow win ; u32 count ; Xil_AssertVoid ( InstancePtr != NULL ) ; xil_printf ( " \r \n \r \n " ) ; xil_printf ( " \r \n " ) ; XVidC_ReportStreamInfo ( & InstancePtr -> VidIn ) ; xil_printf ( " \r \n \r \n " ) ; XVidC_ReportStreamInfo ( & InstancePtr -> VidOut ) ; if ( XVprocSs_IsConfigModeMax ( InstancePtr ) ) { if ( XVprocSs_IsZoomModeOn ( InstancePtr ) ) { xil_printf ( " \r \n \r \n " ) ; XVprocSs_GetZoomPipWindow ( InstancePtr , XVPROCSS_ZOOM_WIN , & win ) ; xil_printf ( " \r \n " , win . StartX ) ; xil_printf ( " \r \n " , win . StartY ) ; xil_printf ( " \r \n " , win . Width ) ; xil_printf ( " \r \n " , win . Height ) ; xil_printf ( " \r \n \r \n " , XVprocSs_GetPipZoomWinHStepSize ( InstancePtr ) ) ; } else { xil_printf ( " \r \n \r \n " ) ; } if ( XVprocSs_IsPipModeOn ( InstancePtr ) ) { xil_printf ( " \r \n " ) ; XVprocSs_GetZoomPipWindow ( InstancePtr , XVPROCSS_PIP_WIN , & win ) ; xil_printf ( " \r \n " , win . StartX ) ; xil_printf ( " \r \n " , win . StartY ) ; xil_printf ( " \r \n " , win . Width ) ; xil_printf ( " \r \n " , win . Height ) ; xil_printf ( " \r \n \r \n " , XVprocSs_GetPipZoomWinHStepSize ( InstancePtr ) ) ; } else { xil_printf ( " \r \n \r \n " ) ; } count = 0 ; xil_printf ( " \r \n " ) ; while ( count < InstancePtr -> CtxtData . RtrNumCores ) { xil_printf ( " " , XVprocSsIpStr [ InstancePtr -> CtxtData . RtngTable [ count ++ ] ] ) ; } } xil_printf ( " \r \n " ) ; }
This function reports the subsystem HW and input/output stream configuration
This function reports the subsystem HW and input / output stream configuration
/* Verify arguments */ //print IP Data Flow Map