Main Page
Related Pages
Modules
Data Structures
Files
Examples
File List
Globals
libavfilter
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
41
int
frame_pending
;
42
47
int
auto_enable
;
48
49
AVFilterBufferRef
*
cur
;
50
AVFilterBufferRef
*
next
;
51
AVFilterBufferRef
*
prev
;
52
AVFilterBufferRef
*
out
;
53
void
(*
filter_line
)(
uint8_t
*dst,
54
uint8_t
*
prev
,
uint8_t
*
cur
,
uint8_t
*
next
,
55
int
w,
int
prefs,
int
mrefs,
int
parity
,
int
mode
);
56
57
const
AVPixFmtDescriptor
*
csp
;
58
int
eof
;
59
}
YADIFContext
;
60
61
void
ff_yadif_init_x86
(
YADIFContext
*yadif);
62
63
#endif
/* AVFILTER_YADIF_H */