XilinxProcessorIPLib/drivers/v_hdmitxss1/src/xv_hdmitxss1_hdcp.c
int XV_HdmiTxSs1_HdcpSetCapability(XV_HdmiTxSs1 *InstancePtr,
                                XV_HdmiTxSs1_HdcpProtocol Protocol)
{
  /* Verify argument. */
  Xil_AssertNonvoid(InstancePtr != NULL);
  Xil_AssertNonvoid(Protocol <= XV_HDMITXSS1_HDCP_BOTH);

  /* Set protocol*/
  InstancePtr->HdcpCapability = Protocol;

  return XST_SUCCESS;
}
/*****************************************************************************/
/**
*
* This function sets the HDCP protocol capability used during authentication.
* The protocol capability can be set to either HDCP 1.4, 2.2, Both, or None.
*
* @param InstancePtr is a pointer to the XV_HdmiTxSs1 instance.
* @param Protocol is the desired content protection scheme of type
*        XV_HdmiTxSs1_HdcpProtocol.
*
* @return
*  - XST_SUCCESS if action was successful
*  - XST_FAILURE if action was not successful
*
* @note   None.
*
******************************************************************************/
This function sets the HDCP protocol capability used during authentication.
The protocol capability can be set to either HDCP 1.4, 2.2, Both, or None.
This function sets the HDCP protocol capability used during authentication . The protocol capability can be set to either HDCP 1 . 4 2 . 2 Both or None .
int XV_HdmiTxSs1_HdcpSetCapability(XV_HdmiTxSs1 *InstancePtr,
                                XV_HdmiTxSs1_HdcpProtocol Protocol)
{
  Xil_AssertNonvoid(InstancePtr != NULL);
  Xil_AssertNonvoid(Protocol <= XV_HDMITXSS1_HDCP_BOTH);
  InstancePtr->HdcpCapability = Protocol;
  return XST_SUCCESS;
}
int XV_HdmiTxSs1_HdcpSetCapability ( XV_HdmiTxSs1 * InstancePtr , XV_HdmiTxSs1_HdcpProtocol Protocol ) { Xil_AssertNonvoid ( InstancePtr != NULL ) ; Xil_AssertNonvoid ( Protocol <= XV_HDMITXSS1_HDCP_BOTH ) ; InstancePtr -> HdcpCapability = Protocol ; return XST_SUCCESS ; }
This function sets the HDCP protocol capability used during authentication.
This function sets the HDCP protocol capability used during authentication .
/* Verify argument. */ /* Set protocol*/