XilinxProcessorIPLib/drivers/vprocss/src/xvprocss.c
void XVprocSs_ReportSubsystemCoreInfo(XVprocSs *InstancePtr)
{
  const char *topology[XVPROCSS_TOPOLOGY_NUM_SUPPORTED] = {
      "Scaler-Only",
      "Full-Fledged",
      "Deint-Only",
      "CSC-Only",
      "420To422-Only",
      "422To444-Only"};
  int SubsytemTopology;

  Xil_AssertVoid(InstancePtr != NULL);

  SubsytemTopology = XVprocSs_GetSubsystemTopology(InstancePtr);

  xil_printf("\r\n****** Video Processing Subsystem Configuration ******\r\n");
  /* Print the configuration selected */
  if(SubsytemTopology < XVPROCSS_TOPOLOGY_NUM_SUPPORTED) {
    xil_printf("\r\nTopology: %s\r\n", topology[SubsytemTopology]);
  } else {
	xil_printf("VPROCSS ERR:: Topology: Not Supported\r\n");
	return;
  }

  xil_printf("\r\n  ->Sub-Cores Included\r\n");

  /* Report all the included cores in the subsystem instance */
  if(InstancePtr->HcrsmplrPtr) {
    xil_printf("    : Horiz. Chroma Resampler \r\n");
  }

  if(InstancePtr->VcrsmplrInPtr) {
    xil_printf("    : Vert Chroma Resampler - Input\r\n");
  }

  if(InstancePtr->VcrsmplrOutPtr) {
    xil_printf("    : Vert Chroma Resampler - Output\r\n");
  }

  if(InstancePtr->HscalerPtr) {
    xil_printf("    : H Scaler\r\n");
  }

  if(InstancePtr->VscalerPtr) {
    xil_printf("    : V Scaler\r\n");
  }

  if(InstancePtr->VdmaPtr) {
    xil_printf("    : VDMA\r\n");
  }

  if(InstancePtr->LboxPtr) {
    xil_printf("    : LetterBox\r\n");
  }

  if(InstancePtr->CscPtr) {
    xil_printf("    : Color Space Converter\r\n");
  }

  if(InstancePtr->DeintPtr) {
    xil_printf("    : Deinterlacer\r\n");
  }

  if(InstancePtr->RstAxisPtr) {
    xil_printf("    : Reset (AXIS)\r\n");
  }

  if(InstancePtr->RstAximmPtr) {
    xil_printf("    : Reset (AXI-MM) \r\n");
  }

  if(InstancePtr->RouterPtr) {
    xil_printf("    : AXIS Router\r\n");
  }

  xil_printf("\r\nPixels/Clk  = %d\r\n", InstancePtr->Config.PixPerClock);
  xil_printf("Color Depth = %d\r\n", InstancePtr->Config.ColorDepth);
  xil_printf("Num Video Components = %d\r\n", InstancePtr->Config.NumVidComponents);
  xil_printf("Max Width Supported  = %d\r\n", InstancePtr->Config.MaxWidth);
  xil_printf("Max Height Supported = %d\r\n", InstancePtr->Config.MaxHeight);
}
/*****************************************************************************/
/**
* This function reports Video Processing Subsystem HW configuration
*
* @param  InstancePtr is a pointer to the Subsystem instance.
*
* @return None
*
******************************************************************************/
This function reports Video Processing Subsystem HW configuration
This function reports Video Processing Subsystem HW configuration
void XVprocSs_ReportSubsystemCoreInfo(XVprocSs *InstancePtr)
{
  const char *topology[XVPROCSS_TOPOLOGY_NUM_SUPPORTED] = {
      "Scaler-Only",
      "Full-Fledged",
      "Deint-Only",
      "CSC-Only",
      "420To422-Only",
      "422To444-Only"};
  int SubsytemTopology;
  Xil_AssertVoid(InstancePtr != NULL);
  SubsytemTopology = XVprocSs_GetSubsystemTopology(InstancePtr);
  xil_printf("\r\n****** Video Processing Subsystem Configuration ******\r\n");
  if(SubsytemTopology < XVPROCSS_TOPOLOGY_NUM_SUPPORTED) {
    xil_printf("\r\nTopology: %s\r\n", topology[SubsytemTopology]);
  } else {
	xil_printf("VPROCSS ERR:: Topology: Not Supported\r\n");
	return;
  }
  xil_printf("\r\n  ->Sub-Cores Included\r\n");
  if(InstancePtr->HcrsmplrPtr) {
    xil_printf("    : Horiz. Chroma Resampler \r\n");
  }
  if(InstancePtr->VcrsmplrInPtr) {
    xil_printf("    : Vert Chroma Resampler - Input\r\n");
  }
  if(InstancePtr->VcrsmplrOutPtr) {
    xil_printf("    : Vert Chroma Resampler - Output\r\n");
  }
  if(InstancePtr->HscalerPtr) {
    xil_printf("    : H Scaler\r\n");
  }
  if(InstancePtr->VscalerPtr) {
    xil_printf("    : V Scaler\r\n");
  }
  if(InstancePtr->VdmaPtr) {
    xil_printf("    : VDMA\r\n");
  }
  if(InstancePtr->LboxPtr) {
    xil_printf("    : LetterBox\r\n");
  }
  if(InstancePtr->CscPtr) {
    xil_printf("    : Color Space Converter\r\n");
  }
  if(InstancePtr->DeintPtr) {
    xil_printf("    : Deinterlacer\r\n");
  }
  if(InstancePtr->RstAxisPtr) {
    xil_printf("    : Reset (AXIS)\r\n");
  }
  if(InstancePtr->RstAximmPtr) {
    xil_printf("    : Reset (AXI-MM) \r\n");
  }
  if(InstancePtr->RouterPtr) {
    xil_printf("    : AXIS Router\r\n");
  }
  xil_printf("\r\nPixels/Clk  = %d\r\n", InstancePtr->Config.PixPerClock);
  xil_printf("Color Depth = %d\r\n", InstancePtr->Config.ColorDepth);
  xil_printf("Num Video Components = %d\r\n", InstancePtr->Config.NumVidComponents);
  xil_printf("Max Width Supported  = %d\r\n", InstancePtr->Config.MaxWidth);
  xil_printf("Max Height Supported = %d\r\n", InstancePtr->Config.MaxHeight);
}
void XVprocSs_ReportSubsystemCoreInfo ( XVprocSs * InstancePtr ) { const char * topology [ XVPROCSS_TOPOLOGY_NUM_SUPPORTED ] = { " " , " " , " " , " " , " " , " " } ; int SubsytemTopology ; Xil_AssertVoid ( InstancePtr != NULL ) ; SubsytemTopology = XVprocSs_GetSubsystemTopology ( InstancePtr ) ; xil_printf ( " \r \n \r \n " ) ; if ( SubsytemTopology < XVPROCSS_TOPOLOGY_NUM_SUPPORTED ) { xil_printf ( " \r \n \r \n " , topology [ SubsytemTopology ] ) ; } else { xil_printf ( " \r \n " ) ; return ; } xil_printf ( " \r \n \r \n " ) ; if ( InstancePtr -> HcrsmplrPtr ) { xil_printf ( " \r \n " ) ; } if ( InstancePtr -> VcrsmplrInPtr ) { xil_printf ( " \r \n " ) ; } if ( InstancePtr -> VcrsmplrOutPtr ) { xil_printf ( " \r \n " ) ; } if ( InstancePtr -> HscalerPtr ) { xil_printf ( " \r \n " ) ; } if ( InstancePtr -> VscalerPtr ) { xil_printf ( " \r \n " ) ; } if ( InstancePtr -> VdmaPtr ) { xil_printf ( " \r \n " ) ; } if ( InstancePtr -> LboxPtr ) { xil_printf ( " \r \n " ) ; } if ( InstancePtr -> CscPtr ) { xil_printf ( " \r \n " ) ; } if ( InstancePtr -> DeintPtr ) { xil_printf ( " \r \n " ) ; } if ( InstancePtr -> RstAxisPtr ) { xil_printf ( " \r \n " ) ; } if ( InstancePtr -> RstAximmPtr ) { xil_printf ( " \r \n " ) ; } if ( InstancePtr -> RouterPtr ) { xil_printf ( " \r \n " ) ; } xil_printf ( " \r \n \r \n " , InstancePtr -> Config . PixPerClock ) ; xil_printf ( " \r \n " , InstancePtr -> Config . ColorDepth ) ; xil_printf ( " \r \n " , InstancePtr -> Config . NumVidComponents ) ; xil_printf ( " \r \n " , InstancePtr -> Config . MaxWidth ) ; xil_printf ( " \r \n " , InstancePtr -> Config . MaxHeight ) ; }
This function reports Video Processing Subsystem HW configuration
This function reports Video Processing Subsystem HW configuration
/* Print the configuration selected */ /* Report all the included cores in the subsystem instance */