v_deinterlacer
Xilinx SDK Drivers API Documentation
V_deinterlacer_v6_2

Data Structures

struct  XV_Deint_l2
 Deinterlacer Layer 2 data. More...
 

Functions

int XV_DeintInitialize (XV_Deint_l2 *InstancePtr, u16 DeviceId)
 This function initializes the core instance. More...
 
void XV_DeintStart (XV_Deint_l2 *InstancePtr)
 This function starts the deinterlacer core. More...
 
void XV_DeintStop (XV_Deint_l2 *InstancePtr)
 This function stops the deinterlacer core. More...
 
int XV_DeintWaitForIdle (XV_Deint_l2 *InstancePtr)
 This function waits for the deinterlacer core to report "idle" status. More...
 
void XV_DeintSetFieldBuffers (XV_Deint_l2 *InstancePtr, u32 memAddr, XVidC_ColorFormat cformat)
 This function sets the deinterlacer cores RD/WR field buffers addresses and color space. More...
 
void XV_DeintDbgReportStatus (XV_Deint_l2 *InstancePtr)
 This function prints Deinterlacer status on console. More...
 

Function Documentation

◆ XV_DeintDbgReportStatus()

void XV_DeintDbgReportStatus ( XV_Deint_l2 InstancePtr)

#include <xv_deinterlacer_l2.c>

This function prints Deinterlacer status on console.

Parameters
InstancePtris the instance pointer to the IP instance.
Returns
None

References XV_deinterlacer_Config::BaseAddress, and XV_deinterlacer::Config.

◆ XV_DeintInitialize()

int XV_DeintInitialize ( XV_Deint_l2 InstancePtr,
u16  DeviceId 
)

#include <xv_deinterlacer_l2.c>

This function initializes the core instance.

Parameters
InstancePtris a pointer to core instance to be worked upon
DeviceIdis instance id of the core
Returns
XST_SUCCESS if device is found and initialized XST_DEVICE_NOT_FOUND if device is not found

◆ XV_DeintSetFieldBuffers()

void XV_DeintSetFieldBuffers ( XV_Deint_l2 InstancePtr,
u32  memAddr,
XVidC_ColorFormat  cformat 
)

#include <xv_deinterlacer_l2.c>

This function sets the deinterlacer cores RD/WR field buffers addresses and color space.

Parameters
InstancePtris a pointer to the core instance to be worked on
memAddris the buffer address in DDR for RD/WR clients
cformatis the input stream color format
Returns
None

◆ XV_DeintStart()

void XV_DeintStart ( XV_Deint_l2 InstancePtr)

#include <xv_deinterlacer_l2.c>

This function starts the deinterlacer core.

Parameters
InstancePtris a pointer to the core instance to be worked on
Returns
None

◆ XV_DeintStop()

void XV_DeintStop ( XV_Deint_l2 InstancePtr)

#include <xv_deinterlacer_l2.c>

This function stops the deinterlacer core.

Parameters
InstancePtris a pointer to the core instance to be worked on
Returns
None

◆ XV_DeintWaitForIdle()

int XV_DeintWaitForIdle ( XV_Deint_l2 InstancePtr)

#include <xv_deinterlacer_l2.c>

This function waits for the deinterlacer core to report "idle" status.

Parameters
InstancePtris a pointer to the core instance to be worked on
Returns
XST_SUCCESS if device becomes idle XST_FAILURE if this routine times out before reading "idle" status
Note
This is intended to be called after XV_DeintStop is called, to wait for all axis and aximm traffic to stop