yadif.h
Go to the documentation of this file.
1 /*
2  * This file is part of Libav.
3  *
4  * Libav is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * Libav is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License along
15  * with Libav; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17  */
18 
19 #ifndef AVFILTER_YADIF_H
20 #define AVFILTER_YADIF_H
21 
22 #include "libavutil/pixdesc.h"
23 #include "avfilter.h"
24 
25 typedef struct YADIFContext {
32  int mode;
33 
39  int parity;
40 
42 
48 
55  int w, int prefs, int mrefs, int parity, int mode);
56 
58  int eof;
59 } YADIFContext;
60 
61 void ff_yadif_init_x86(YADIFContext *yadif);
62 
63 #endif /* AVFILTER_YADIF_H */
int frame_pending
Definition: yadif.h:41
AVFilterBufferRef * cur
Definition: yadif.h:49
void ff_yadif_init_x86(YADIFContext *yadif)
Definition: yadif.c:58
uint8_t
void(* filter_line)(uint8_t *dst, uint8_t *prev, uint8_t *cur, uint8_t *next, int w, int prefs, int mrefs, int parity, int mode)
Definition: yadif.h:53
AVFilterBufferRef * out
Definition: yadif.h:52
AVFilterBufferRef * prev
Definition: yadif.h:51
int auto_enable
0: deinterlace all frames 1: only deinterlace frames marked as interlaced
Definition: yadif.h:47
int eof
Definition: yadif.h:58
A reference to an AVFilterBuffer.
Definition: avfilter.h:139
Descriptor that unambiguously describes how the bits of a pixel are stored in the up to 4 data planes...
Definition: pixdesc.h:55
static void(WINAPI *cond_broadcast)(pthread_cond_t *cond)
int parity
0: top field first 1: bottom field first -1: auto-detection
Definition: yadif.h:39
const AVPixFmtDescriptor * csp
Definition: yadif.h:57
AVFilterBufferRef * next
Definition: yadif.h:50
struct YADIFContext YADIFContext
int mode
0: send 1 frame for each frame 1: send 1 frame for each field 2: like 0 but skips spatial interlacing...
Definition: yadif.h:32