XilinxProcessorIPLib/drivers/v_hdmirxss/examples/xhdmi_example/RxOnly/xhdcp.c
int XHdcp_Initialize(XHdcp_Repeater *InstancePtr)
{
  /* Verify arguments */
  Xil_AssertNonvoid(InstancePtr != NULL);

  /* Set default values */
#ifdef XPAR_XV_HDMIRXSS_NUM_INSTANCES
  InstancePtr->UpstreamInstanceBinded = 0;
  InstancePtr->UpstreamInstanceConnected = 0;
  InstancePtr->UpstreamInstanceStreamUp = 0;
#endif

  /* Instance is ready only after upstream and at least one downstream
     has been binded */
  InstancePtr->IsReady = (FALSE);

  return (XST_SUCCESS);
}
/*****************************************************************************/
/**
*
* This function is used to initialize the HDCP repeater instance.
*
* @param    InstancePtr is a pointer to the XHdcp_Repeater instance.
*
* @return   - XST_SUCCESS or XST_FAILURE
*
* @note	    None.
*
******************************************************************************/
This function is used to initialize the HDCP repeater instance.
This function is used to initialize the HDCP repeater instance .
int XHdcp_Initialize(XHdcp_Repeater *InstancePtr)
{
  Xil_AssertNonvoid(InstancePtr != NULL);
#ifdef XPAR_XV_HDMIRXSS_NUM_INSTANCES
  InstancePtr->UpstreamInstanceBinded = 0;
  InstancePtr->UpstreamInstanceConnected = 0;
  InstancePtr->UpstreamInstanceStreamUp = 0;
#endif
  InstancePtr->IsReady = (FALSE);
  return (XST_SUCCESS);
}
int XHdcp_Initialize ( XHdcp_Repeater * InstancePtr ) { Xil_AssertNonvoid ( InstancePtr != NULL ) ; #ifdef XPAR_XV_HDMIRXSS_NUM_INSTANCES InstancePtr -> UpstreamInstanceBinded = 0 ; InstancePtr -> UpstreamInstanceConnected = 0 ; InstancePtr -> UpstreamInstanceStreamUp = 0 ; #endif InstancePtr -> IsReady = ( FALSE ) ; return ( XST_SUCCESS ) ; }
This function is used to initialize the HDCP repeater instance.
This function is used to initialize the HDCP repeater instance .
/* Verify arguments */ /* Set default values */ /* Instance is ready only after upstream and at least one downstream
     has been binded */