XilinxProcessorIPLib/drivers/v_vscaler/src/xv_vscaler_l2.c
int XV_VScalerInitialize(XV_Vscaler_l2 *InstancePtr, u16 DeviceId)
{
  int Status;
  Xil_AssertNonvoid(InstancePtr != NULL);

  /* Setup the instance */
  memset(InstancePtr, 0, sizeof(XV_Vscaler_l2));
  Status = XV_vscaler_Initialize(&InstancePtr->Vsc, DeviceId);

  return(Status);
}
/*****************************************************************************/
/**
* This function initializes the core instance
*
* @param  InstancePtr is a pointer to core instance to be worked upon
* @param  DeviceId is instance id of the core
*
* @return XST_SUCCESS if device is found and initialized
*         XST_DEVICE_NOT_FOUND if device is not found
*
******************************************************************************/
This function initializes the core instance
This function initializes the core instance
int XV_VScalerInitialize(XV_Vscaler_l2 *InstancePtr, u16 DeviceId)
{
  int Status;
  Xil_AssertNonvoid(InstancePtr != NULL);
  memset(InstancePtr, 0, sizeof(XV_Vscaler_l2));
  Status = XV_vscaler_Initialize(&InstancePtr->Vsc, DeviceId);
  return(Status);
}
int XV_VScalerInitialize ( XV_Vscaler_l2 * InstancePtr , u16 DeviceId ) { int Status ; Xil_AssertNonvoid ( InstancePtr != NULL ) ; memset ( InstancePtr , 0 , sizeof ( XV_Vscaler_l2 ) ) ; Status = XV_vscaler_Initialize ( & InstancePtr -> Vsc , DeviceId ) ; return ( Status ) ; }
This function initializes the core instance
This function initializes the core instance
/* Setup the instance */