XilinxProcessorIPLib/drivers/v_hdmitxss1/src/xv_hdmitxss1_hdcp.c
u8 XV_HdmiTxSs1_IsSinkHdcp14Capable(XV_HdmiTxSs1 *InstancePtr)
{
  /* Verify argument. */
  Xil_AssertNonvoid(InstancePtr != NULL);

#ifdef XPAR_XHDCP_NUM_INSTANCES
  if (InstancePtr->Hdcp14Ptr) {
    if (XHdcp1x_IsDwnstrmCapable(InstancePtr->Hdcp14Ptr)) {
      return TRUE;
    }
    else {
      return FALSE;
    }
  }
  else {
    return FALSE;
  }
#endif

  return FALSE;
}
/*****************************************************************************/
/**
*
* This function determines if the connected HDMI sink is HDCP 1.4 capable
*
* @param InstancePtr is a pointer to the XV_HdmiTxSs1 instance.
*
* @return
*  - TRUE if sink is HDCP 1.4 capable and ready to authenticate.
*  - FALSE if sink does not support HDCP 1.4 or is not ready.
*
******************************************************************************/
This function determines if the connected HDMI sink is HDCP 1.4 capable
This function determines if the connected HDMI sink is HDCP 1 . 4 capable
u8 XV_HdmiTxSs1_IsSinkHdcp14Capable(XV_HdmiTxSs1 *InstancePtr)
{
  Xil_AssertNonvoid(InstancePtr != NULL);
#ifdef XPAR_XHDCP_NUM_INSTANCES
  if (InstancePtr->Hdcp14Ptr) {
    if (XHdcp1x_IsDwnstrmCapable(InstancePtr->Hdcp14Ptr)) {
      return TRUE;
    }
    else {
      return FALSE;
    }
  }
  else {
    return FALSE;
  }
#endif
  return FALSE;
}
u8 XV_HdmiTxSs1_IsSinkHdcp14Capable ( XV_HdmiTxSs1 * InstancePtr ) { Xil_AssertNonvoid ( InstancePtr != NULL ) ; #ifdef XPAR_XHDCP_NUM_INSTANCES if ( InstancePtr -> Hdcp14Ptr ) { if ( XHdcp1x_IsDwnstrmCapable ( InstancePtr -> Hdcp14Ptr ) ) { return TRUE ; } else { return FALSE ; } } else { return FALSE ; } #endif return FALSE ; }
This function determines if the connected HDMI sink is HDCP 1.4 capable
This function determines if the connected HDMI sink is HDCP 1 . 4 capable
/* Verify argument. */