Deinterlacer
[Video]

Deinterlacer. More...

Typedefs

typedef struct
gavl_video_deinterlacer_s 
gavl_video_deinterlacer_t
 Opaque deinterlacer structure.

Functions

GAVL_PUBLIC
gavl_video_deinterlacer_t
gavl_video_deinterlacer_create ()
 Create a video deinterlacer.
GAVL_PUBLIC void gavl_video_deinterlacer_destroy (gavl_video_deinterlacer_t *deinterlacer)
 Destroy a video deinterlacer.
GAVL_PUBLIC gavl_video_options_tgavl_video_deinterlacer_get_options (gavl_video_deinterlacer_t *deinterlacer)
 gets options of a deinterlacer
GAVL_PUBLIC int gavl_video_deinterlacer_init (gavl_video_deinterlacer_t *deinterlacer, const gavl_video_format_t *src_format)
 Initialize a video deinterlacer.
GAVL_PUBLIC void gavl_video_deinterlacer_deinterlace (gavl_video_deinterlacer_t *deinterlacer, const gavl_video_frame_t *input_frame, gavl_video_frame_t *output_frame)
 Deinterlace video.

Detailed Description

Deinterlacer.

Deinterlacing is supported either through the gavl_video_converter_t or using a low level deinterlacer


Typedef Documentation

typedef struct gavl_video_deinterlacer_s gavl_video_deinterlacer_t

Opaque deinterlacer structure.

You don't want to know what's inside.


Function Documentation

GAVL_PUBLIC gavl_video_deinterlacer_t* gavl_video_deinterlacer_create (  ) 

Create a video deinterlacer.

Returns:
A newly allocated video deinterlacer
GAVL_PUBLIC void gavl_video_deinterlacer_destroy ( gavl_video_deinterlacer_t deinterlacer  ) 

Destroy a video deinterlacer.

Parameters:
deinterlacer A video deinterlacer
GAVL_PUBLIC gavl_video_options_t* gavl_video_deinterlacer_get_options ( gavl_video_deinterlacer_t deinterlacer  ) 

gets options of a deinterlacer

Parameters:
deinterlacer A video deinterlacer

After you called this, you can use the gavl_video_options_set_*() functions to change the options. Options will become valid with the next call to gavl_video_deinterlacer_init

GAVL_PUBLIC int gavl_video_deinterlacer_init ( gavl_video_deinterlacer_t deinterlacer,
const gavl_video_format_t src_format 
)

Initialize a video deinterlacer.

Parameters:
deinterlacer A video deinterlacer
src_format Input format
Returns:
If something goes wrong (should never happen), -1 is returned.

You should have equal pixelformats in the source and destination. This function can be called multiple times with one instance.

GAVL_PUBLIC void gavl_video_deinterlacer_deinterlace ( gavl_video_deinterlacer_t deinterlacer,
const gavl_video_frame_t input_frame,
gavl_video_frame_t output_frame 
)

Deinterlace video.

Parameters:
deinterlacer A video deinterlacer
input_frame Input frame
output_frame Output frame
Generated on Fri Jun 8 17:27:53 2012 for gavl by  doxygen 1.6.3