XilinxProcessorIPLib/drivers/v_hdmitxss1/src/xv_hdmitxss1_hdcp.c
void XV_HdmiTxSs1_HdcpSetContentStreamType(XV_HdmiTxSs1 *InstancePtr,
       XV_HdmiTxSs1_HdcpContentStreamType StreamType)
{
  /* Verify argument. */
  Xil_AssertVoid(InstancePtr != NULL);
  Xil_AssertVoid(StreamType <= XV_HDMITXSS1_HDCP_STREAMTYPE_1);

  switch (InstancePtr->HdcpProtocol)
  {
    /* HDCP 1.4*/
    case XV_HDMITXSS1_HDCP_14:
      break;

#ifdef XPAR_XHDCP22_TX_NUM_INSTANCES
    /* HDCP 2.2*/
    case XV_HDMITXSS1_HDCP_22:
      if (InstancePtr->Hdcp22Ptr) {
        XHdcp22Tx_SetContentStreamType(InstancePtr->Hdcp22Ptr,
                                       (XHdcp22_Tx_ContentStreamType) StreamType);
      }
      break;
#endif

    default:
      break;
  }
}
/*****************************************************************************/
/**
*
* This function sets the HDCP repeater content stream management type.
*
* @param InstancePtr is a pointer to the XV_HdmiTxSs1 instance.
*
* @return None.
*
* @note   None.
*
******************************************************************************/
This function sets the HDCP repeater content stream management type.
This function sets the HDCP repeater content stream management type .
void XV_HdmiTxSs1_HdcpSetContentStreamType(XV_HdmiTxSs1 *InstancePtr,
       XV_HdmiTxSs1_HdcpContentStreamType StreamType)
{
  Xil_AssertVoid(InstancePtr != NULL);
  Xil_AssertVoid(StreamType <= XV_HDMITXSS1_HDCP_STREAMTYPE_1);
  switch (InstancePtr->HdcpProtocol)
  {
    case XV_HDMITXSS1_HDCP_14:
      break;
#ifdef XPAR_XHDCP22_TX_NUM_INSTANCES
    case XV_HDMITXSS1_HDCP_22:
      if (InstancePtr->Hdcp22Ptr) {
        XHdcp22Tx_SetContentStreamType(InstancePtr->Hdcp22Ptr,
                                       (XHdcp22_Tx_ContentStreamType) StreamType);
      }
      break;
#endif
    default:
      break;
  }
}
void XV_HdmiTxSs1_HdcpSetContentStreamType ( XV_HdmiTxSs1 * InstancePtr , XV_HdmiTxSs1_HdcpContentStreamType StreamType ) { Xil_AssertVoid ( InstancePtr != NULL ) ; Xil_AssertVoid ( StreamType <= XV_HDMITXSS1_HDCP_STREAMTYPE_1 ) ; switch ( InstancePtr -> HdcpProtocol ) { case XV_HDMITXSS1_HDCP_14 : break ; #ifdef XPAR_XHDCP22_TX_NUM_INSTANCES case XV_HDMITXSS1_HDCP_22 : if ( InstancePtr -> Hdcp22Ptr ) { XHdcp22Tx_SetContentStreamType ( InstancePtr -> Hdcp22Ptr , ( XHdcp22_Tx_ContentStreamType ) StreamType ) ; } break ; #endif default : break ; } }
This function sets the HDCP repeater content stream management type.
This function sets the HDCP repeater content stream management type .
/* Verify argument. */ /* HDCP 1.4*/ /* HDCP 2.2*/