XilinxProcessorIPLib/drivers/v_hdmitxss/src/xv_hdmitxss.c
static void XV_HdmiTxSs_VsCallback(void *CallbackRef)
{
  XV_HdmiTxSs *HdmiTxSsPtr = (XV_HdmiTxSs *)CallbackRef;

  /* Support of backward compatibility by checking HDMI-TXSs Major AppVersion
   * parameter. If value is 0, then TX SS driver will send
   * the InfoFrame. Note: The APIs used here are deprecated.
   */
  if (HdmiTxSsPtr->AppMajVer == 0) {
  	// AVI infoframe
  	XV_HdmiTxSs_SendAviInfoframe(HdmiTxSsPtr->HdmiTxPtr);

  	// Vendor-Specific InfoFrame
	XV_HdmiTxSs_SendVSInfoframe(HdmiTxSsPtr->HdmiTxPtr);
  }

  // Check if user callback has been registered
  if (HdmiTxSsPtr->VsCallback) {
      HdmiTxSsPtr->VsCallback(HdmiTxSsPtr->VsRef);
  }
}
/*****************************************************************************/
/**
*
* This function is called when a TX vsync has occurred.
*
* @param  None.
*
* @return None.
*
* @note   None.
*
******************************************************************************/
This function is called when a TX vsync has occurred.
This function is called when a TX vsync has occurred .
static void XV_HdmiTxSs_VsCallback(void *CallbackRef)
{
  XV_HdmiTxSs *HdmiTxSsPtr = (XV_HdmiTxSs *)CallbackRef;
  if (HdmiTxSsPtr->AppMajVer == 0) {
  	XV_HdmiTxSs_SendAviInfoframe(HdmiTxSsPtr->HdmiTxPtr);
	XV_HdmiTxSs_SendVSInfoframe(HdmiTxSsPtr->HdmiTxPtr);
  }
  if (HdmiTxSsPtr->VsCallback) {
      HdmiTxSsPtr->VsCallback(HdmiTxSsPtr->VsRef);
  }
}
static void XV_HdmiTxSs_VsCallback ( void * CallbackRef ) { XV_HdmiTxSs * HdmiTxSsPtr = ( XV_HdmiTxSs * ) CallbackRef ; if ( HdmiTxSsPtr -> AppMajVer == 0 ) { XV_HdmiTxSs_SendAviInfoframe ( HdmiTxSsPtr -> HdmiTxPtr ) ; XV_HdmiTxSs_SendVSInfoframe ( HdmiTxSsPtr -> HdmiTxPtr ) ; } if ( HdmiTxSsPtr -> VsCallback ) { HdmiTxSsPtr -> VsCallback ( HdmiTxSsPtr -> VsRef ) ; } }
This function is called when a TX vsync has occurred.
This function is called when a TX vsync has occurred .
/* Support of backward compatibility by checking HDMI-TXSs Major AppVersion
   * parameter. If value is 0, then TX SS driver will send
   * the InfoFrame. Note: The APIs used here are deprecated.
   */ // AVI infoframe // Vendor-Specific InfoFrame // Check if user callback has been registered