XilinxProcessorIPLib/drivers/v_hdmirxss/src/xv_hdmirxss_hdcp.c
int XV_HdmiRxSs_HdcpIsRepeater(XV_HdmiRxSs *InstancePtr)
{
  /* Verify argument. */
  Xil_AssertNonvoid(InstancePtr != NULL);

  int Status = (int)FALSE;

  switch (InstancePtr->HdcpProtocol)
  {
#ifdef XPAR_XHDCP_NUM_INSTANCES
    // HDCP 1.4
    case XV_HDMIRXSS_HDCP_14:
      if (InstancePtr->Hdcp14Ptr) {
        Status = XHdcp1x_IsRepeater(InstancePtr->Hdcp14Ptr);
      }
      break;
#endif

#ifdef XPAR_XHDCP22_RX_NUM_INSTANCES
    // HDCP 2.2
    case XV_HDMIRXSS_HDCP_22:
      if (InstancePtr->Hdcp22Ptr) {
        Status = XHdcp22Rx_IsRepeater(InstancePtr->Hdcp22Ptr);
      }
      break;
#endif

    default:
      Status = (int)FALSE;
  }

  return Status;
}
/*****************************************************************************/
/**
*
* This function checks if the HDMI receiver is an HDCP repeater
* upstream interface for the active protocol.
*
* @param InstancePtr is a pointer to the XV_HdmiRxSs instance.
*
* @return
*   - TRUE if repeater upstream interface.
*   - FALSE if not repeater upstream interface.
*
* @note   None.
*
******************************************************************************/
This function checks if the HDMI receiver is an HDCP repeater
upstream interface for the active protocol.
This function checks if the HDMI receiver is an HDCP repeater upstream interface for the active protocol .
int XV_HdmiRxSs_HdcpIsRepeater(XV_HdmiRxSs *InstancePtr)
{
  Xil_AssertNonvoid(InstancePtr != NULL);
  int Status = (int)FALSE;
  switch (InstancePtr->HdcpProtocol)
  {
#ifdef XPAR_XHDCP_NUM_INSTANCES
    case XV_HDMIRXSS_HDCP_14:
      if (InstancePtr->Hdcp14Ptr) {
        Status = XHdcp1x_IsRepeater(InstancePtr->Hdcp14Ptr);
      }
      break;
#endif
#ifdef XPAR_XHDCP22_RX_NUM_INSTANCES
    case XV_HDMIRXSS_HDCP_22:
      if (InstancePtr->Hdcp22Ptr) {
        Status = XHdcp22Rx_IsRepeater(InstancePtr->Hdcp22Ptr);
      }
      break;
#endif
    default:
      Status = (int)FALSE;
  }
  return Status;
}
int XV_HdmiRxSs_HdcpIsRepeater ( XV_HdmiRxSs * InstancePtr ) { Xil_AssertNonvoid ( InstancePtr != NULL ) ; int Status = ( int ) FALSE ; switch ( InstancePtr -> HdcpProtocol ) { #ifdef XPAR_XHDCP_NUM_INSTANCES case XV_HDMIRXSS_HDCP_14 : if ( InstancePtr -> Hdcp14Ptr ) { Status = XHdcp1x_IsRepeater ( InstancePtr -> Hdcp14Ptr ) ; } break ; #endif #ifdef XPAR_XHDCP22_RX_NUM_INSTANCES case XV_HDMIRXSS_HDCP_22 : if ( InstancePtr -> Hdcp22Ptr ) { Status = XHdcp22Rx_IsRepeater ( InstancePtr -> Hdcp22Ptr ) ; } break ; #endif default : Status = ( int ) FALSE ; } return Status ; }
This function checks if the HDMI receiver is an HDCP repeater
upstream interface for the active protocol.
This function checks if the HDMI receiver is an HDCP repeater upstream interface for the active protocol .
/* Verify argument. */ // HDCP 1.4 // HDCP 2.2