v_vscaler
Vitis Drivers API Documentation
xv_vscaler_l2.h File Reference

Data Structures

struct  XV_Vscaler_l2
 V Scaler Layer 2 data. More...
 

Hw Configuration

The following constants define the scaler HW MAX configuration

#define XV_VSCALER_MAX_V_TAPS   (12)
 
#define XV_VSCALER_MAX_V_PHASES   (64)
 
#define XV_VscalerIs420Enabled(InstancePtr)   ((InstancePtr)->Vsc.Config.Is420Enabled)
 This macro checks if Vscaler instance is enabled for 4:2:0 processing. More...
 
enum  XV_VSCALER_TYPE
 This typedef eumerates the Scaler Type. More...
 
enum  XV_VSCALER_TAPS
 This typedef enumerates the supported taps. More...
 
int XV_VScalerInitialize (XV_Vscaler_l2 *InstancePtr, u16 DeviceId)
 This function initializes the core instance. More...
 
void XV_VScalerStart (XV_Vscaler_l2 *InstancePtr)
 This function starts the vertical scaler core. More...
 
void XV_VScalerStop (XV_Vscaler_l2 *InstancePtr)
 This function stops the vertical scaler core. More...
 
void XV_VScalerLoadExtCoeff (XV_Vscaler_l2 *InstancePtr, u16 num_phases, u16 num_taps, const short *Coeff)
 This function loads user defined filter coefficients in the scaler coefficient storage. More...
 
int XV_VScalerSetup (XV_Vscaler_l2 *InstancePtr, u32 WidthIn, u32 HeightIn, u32 HeightOut, u32 ColorFormat)
 This function configures the scaler core registers with the specified configuration parameters of the axi stream. More...
 
void XV_VScalerDbgReportStatus (XV_Vscaler_l2 *InstancePtr)
 This function prints V Scaler status on the console. More...