FFmpeg
bwdif.h
Go to the documentation of this file.
1 /*
2  * This file is part of FFmpeg.
3  *
4  * FFmpeg is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * FFmpeg 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 GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with FFmpeg; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17  */
18 
19 #ifndef AVFILTER_BWDIF_H
20 #define AVFILTER_BWDIF_H
21 
22 #include "libavutil/pixdesc.h"
23 #include "avfilter.h"
24 #include "yadif.h"
25 
26 typedef struct BWDIFContext {
28 
29  void (*filter_intra)(void *dst1, void *cur1, int w, int prefs, int mrefs,
30  int prefs3, int mrefs3, int parity, int clip_max);
31  void (*filter_line)(void *dst, void *prev, void *cur, void *next,
32  int w, int prefs, int mrefs, int prefs2, int mrefs2,
33  int prefs3, int mrefs3, int prefs4, int mrefs4,
34  int parity, int clip_max);
35  void (*filter_edge)(void *dst, void *prev, void *cur, void *next,
36  int w, int prefs, int mrefs, int prefs2, int mrefs2,
37  int parity, int clip_max, int spat);
38  void (*filter_line3)(void *dst, int dstride,
39  const void *prev, const void *cur, const void *next, int prefs,
40  int w, int parity, int clip_max);
41 } BWDIFContext;
42 
44 void ff_bwdif_init_x86(BWDIFContext *bwdif, int bit_depth);
46 
47 void ff_bwdif_filter_edge_c(void *dst1, void *prev1, void *cur1, void *next1,
48  int w, int prefs, int mrefs, int prefs2, int mrefs2,
49  int parity, int clip_max, int spat);
50 
51 void ff_bwdif_filter_intra_c(void *dst1, void *cur1, int w, int prefs, int mrefs,
52  int prefs3, int mrefs3, int parity, int clip_max);
53 
54 void ff_bwdif_filter_line_c(void *dst1, void *prev1, void *cur1, void *next1,
55  int w, int prefs, int mrefs, int prefs2, int mrefs2,
56  int prefs3, int mrefs3, int prefs4, int mrefs4,
57  int parity, int clip_max);
58 
59 void ff_bwdif_filter_line3_c(void * dst1, int d_stride,
60  const void * prev1, const void * cur1, const void * next1, int s_stride,
61  int w, int parity, int clip_max);
62 
63 #endif /* AVFILTER_BWDIF_H */
ff_bwdif_init_x86
void ff_bwdif_init_x86(BWDIFContext *bwdif, int bit_depth)
Definition: vf_bwdif_init.c:53
BWDIFContext::filter_edge
void(* filter_edge)(void *dst, void *prev, void *cur, void *next, int w, int prefs, int mrefs, int prefs2, int mrefs2, int parity, int clip_max, int spat)
Definition: bwdif.h:35
ff_bwdif_filter_line_c
void ff_bwdif_filter_line_c(void *dst1, void *prev1, void *cur1, void *next1, int w, int prefs, int mrefs, int prefs2, int mrefs2, int prefs3, int mrefs3, int prefs4, int mrefs4, int parity, int clip_max)
Definition: vf_bwdif.c:132
pixdesc.h
w
uint8_t w
Definition: llviddspenc.c:38
bit_depth
static void bit_depth(AudioStatsContext *s, const uint64_t *const mask, uint8_t *depth)
Definition: af_astats.c:245
BWDIFContext::filter_intra
void(* filter_intra)(void *dst1, void *cur1, int w, int prefs, int mrefs, int prefs3, int mrefs3, int parity, int clip_max)
Definition: bwdif.h:29
ff_bwdif_init_filter_line
void ff_bwdif_init_filter_line(BWDIFContext *bwdif, int bit_depth)
Definition: vf_bwdif.c:390
BWDIFContext::filter_line3
void(* filter_line3)(void *dst, int dstride, const void *prev, const void *cur, const void *next, int prefs, int w, int parity, int clip_max)
Definition: bwdif.h:38
BWDIFContext::filter_line
void(* filter_line)(void *dst, void *prev, void *cur, void *next, int w, int prefs, int mrefs, int prefs2, int mrefs2, int prefs3, int mrefs3, int prefs4, int mrefs4, int parity, int clip_max)
Definition: bwdif.h:31
ff_bwdif_init_aarch64
void ff_bwdif_init_aarch64(BWDIFContext *bwdif, int bit_depth)
Definition: vf_bwdif_init_aarch64.c:110
ff_bwdif_filter_intra_c
void ff_bwdif_filter_intra_c(void *dst1, void *cur1, int w, int prefs, int mrefs, int prefs3, int mrefs3, int parity, int clip_max)
Definition: vf_bwdif.c:122
yadif.h
parity
mcdeint parity
Definition: vf_mcdeint.c:281
ff_bwdif_filter_edge_c
void ff_bwdif_filter_edge_c(void *dst1, void *prev1, void *cur1, void *next1, int w, int prefs, int mrefs, int prefs2, int mrefs2, int parity, int clip_max, int spat)
Definition: vf_bwdif.c:175
YADIFContext
Definition: yadif.h:51
BWDIFContext::yadif
YADIFContext yadif
Definition: bwdif.h:27
BWDIFContext
Definition: bwdif.h:26
avfilter.h
ff_bwdif_filter_line3_c
void ff_bwdif_filter_line3_c(void *dst1, int d_stride, const void *prev1, const void *cur1, const void *next1, int s_stride, int w, int parity, int clip_max)
Definition: vf_bwdif.c:156