XilinxProcessorIPLib/drivers/vprocss/src/xvprocss.c
static int SetupModeMax(XVprocSs *XVprocSsPtr)
{
  int status;

  /* Build Routing table for the Video Data Flow */
  status = XVprocSs_BuildRoutingTable(XVprocSsPtr);

  if(status == XST_SUCCESS) {
    /* Reset the IP Blocks inside the VPSS */
    XVprocSs_Reset(XVprocSsPtr);

    /* Set the Video Data Router registers */
    XVprocSs_ProgRouterMux(XVprocSsPtr);

    /* program the Video IP subcores according to the use case */
    XVprocSs_SetupRouterDataFlow(XVprocSsPtr);
  }
  return(status);
}
/*****************************************************************************/
/**
* This function configures the video subsystem pipeline for Maximum
* (Full_Fledged) topology
*
* @param  XVprocSsPtr is a pointer to the Subsystem instance to be worked on.
*
* @return XST_SUCCESS if successful else XST_FAILURE
*
******************************************************************************/
This function configures the video subsystem pipeline for Maximum
(Full_Fledged) topology
This function configures the video subsystem pipeline for Maximum ( Full_Fledged ) topology
static int SetupModeMax(XVprocSs *XVprocSsPtr)
{
  int status;
  status = XVprocSs_BuildRoutingTable(XVprocSsPtr);
  if(status == XST_SUCCESS) {
    XVprocSs_Reset(XVprocSsPtr);
    XVprocSs_ProgRouterMux(XVprocSsPtr);
    XVprocSs_SetupRouterDataFlow(XVprocSsPtr);
  }
  return(status);
}
static int SetupModeMax ( XVprocSs * XVprocSsPtr ) { int status ; status = XVprocSs_BuildRoutingTable ( XVprocSsPtr ) ; if ( status == XST_SUCCESS ) { XVprocSs_Reset ( XVprocSsPtr ) ; XVprocSs_ProgRouterMux ( XVprocSsPtr ) ; XVprocSs_SetupRouterDataFlow ( XVprocSsPtr ) ; } return ( status ) ; }
This function configures the video subsystem pipeline for Maximum
(Full_Fledged) topology
This function configures the video subsystem pipeline for Maximum ( Full_Fledged ) topology
/* Build Routing table for the Video Data Flow */ /* Reset the IP Blocks inside the VPSS */ /* Set the Video Data Router registers */ /* program the Video IP subcores according to the use case */