XilinxProcessorIPLib/drivers/v_hdmirxss/src/xv_hdmirxss_hdcp.c
void XV_HdmiRxSs_HdcpSetInfoDetail(XV_HdmiRxSs *InstancePtr, u8 Verbose)
{
  /* Verify argument. */
  Xil_AssertVoid(InstancePtr != NULL);

  if (Verbose) {
#ifdef XPAR_XHDCP_NUM_INSTANCES
   // HDCP 1.4
   if (InstancePtr->Hdcp14Ptr) {
     XHdcp1x_SetDebugLogMsg(xil_printf);
   }
#endif

#ifdef XPAR_XHDCP22_RX_NUM_INSTANCES
   // HDCP 2.2
   if (InstancePtr->Hdcp22Ptr) {
     XHdcp22Rx_LogReset(InstancePtr->Hdcp22Ptr, TRUE);
   }
#endif
  }

  else {
#ifdef XPAR_XHDCP_NUM_INSTANCES
    // HDCP 1.4
    if (InstancePtr->Hdcp14Ptr) {
      XHdcp1x_SetDebugLogMsg(NULL);
    }
#endif

#ifdef XPAR_XHDCP22_RX_NUM_INSTANCES
    // HDCP 2.2
    if (InstancePtr->Hdcp22Ptr) {
      XHdcp22Rx_LogReset(InstancePtr->Hdcp22Ptr, FALSE);
    }
#endif
  }
}
/*****************************************************************************/
/**
*
* This function sets the HDCP logging level.
*
* @param InstancePtr is a pointer to the XV_HdmiRxSs instance.
* @param Verbose is set to TRUE to enable detailed logging.
*
* @return
*  - XST_SUCCESS if action was successful
*  - XST_FAILURE if action was not successful
*
* @note   None.
*
******************************************************************************/
This function sets the HDCP logging level.
This function sets the HDCP logging level .
void XV_HdmiRxSs_HdcpSetInfoDetail(XV_HdmiRxSs *InstancePtr, u8 Verbose)
{
  Xil_AssertVoid(InstancePtr != NULL);
  if (Verbose) {
#ifdef XPAR_XHDCP_NUM_INSTANCES
   if (InstancePtr->Hdcp14Ptr) {
     XHdcp1x_SetDebugLogMsg(xil_printf);
   }
#endif
#ifdef XPAR_XHDCP22_RX_NUM_INSTANCES
   if (InstancePtr->Hdcp22Ptr) {
     XHdcp22Rx_LogReset(InstancePtr->Hdcp22Ptr, TRUE);
   }
#endif
  }
  else {
#ifdef XPAR_XHDCP_NUM_INSTANCES
    if (InstancePtr->Hdcp14Ptr) {
      XHdcp1x_SetDebugLogMsg(NULL);
    }
#endif
#ifdef XPAR_XHDCP22_RX_NUM_INSTANCES
    if (InstancePtr->Hdcp22Ptr) {
      XHdcp22Rx_LogReset(InstancePtr->Hdcp22Ptr, FALSE);
    }
#endif
  }
}
void XV_HdmiRxSs_HdcpSetInfoDetail ( XV_HdmiRxSs * InstancePtr , u8 Verbose ) { Xil_AssertVoid ( InstancePtr != NULL ) ; if ( Verbose ) { #ifdef XPAR_XHDCP_NUM_INSTANCES if ( InstancePtr -> Hdcp14Ptr ) { XHdcp1x_SetDebugLogMsg ( xil_printf ) ; } #endif #ifdef XPAR_XHDCP22_RX_NUM_INSTANCES if ( InstancePtr -> Hdcp22Ptr ) { XHdcp22Rx_LogReset ( InstancePtr -> Hdcp22Ptr , TRUE ) ; } #endif } else { #ifdef XPAR_XHDCP_NUM_INSTANCES if ( InstancePtr -> Hdcp14Ptr ) { XHdcp1x_SetDebugLogMsg ( NULL ) ; } #endif #ifdef XPAR_XHDCP22_RX_NUM_INSTANCES if ( InstancePtr -> Hdcp22Ptr ) { XHdcp22Rx_LogReset ( InstancePtr -> Hdcp22Ptr , FALSE ) ; } #endif } }
This function sets the HDCP logging level.
This function sets the HDCP logging level .
/* Verify argument. */ // HDCP 1.4 // HDCP 2.2 // HDCP 1.4 // HDCP 2.2