XilinxProcessorIPLib/drivers/v_hdmirxss/examples/xhdmi_example/RxOnly/xhdcp.c
static void XHdcp_UpstreamAuthenticatedCallback(void *HdcpInstancePtr)
{
  XHdcp_Repeater *InstancePtr =  (XHdcp_Repeater *)HdcpInstancePtr;
  int HdcpProtocol;

  /* Verify arguments */
  Xil_AssertVoid(InstancePtr != NULL);

  /* xil_printf message */
  HdcpProtocol = XV_HdmiRxSs_HdcpGetProtocol(InstancePtr->UpstreamInstancePtr);
  switch (HdcpProtocol) {
    case XV_HDMIRXSS_HDCP_22:
      xdbg_printf(XDBG_DEBUG_GENERAL, "HDCP 2.2 upstream authenticated\r\n");
      break;
    case XV_HDMIRXSS_HDCP_14:
      xdbg_printf(XDBG_DEBUG_GENERAL, "HDCP 1.4 upstream authenticated\r\n");
      break;
    default : ;
  }

}
/*****************************************************************************/
/**
*
* This function is called when the upstream interface transitions to the
* authenticated state. Low value content output is set for downstream
* interfaces that are not in the authenticated state.
*
* @param    HdcpInstancePtr is a pointer to the XHdcp_Repeater instance.
*
* @return   None.
*
* @note	    None.
*
******************************************************************************/
This function is called when the upstream interface transitions to the
authenticated state. Low value content output is set for downstream
interfaces that are not in the authenticated state.
This function is called when the upstream interface transitions to the authenticated state . Low value content output is set for downstream interfaces that are not in the authenticated state .
static void XHdcp_UpstreamAuthenticatedCallback(void *HdcpInstancePtr)
{
  XHdcp_Repeater *InstancePtr =  (XHdcp_Repeater *)HdcpInstancePtr;
  int HdcpProtocol;
  Xil_AssertVoid(InstancePtr != NULL);
  HdcpProtocol = XV_HdmiRxSs_HdcpGetProtocol(InstancePtr->UpstreamInstancePtr);
  switch (HdcpProtocol) {
    case XV_HDMIRXSS_HDCP_22:
      xdbg_printf(XDBG_DEBUG_GENERAL, "HDCP 2.2 upstream authenticated\r\n");
      break;
    case XV_HDMIRXSS_HDCP_14:
      xdbg_printf(XDBG_DEBUG_GENERAL, "HDCP 1.4 upstream authenticated\r\n");
      break;
    default : ;
  }
}
static void XHdcp_UpstreamAuthenticatedCallback ( void * HdcpInstancePtr ) { XHdcp_Repeater * InstancePtr = ( XHdcp_Repeater * ) HdcpInstancePtr ; int HdcpProtocol ; Xil_AssertVoid ( InstancePtr != NULL ) ; HdcpProtocol = XV_HdmiRxSs_HdcpGetProtocol ( InstancePtr -> UpstreamInstancePtr ) ; switch ( HdcpProtocol ) { case XV_HDMIRXSS_HDCP_22 : xdbg_printf ( XDBG_DEBUG_GENERAL , " \r \n " ) ; break ; case XV_HDMIRXSS_HDCP_14 : xdbg_printf ( XDBG_DEBUG_GENERAL , " \r \n " ) ; break ; default : ; } }
This function is called when the upstream interface transitions to the
authenticated state.
This function is called when the upstream interface transitions to the authenticated state .
/* Verify arguments */ /* xil_printf message */