XilinxProcessorIPLib/drivers/v_hdmirxss/src/xv_hdmirxss.c
static void XV_HdmiRxSs_StreamUpCallback(void *CallbackRef)
{
  XV_HdmiRxSs *HdmiRxSsPtr = (XV_HdmiRxSs *)CallbackRef;

  /* Clear link Status error counters */
  XV_HdmiRx_ClearLinkStatus(HdmiRxSsPtr->HdmiRxPtr);

  /* Set stream up flag */
  HdmiRxSsPtr->IsStreamUp = (TRUE);
#ifdef XV_HDMIRXSS_LOG_ENABLE
  XV_HdmiRxSs_LogWrite(HdmiRxSsPtr, XV_HDMIRXSS_LOG_EVT_STREAMUP, 0);
#endif
#ifdef USE_HDCP_RX
  // Push stream-up event to HDCP event queue
  XV_HdmiRxSs_HdcpPushEvent(HdmiRxSsPtr, XV_HDMIRXSS_HDCP_STREAMUP_EVT);
#endif

  /* Configure Remapper according to HW setting and video format */
  XV_HdmiRxSs_ConfigBridgeMode(HdmiRxSsPtr);

  // Check if user callback has been registered
  if (HdmiRxSsPtr->StreamUpCallback) {
      HdmiRxSsPtr->StreamUpCallback(HdmiRxSsPtr->StreamUpRef);
  }

}
/*****************************************************************************/
/**
*
* This function is called when the RX stream is up.
*
* @param  None.
*
* @return None.
*
* @note   None.
*
******************************************************************************/
This function is called when the RX stream is up.
This function is called when the RX stream is up .
static void XV_HdmiRxSs_StreamUpCallback(void *CallbackRef)
{
  XV_HdmiRxSs *HdmiRxSsPtr = (XV_HdmiRxSs *)CallbackRef;
  XV_HdmiRx_ClearLinkStatus(HdmiRxSsPtr->HdmiRxPtr);
  HdmiRxSsPtr->IsStreamUp = (TRUE);
#ifdef XV_HDMIRXSS_LOG_ENABLE
  XV_HdmiRxSs_LogWrite(HdmiRxSsPtr, XV_HDMIRXSS_LOG_EVT_STREAMUP, 0);
#endif
#ifdef USE_HDCP_RX
  XV_HdmiRxSs_HdcpPushEvent(HdmiRxSsPtr, XV_HDMIRXSS_HDCP_STREAMUP_EVT);
#endif
  XV_HdmiRxSs_ConfigBridgeMode(HdmiRxSsPtr);
  if (HdmiRxSsPtr->StreamUpCallback) {
      HdmiRxSsPtr->StreamUpCallback(HdmiRxSsPtr->StreamUpRef);
  }
}
static void XV_HdmiRxSs_StreamUpCallback ( void * CallbackRef ) { XV_HdmiRxSs * HdmiRxSsPtr = ( XV_HdmiRxSs * ) CallbackRef ; XV_HdmiRx_ClearLinkStatus ( HdmiRxSsPtr -> HdmiRxPtr ) ; HdmiRxSsPtr -> IsStreamUp = ( TRUE ) ; #ifdef XV_HDMIRXSS_LOG_ENABLE XV_HdmiRxSs_LogWrite ( HdmiRxSsPtr , XV_HDMIRXSS_LOG_EVT_STREAMUP , 0 ) ; #endif #ifdef USE_HDCP_RX XV_HdmiRxSs_HdcpPushEvent ( HdmiRxSsPtr , XV_HDMIRXSS_HDCP_STREAMUP_EVT ) ; #endif XV_HdmiRxSs_ConfigBridgeMode ( HdmiRxSsPtr ) ; if ( HdmiRxSsPtr -> StreamUpCallback ) { HdmiRxSsPtr -> StreamUpCallback ( HdmiRxSsPtr -> StreamUpRef ) ; } }
This function is called when the RX stream is up.
This function is called when the RX stream is up .
/* Clear link Status error counters */ /* Set stream up flag */ // Push stream-up event to HDCP event queue /* Configure Remapper according to HW setting and video format */ // Check if user callback has been registered