XilinxProcessorIPLib/drivers/vprocss/src/xvprocss.c
void XVprocSs_SetPictureColorStdOut(XVprocSs *InstancePtr,
	                                XVidC_ColorStd NewVal)
{
  XV_Csc_l2 *CscPtr = InstancePtr->CscPtr;

  /* Verify arguments */
  Xil_AssertVoid(InstancePtr != NULL);
  Xil_AssertVoid(InstancePtr->CscPtr != NULL);
  Xil_AssertVoid((NewVal >= XVIDC_BT_2020) &&
		         (NewVal < XVIDC_BT_NUM_SUPPORTED));

  if(InstancePtr->CscPtr) {
    XV_CscSetColorspace(CscPtr,
                        CscPtr->ColorFormatIn,
                        CscPtr->ColorFormatOut,
                        CscPtr->StandardIn,
                        NewVal,
                        CscPtr->OutputRange);
  }
}
/*****************************************************************************/
/**
* This function sets picture color standard setting for output
*
* @param  InstancePtr is a pointer to the Subsystem instance to be worked on.
* @param  NewVal is the required color standard
*		    - XVIDC_BT_2020
*		    - XVIDC_BT_709
*		    - XVIDC_BT_601
*
* @return None
*
* @note   Applicable only if CSC core is included in the subsystem
*
******************************************************************************/
This function sets picture color standard setting for output
This function sets picture color standard setting for output
void XVprocSs_SetPictureColorStdOut(XVprocSs *InstancePtr,
	                                XVidC_ColorStd NewVal)
{
  XV_Csc_l2 *CscPtr = InstancePtr->CscPtr;
  Xil_AssertVoid(InstancePtr != NULL);
  Xil_AssertVoid(InstancePtr->CscPtr != NULL);
  Xil_AssertVoid((NewVal >= XVIDC_BT_2020) &&
		         (NewVal < XVIDC_BT_NUM_SUPPORTED));
  if(InstancePtr->CscPtr) {
    XV_CscSetColorspace(CscPtr,
                        CscPtr->ColorFormatIn,
                        CscPtr->ColorFormatOut,
                        CscPtr->StandardIn,
                        NewVal,
                        CscPtr->OutputRange);
  }
}
void XVprocSs_SetPictureColorStdOut ( XVprocSs * InstancePtr , XVidC_ColorStd NewVal ) { XV_Csc_l2 * CscPtr = InstancePtr -> CscPtr ; Xil_AssertVoid ( InstancePtr != NULL ) ; Xil_AssertVoid ( InstancePtr -> CscPtr != NULL ) ; Xil_AssertVoid ( ( NewVal >= XVIDC_BT_2020 ) && ( NewVal < XVIDC_BT_NUM_SUPPORTED ) ) ; if ( InstancePtr -> CscPtr ) { XV_CscSetColorspace ( CscPtr , CscPtr -> ColorFormatIn , CscPtr -> ColorFormatOut , CscPtr -> StandardIn , NewVal , CscPtr -> OutputRange ) ; } }
This function sets picture color standard setting for output
This function sets picture color standard setting for output
/* Verify arguments */