scaler
Xilinx SDK Drivers API Documentation
Data Structures | Typedefs | Functions
xscaler.h File Reference

Data Structures

struct  XScaler_Config
 
struct  XScaler
 
struct  XScalerAperture
 
struct  XScalerCoeffBank
 
struct  XScalerStartFraction
 

Macros

Minimum and Maximum Tap Numbers
Minimum and Maximum Phase Numbers
Coefficient Precision
Maximum Coefficient Set Number
The number of coefficient Bins
The size of a coefficient Bin in 16-bit integers.
Shrink factor constants
Macros for operating a Scaler device
#define XScaler_Enable(InstancePtr)
 
#define XScaler_Disable(InstancePtr)
 
#define XScaler_IsEnabled(InstancePtr)
 
#define XScaler_CheckDone(InstancePtr)
 
#define XScaler_EnableRegUpdate(InstancePtr)
 
#define XScaler_DisableRegUpdate(InstancePtr)
 
#define XScaler_CoeffLoadReady(InstancePtr)
 
#define XScaler_GetError(InstancePtr)   XScaler_ReadReg((InstancePtr)->Config.BaseAddress, (XSCL_ERROR_OFFSET))
 
#define XScaler_Reset(InstancePtr)
 
#define XScaler_IsResetDone(InstancePtr)
 
#define XScaler_TriangularNumber(N)   ((N) * ((N) + 1) / 2)
 
#define XScaler_CoefTapOffset(Tap)
 
#define XScaler_CoefPhaseOffset(Tap, Phase)
 
#define XScaler_IntrEnable(InstancePtr)
 
#define XScaler_IntrDisable(InstancePtr)
 
#define XScaler_IntrClear(InstancePtr)
 

Typedefs

typedef void(* XScaler_CallBack) (void *CallBackRef)
 

Functions

int XScaler_CfgInitialize (XScaler *InstancePtr, XScaler_Config *CfgPtr, u32 EffectiveAddr)
 
int XScaler_SetAperture (XScaler *InstancePtr, XScalerAperture *AperturePtr)
 
void XScaler_GetAperture (XScaler *InstancePtr, XScalerAperture *AperturePtr)
 
void XScaler_SetPhaseNum (XScaler *InstancePtr, u16 VertPhaseNum, u16 HoriPhaseNum)
 
void XScaler_GetPhaseNum (XScaler *InstancePtr, u16 *VertPhaseNumPtr, u16 *HoriPhaseNumPtr)
 
void XScaler_SetStartFraction (XScaler *InstancePtr, XScalerStartFraction *StartFractionPtr)
 
void XScaler_GetStartFraction (XScaler *InstancePtr, XScalerStartFraction *StartFractionPtr)
 
s16 * XScaler_CoefValueLookup (u32 InSize, u32 OutSize, u32 Tap, u32 Phase)
 
void XScaler_LoadCoeffBank (XScaler *InstancePtr, XScalerCoeffBank *CoeffBankPtr)
 
void XScaler_SetActiveCoeffSet (XScaler *InstancePtr, u8 VertSetIndex, u8 HoriSetIndex)
 
void XScaler_GetActiveCoeffSet (XScaler *InstancePtr, u8 *VertSetIndexPtr, u8 *HoriSetIndexPtr)
 
void XScaler_GetCoeffBankSharingInfo (XScaler *InstancePtr, u8 *ChromaFormat, u8 *ChromaLumaShareCoeff, u8 *HoriVertShareCoeff)
 
u32 XScaler_GetVersion (XScaler *InstancePtr)
 
XScaler_ConfigXScaler_LookupConfig (u16 DeviceId)
 
void XScaler_IntrHandler (void *InstancePtr)
 
void XScaler_SetCallBack (XScaler *InstancePtr, void *CallBackFunc, void *CallBackRef)