FFmpeg
Data Structures | Enumerations | Functions | Variables
yadif.h File Reference
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "ccfifo.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)
 
int ff_yadif_config_output_common (AVFilterLink *outlink)
 
void ff_yadif_uninit (AVFilterContext *ctx)
 

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 27 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 34 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 40 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 45 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 104 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 184 of file yadif_common.c.

◆ ff_yadif_config_output_common()

int ff_yadif_config_output_common ( AVFilterLink outlink)

Definition at line 218 of file yadif_common.c.

Referenced by bwdif_vulkan_config_output(), config_output(), and config_props().

◆ ff_yadif_uninit()

void ff_yadif_uninit ( AVFilterContext ctx)

Definition at line 258 of file yadif_common.c.

Referenced by bwdif_vulkan_uninit(), and deint_cuda_uninit().

Variable Documentation

◆ ff_yadif_options

const AVOption ff_yadif_options[]

Definition at line 273 of file yadif_common.c.