XilinxProcessorIPLib/drivers/vprocss/src/xvprocss.c
void XVprocSs_ReportSubcoreStatus(XVprocSs *InstancePtr,
		                          u32 SubcoreId)
{
  /* Verify arguments */
  Xil_AssertVoid(InstancePtr != NULL);
  Xil_AssertVoid((SubcoreId >= XVPROCSS_SUBCORE_SCALER_V) &&
		         (SubcoreId < XVPROCSS_SUBCORE_MAX));

  switch(SubcoreId)
  {
    case XVPROCSS_SUBCORE_SCALER_V:
      XV_VScalerDbgReportStatus(InstancePtr->VscalerPtr);
	  break;

    case XVPROCSS_SUBCORE_SCALER_H:
      XV_HScalerDbgReportStatus(InstancePtr->HscalerPtr);
	  break;

    case XVPROCSS_SUBCORE_VDMA:
      XVprocSs_VdmaDbgReportStatus(InstancePtr,
			                       InstancePtr->CtxtData.PixelWidthInBits);
	  break;

    case XVPROCSS_SUBCORE_LBOX:
      XV_LBoxDbgReportStatus(InstancePtr->LboxPtr);
	  break;

    case XVPROCSS_SUBCORE_CR_H:
      XV_HCrsmplDbgReportStatus(InstancePtr->HcrsmplrPtr);
	  break;

    case XVPROCSS_SUBCORE_CR_V_IN:
      XV_VCrsmplDbgReportStatus(InstancePtr->VcrsmplrInPtr);
	  break;

    case XVPROCSS_SUBCORE_CR_V_OUT:
      XV_VCrsmplDbgReportStatus(InstancePtr->VcrsmplrOutPtr);
	  break;

    case XVPROCSS_SUBCORE_CSC:
	  XV_CscDbgReportStatus(InstancePtr->CscPtr);
	  break;

    case XVPROCSS_SUBCORE_DEINT:
	  XV_DeintDbgReportStatus(InstancePtr->DeintPtr);
	  break;

    default:
	  break;
  }
}
/*****************************************************************************/
/**
* This function reports the status of specified sub-core
*
* @param  InstancePtr is a pointer to the Subsystem instance to be worked on.
* @param  SubcoreId is the subcore index from the below list
*           - XVPROCSS_SUBCORE_SCALER_V
*           - XVPROCSS_SUBCORE_SCALER_H
*           - XVPROCSS_SUBCORE_VDMA
*           - XVPROCSS_SUBCORE_LBOX
*           - XVPROCSS_SUBCORE_CR_H
*           - XVPROCSS_SUBCORE_CR_V_IN
*           - XVPROCSS_SUBCORE_CR_V_OUT
*           - XVPROCSS_SUBCORE_CSC
*           - XVPROCSS_SUBCORE_DEINT
*
* @return None
*
******************************************************************************/
This function reports the status of specified sub-core
This function reports the status of specified sub - core
void XVprocSs_ReportSubcoreStatus(XVprocSs *InstancePtr,
		                          u32 SubcoreId)
{
  Xil_AssertVoid(InstancePtr != NULL);
  Xil_AssertVoid((SubcoreId >= XVPROCSS_SUBCORE_SCALER_V) &&
		         (SubcoreId < XVPROCSS_SUBCORE_MAX));
  switch(SubcoreId)
  {
    case XVPROCSS_SUBCORE_SCALER_V:
      XV_VScalerDbgReportStatus(InstancePtr->VscalerPtr);
	  break;
    case XVPROCSS_SUBCORE_SCALER_H:
      XV_HScalerDbgReportStatus(InstancePtr->HscalerPtr);
	  break;
    case XVPROCSS_SUBCORE_VDMA:
      XVprocSs_VdmaDbgReportStatus(InstancePtr,
			                       InstancePtr->CtxtData.PixelWidthInBits);
	  break;
    case XVPROCSS_SUBCORE_LBOX:
      XV_LBoxDbgReportStatus(InstancePtr->LboxPtr);
	  break;
    case XVPROCSS_SUBCORE_CR_H:
      XV_HCrsmplDbgReportStatus(InstancePtr->HcrsmplrPtr);
	  break;
    case XVPROCSS_SUBCORE_CR_V_IN:
      XV_VCrsmplDbgReportStatus(InstancePtr->VcrsmplrInPtr);
	  break;
    case XVPROCSS_SUBCORE_CR_V_OUT:
      XV_VCrsmplDbgReportStatus(InstancePtr->VcrsmplrOutPtr);
	  break;
    case XVPROCSS_SUBCORE_CSC:
	  XV_CscDbgReportStatus(InstancePtr->CscPtr);
	  break;
    case XVPROCSS_SUBCORE_DEINT:
	  XV_DeintDbgReportStatus(InstancePtr->DeintPtr);
	  break;
    default:
	  break;
  }
}
void XVprocSs_ReportSubcoreStatus ( XVprocSs * InstancePtr , u32 SubcoreId ) { Xil_AssertVoid ( InstancePtr != NULL ) ; Xil_AssertVoid ( ( SubcoreId >= XVPROCSS_SUBCORE_SCALER_V ) && ( SubcoreId < XVPROCSS_SUBCORE_MAX ) ) ; switch ( SubcoreId ) { case XVPROCSS_SUBCORE_SCALER_V : XV_VScalerDbgReportStatus ( InstancePtr -> VscalerPtr ) ; break ; case XVPROCSS_SUBCORE_SCALER_H : XV_HScalerDbgReportStatus ( InstancePtr -> HscalerPtr ) ; break ; case XVPROCSS_SUBCORE_VDMA : XVprocSs_VdmaDbgReportStatus ( InstancePtr , InstancePtr -> CtxtData . PixelWidthInBits ) ; break ; case XVPROCSS_SUBCORE_LBOX : XV_LBoxDbgReportStatus ( InstancePtr -> LboxPtr ) ; break ; case XVPROCSS_SUBCORE_CR_H : XV_HCrsmplDbgReportStatus ( InstancePtr -> HcrsmplrPtr ) ; break ; case XVPROCSS_SUBCORE_CR_V_IN : XV_VCrsmplDbgReportStatus ( InstancePtr -> VcrsmplrInPtr ) ; break ; case XVPROCSS_SUBCORE_CR_V_OUT : XV_VCrsmplDbgReportStatus ( InstancePtr -> VcrsmplrOutPtr ) ; break ; case XVPROCSS_SUBCORE_CSC : XV_CscDbgReportStatus ( InstancePtr -> CscPtr ) ; break ; case XVPROCSS_SUBCORE_DEINT : XV_DeintDbgReportStatus ( InstancePtr -> DeintPtr ) ; break ; default : break ; } }
This function reports the status of specified sub-core
This function reports the status of specified sub - core
/* Verify arguments */