XilinxProcessorIPLib/drivers/v_hdmirxss1/src/xv_hdmirxss1.c
static void XV_HdmiRxSs1_ModeCallback(void *CallbackRef)
{
  XV_HdmiRxSs1 *HdmiRxSs1Ptr = (XV_HdmiRxSs1 *)CallbackRef;

  /* HDMI mode*/
  if (XV_HdmiRxSs1_GetVideoStreamType(HdmiRxSs1Ptr)) {
#ifdef XV_HDMIRXSS1_LOG_ENABLE
    XV_HdmiRxSs1_LogWrite(HdmiRxSs1Ptr, XV_HDMIRXSS1_LOG_EVT_HDMIMODE, 0);
#endif
#ifdef USE_HDCP_RX
    XV_HdmiRxSs1_HdcpPushEvent(HdmiRxSs1Ptr, XV_HDMIRXSS1_HDCP_HDMI_MODE_EVT);
#endif
  }

  /* DVI mode*/
  else {
#ifdef XV_HDMIRXSS1_LOG_ENABLE
    XV_HdmiRxSs1_LogWrite(HdmiRxSs1Ptr, XV_HDMIRXSS1_LOG_EVT_DVIMODE, 0);
#endif
#ifdef USE_HDCP_RX
    XV_HdmiRxSs1_HdcpPushEvent(HdmiRxSs1Ptr, XV_HDMIRXSS1_HDCP_DVI_MODE_EVT);
#endif
  }
}
/*****************************************************************************/
/**
*
* This function is called when the mode has transitioned from DVI to HDMI or
* vice versa.
*
* @param  None.
*
* @return None.
*
* @note   None.
*
******************************************************************************/
This function is called when the mode has transitioned from DVI to HDMI or
vice versa.
This function is called when the mode has transitioned from DVI to HDMI or vice versa .
static void XV_HdmiRxSs1_ModeCallback(void *CallbackRef)
{
  XV_HdmiRxSs1 *HdmiRxSs1Ptr = (XV_HdmiRxSs1 *)CallbackRef;
  if (XV_HdmiRxSs1_GetVideoStreamType(HdmiRxSs1Ptr)) {
#ifdef XV_HDMIRXSS1_LOG_ENABLE
    XV_HdmiRxSs1_LogWrite(HdmiRxSs1Ptr, XV_HDMIRXSS1_LOG_EVT_HDMIMODE, 0);
#endif
#ifdef USE_HDCP_RX
    XV_HdmiRxSs1_HdcpPushEvent(HdmiRxSs1Ptr, XV_HDMIRXSS1_HDCP_HDMI_MODE_EVT);
#endif
  }
  else {
#ifdef XV_HDMIRXSS1_LOG_ENABLE
    XV_HdmiRxSs1_LogWrite(HdmiRxSs1Ptr, XV_HDMIRXSS1_LOG_EVT_DVIMODE, 0);
#endif
#ifdef USE_HDCP_RX
    XV_HdmiRxSs1_HdcpPushEvent(HdmiRxSs1Ptr, XV_HDMIRXSS1_HDCP_DVI_MODE_EVT);
#endif
  }
}
static void XV_HdmiRxSs1_ModeCallback ( void * CallbackRef ) { XV_HdmiRxSs1 * HdmiRxSs1Ptr = ( XV_HdmiRxSs1 * ) CallbackRef ; if ( XV_HdmiRxSs1_GetVideoStreamType ( HdmiRxSs1Ptr ) ) { #ifdef XV_HDMIRXSS1_LOG_ENABLE XV_HdmiRxSs1_LogWrite ( HdmiRxSs1Ptr , XV_HDMIRXSS1_LOG_EVT_HDMIMODE , 0 ) ; #endif #ifdef USE_HDCP_RX XV_HdmiRxSs1_HdcpPushEvent ( HdmiRxSs1Ptr , XV_HDMIRXSS1_HDCP_HDMI_MODE_EVT ) ; #endif } else { #ifdef XV_HDMIRXSS1_LOG_ENABLE XV_HdmiRxSs1_LogWrite ( HdmiRxSs1Ptr , XV_HDMIRXSS1_LOG_EVT_DVIMODE , 0 ) ; #endif #ifdef USE_HDCP_RX XV_HdmiRxSs1_HdcpPushEvent ( HdmiRxSs1Ptr , XV_HDMIRXSS1_HDCP_DVI_MODE_EVT ) ; #endif } }
This function is called when the mode has transitioned from DVI to HDMI or
vice versa.
This function is called when the mode has transitioned from DVI to HDMI or vice versa .
/* HDMI mode*/ /* DVI mode*/