deinterlacer
Xilinx SDK Drivers API Documentation
xdeint.h File Reference

Data Structures

struct  XDeint_Config
 Deinterlacer core configuration structure. More...
 
struct  XDeint
 The XDeint driver instance data. More...
 

Macros

#define XDEINT_H
 Prevent circular inclusions by using protection macros. More...
 
#define XDeint_Enable(InstancePtr)
 This macro enables the Deinterlacer algorithms. More...
 
#define XDeint_Disable(InstancePtr)
 This macro disables the Deinterlacer algorithms. More...
 
#define XDeint_Start(InstancePtr)
 This macro enables the Deinterlacer core to accept video. More...
 
#define XDeint_Stop(InstancePtr)
 This macro halts the Deinterlacer core on the next frame boundary. More...
 
#define XDeint_Reset(InstancePtr)
 This macro soft resets the Deinterlacer to its default mode. More...
 
#define XDeint_InReset(InstancePtr)
 This macro returns the current soft-reset state. More...
 
#define XDeint_RegUpdateReq(InstancePtr)
 This macro tells the Deinterlacer core to pick up all the register value changes made so far by the software at the next frame boundary. More...
 
#define XDeint_IntrEnable(InstancePtr, IntrType)
 This macro enables the given individual interrupt(s) on the Deinterlacer core. More...
 
#define XDeint_IntrDisable(InstancePtr, IntrType)
 This macro disables the given individual interrupt(s) on the Deinterlacer core. More...
 
#define XDeint_IntrGetPending(InstancePtr)
 This macro returns the pending interrupts of the Deinterlacer core. More...
 
#define XDeint_IntrClear(InstancePtr, IntrType)
 This macro clears/acknowledges pending interrupts of the Deinterlacer core. More...
 
#define XDeint_SetRGB(InstancePtr)
 This macro sets the Deinterlacer's color space to RGB. More...
 
#define XDeint_SetYUV(InstancePtr)
 This macro sets the Deinterlacer's color space to YUV. More...
 
#define XDeint_SetAlgorithm(InstancePtr, Alg)
 This macro sets the Deinterlacer's processing algorithm. More...
 
#define XDeint_GetColorSpace(InstancePtr)
 This macro gets the Deinterlacer's color space. More...
 
#define XDeint_GetAlgorithm(InstancePtr)
 This macro gets the Deinterlacer's processing algorithm. More...
 
Interrupt types for setting up callbacks
#define XDEINT_HANDLER
 Internal Register update done. More...
 

Typedefs

typedef void(* XDeint_CallBack )(u32 status)
 Callback type for all interrupts. More...
 

Functions

int XDeint_ConfigInitialize (XDeint *InstancePtr, XDeint_Config *CfgPtr, u32 EffectiveAddr)
 This function initializes the Deinterlacer core. More...
 
XDeint_ConfigXDeint_LookupConfig (u16 DeviceId)
 This function returns a reference to an XDeint_Config structure based on the unique device id, DeviceId. More...
 
void XDeint_SetFramestore (XDeint *InstancePtr, u32 FieldAddr1, u32 FieldAddr2, u32 FieldAddr3, u32 FrameSize)
 This function sets the input field buffer addresses of the Deinterlacer core. More...
 
void XDeint_SetSize (XDeint *InstancePtr, u32 Width, u32 Height)
 This function sets the input frame size of the Deinterlacer core. More...
 
void XDeint_SetPulldown (XDeint *InstancePtr, u32 Enable_32, u32 Enable_22)
 This function sets the pull down controller of the Deinterlacer core. More...
 
void XDeint_SetThresholds (XDeint *InstancePtr, u32 ThresholdT1, u32 ThresholdT2)
 This function sets the threshold used by the motion adaptive kernel of the Deinterlacer core. More...
 
void XDeint_SetVideo (XDeint *InstancePtr, u32 Packing, u32 Color, u32 Order, u32 PSF)
 This function sets the video format of the Deinterlacer core. More...
 
void XDeint_IntrHandler (void *InstancePtr)
 This function is the interrupt handler for the Deinterlacer core. More...
 
int XDeint_SetCallBack (XDeint *InstancePtr, void *CallBackFunc)
 This routine installs an asynchronous callback function. More...
 
void XDeint_GetVideo (XDeint *InstancePtr, u32 *Packing, u32 *Color, u32 *Order, u32 *PSF)
 This function gets the video format of the Deinterlacer core. More...
 
void XDeint_GetPulldown (XDeint *InstancePtr, u32 *Enable_32, u32 *Enable_22)
 This function gets the pull down controller of the Deinterlacer core. More...
 
void XDeint_GetSize (XDeint *InstancePtr, u32 *Width, u32 *Height)
 This function gets the input frame size of the Deinterlacer core. More...
 
void XDeint_GetThresholds (XDeint *InstancePtr, u32 *ThresholdT1, u32 *ThresholdT2)
 This function gets the threshold used by the motion adaptive kernel. More...
 
void XDeint_GetFramestore (XDeint *InstancePtr, u32 *FieldAddr1, u32 *FieldAddr2, u32 *FieldAddr3, u32 *FrameSize)
 This function gets input field buffer addresses of an Deinterlacer core. More...
 
u32 XDeint_GetVersion (XDeint *InstancePtr)
 This function returns the contents of Version register. More...
 
int XDeint_Selftest (XDeint *InstancePtr)
 This function reads Version register of Deinterlacer core and compares with zero as part of self test. More...