v_deinterlacer
Vitis Drivers API Documentation
Overview

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, u64 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

int XV_DeintInitialize ( XV_Deint_l2 InstancePtr,
u16  DeviceId 
)

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

References XV_deinterlacer_Initialize().

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

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

References XV_deinterlacer_Set_colorFormat(), XV_deinterlacer_Set_read_fb(), and XV_deinterlacer_Set_write_fb().

void XV_DeintStart ( XV_Deint_l2 InstancePtr)

This function starts the deinterlacer core.

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

References XV_deinterlacer_EnableAutoRestart(), and XV_deinterlacer_Start().

void XV_DeintStop ( XV_Deint_l2 InstancePtr)

This function stops the deinterlacer core.

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

References XV_deinterlacer_DisableAutoRestart().

int XV_DeintWaitForIdle ( XV_Deint_l2 InstancePtr)

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

References XV_deinterlacer_IsIdle().