diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-02-16 12:03:58 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-02-16 12:09:38 +0400 |
commit | 446f7c62a2d1358a276212300d09f9af88f9a228 (patch) | |
tree | dd764077643dfd0d023a94cd82cee99823d97ebb /libavfilter/yadif.h | |
parent | fab8a89abeae6bab5d2556d0116ca270ff6da5ed (diff) | |
parent | 64ed397635ef2666b0ca0c8d8c60a8bc44581d82 (diff) |
Merge commit '64ed397635ef2666b0ca0c8d8c60a8bc44581d82'
* commit '64ed397635ef2666b0ca0c8d8c60a8bc44581d82':
vf_yadif: fix out-of line reads
Conflicts:
libavfilter/vf_yadif.c
tests/ref/fate/filter-yadif-mode0
tests/ref/fate/filter-yadif-mode1
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/yadif.h')
-rw-r--r-- | libavfilter/yadif.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavfilter/yadif.h b/libavfilter/yadif.h index b7e8852660..50fc856bf2 100644 --- a/libavfilter/yadif.h +++ b/libavfilter/yadif.h @@ -53,9 +53,17 @@ typedef struct YADIFContext { AVFilterBufferRef *next; AVFilterBufferRef *prev; AVFilterBufferRef *out; + + /** + * Required alignment for filter_line + */ + int req_align; void (*filter_line)(void *dst, void *prev, void *cur, void *next, int w, int prefs, int mrefs, int parity, int mode); + void (*filter_edges)(void *dst, void *prev, void *cur, void *next, + int w, int prefs, int mrefs, int parity, int mode, + int l_edge); const AVPixFmtDescriptor *csp; int eof; |