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

  /* Clear link Status error counters */
  XV_HdmiRx1_ClearLinkStatus(HdmiRxSs1Ptr->HdmiRx1Ptr);

  /* Set stream up flag */
  HdmiRxSs1Ptr->IsStreamUp = (TRUE);
#ifdef XV_HDMIRXSS1_LOG_ENABLE
  XV_HdmiRxSs1_LogWrite(HdmiRxSs1Ptr, XV_HDMIRXSS1_LOG_EVT_STREAMUP, 0);
#endif
#ifdef USE_HDCP_RX
  /* Push stream-up event to HDCP event queue*/
  XV_HdmiRxSs1_HdcpPushEvent(HdmiRxSs1Ptr, XV_HDMIRXSS1_HDCP_STREAMUP_EVT);
#endif

  /* Configure Remapper according to HW setting and video format */
  XV_HdmiRxSs1_ConfigBridgeMode(HdmiRxSs1Ptr);

  /* Check if user callback has been registered*/
  if (HdmiRxSs1Ptr->StreamUpCallback) {
      HdmiRxSs1Ptr->StreamUpCallback(HdmiRxSs1Ptr->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_HdmiRxSs1_StreamUpCallback(void *CallbackRef)
{
  XV_HdmiRxSs1 *HdmiRxSs1Ptr = (XV_HdmiRxSs1 *)CallbackRef;
  XV_HdmiRx1_ClearLinkStatus(HdmiRxSs1Ptr->HdmiRx1Ptr);
  HdmiRxSs1Ptr->IsStreamUp = (TRUE);
#ifdef XV_HDMIRXSS1_LOG_ENABLE
  XV_HdmiRxSs1_LogWrite(HdmiRxSs1Ptr, XV_HDMIRXSS1_LOG_EVT_STREAMUP, 0);
#endif
#ifdef USE_HDCP_RX
  XV_HdmiRxSs1_HdcpPushEvent(HdmiRxSs1Ptr, XV_HDMIRXSS1_HDCP_STREAMUP_EVT);
#endif
  XV_HdmiRxSs1_ConfigBridgeMode(HdmiRxSs1Ptr);
  if (HdmiRxSs1Ptr->StreamUpCallback) {
      HdmiRxSs1Ptr->StreamUpCallback(HdmiRxSs1Ptr->StreamUpRef);
  }
}
static void XV_HdmiRxSs1_StreamUpCallback ( void * CallbackRef ) { XV_HdmiRxSs1 * HdmiRxSs1Ptr = ( XV_HdmiRxSs1 * ) CallbackRef ; XV_HdmiRx1_ClearLinkStatus ( HdmiRxSs1Ptr -> HdmiRx1Ptr ) ; HdmiRxSs1Ptr -> IsStreamUp = ( TRUE ) ; #ifdef XV_HDMIRXSS1_LOG_ENABLE XV_HdmiRxSs1_LogWrite ( HdmiRxSs1Ptr , XV_HDMIRXSS1_LOG_EVT_STREAMUP , 0 ) ; #endif #ifdef USE_HDCP_RX XV_HdmiRxSs1_HdcpPushEvent ( HdmiRxSs1Ptr , XV_HDMIRXSS1_HDCP_STREAMUP_EVT ) ; #endif XV_HdmiRxSs1_ConfigBridgeMode ( HdmiRxSs1Ptr ) ; if ( HdmiRxSs1Ptr -> StreamUpCallback ) { HdmiRxSs1Ptr -> StreamUpCallback ( HdmiRxSs1Ptr -> 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*/