FFmpeg
Data Structures | Enumerations | Functions | Variables
yadif.h File Reference
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"

Go to the source code of this file.

Data Structures

struct  YADIFContext
 

Enumerations

enum  YADIFMode { YADIF_MODE_SEND_FRAME = 0, YADIF_MODE_SEND_FIELD = 1, YADIF_MODE_SEND_FRAME_NOSPATIAL = 2, YADIF_MODE_SEND_FIELD_NOSPATIAL = 3 }
 
enum  YADIFParity { YADIF_PARITY_TFF = 0, YADIF_PARITY_BFF = 1, YADIF_PARITY_AUTO = -1 }
 
enum  YADIFDeint { YADIF_DEINT_ALL = 0, YADIF_DEINT_INTERLACED = 1 }
 
enum  YADIFCurrentField { YADIF_FIELD_BACK_END = -1, YADIF_FIELD_END = 0, YADIF_FIELD_NORMAL = 1 }
 

Functions

void ff_yadif_init_x86 (YADIFContext *yadif)
 
int ff_yadif_filter_frame (AVFilterLink *link, AVFrame *frame)
 
int ff_yadif_request_frame (AVFilterLink *link)
 

Variables

const AVOption ff_yadif_options []
 

Enumeration Type Documentation

◆ YADIFMode

enum YADIFMode
Enumerator
YADIF_MODE_SEND_FRAME 

send 1 frame for each frame

YADIF_MODE_SEND_FIELD 

send 1 frame for each field

YADIF_MODE_SEND_FRAME_NOSPATIAL 

send 1 frame for each frame but skips spatial interlacing check

YADIF_MODE_SEND_FIELD_NOSPATIAL 

send 1 frame for each field but skips spatial interlacing check

Definition at line 26 of file yadif.h.

◆ YADIFParity

Enumerator
YADIF_PARITY_TFF 

top field first

YADIF_PARITY_BFF 

bottom field first

YADIF_PARITY_AUTO 

auto detection

Definition at line 33 of file yadif.h.

◆ YADIFDeint

enum YADIFDeint
Enumerator
YADIF_DEINT_ALL 

deinterlace all frames

YADIF_DEINT_INTERLACED 

only deinterlace frames marked as interlaced

Definition at line 39 of file yadif.h.

◆ YADIFCurrentField

Enumerator
YADIF_FIELD_BACK_END 

The last frame in a sequence.

YADIF_FIELD_END 

The first or last field in a sequence.

YADIF_FIELD_NORMAL 

A normal field in the middle of a sequence.

Definition at line 44 of file yadif.h.

Function Documentation

◆ ff_yadif_init_x86()

void ff_yadif_init_x86 ( YADIFContext yadif)

Definition at line 50 of file vf_yadif_init.c.

Referenced by config_output().

◆ ff_yadif_filter_frame()

int ff_yadif_filter_frame ( AVFilterLink link,
AVFrame frame 
)

Definition at line 92 of file yadif_common.c.

Referenced by ff_yadif_request_frame().

◆ ff_yadif_request_frame()

int ff_yadif_request_frame ( AVFilterLink link)

Definition at line 159 of file yadif_common.c.

Variable Documentation

◆ ff_yadif_options

const AVOption ff_yadif_options[]

Definition at line 198 of file yadif_common.c.