diff options
author | Jerome Borsboom <jerome.borsboom@carpalis.nl> | 2018-06-20 13:11:07 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2018-06-29 01:18:44 +0200 |
commit | 975a1a81b28dc632d7c4bee99d5eccf09b9603d8 (patch) | |
tree | ce277ae7d5fa07da76935cb4a8cb8096b8889457 /libavcodec/vc1dsp.h | |
parent | f92e95e9b5afd7d4a28db53d086876aa0df8625b (diff) | |
download | ffmpeg-975a1a81b28dc632d7c4bee99d5eccf09b9603d8.tar.gz |
avcodec/vc1: fix overlap filter for frame interlaced pictures
The overlap filter is not correct for vertical edges in frame interlaced
I and P pictures. When filtering macroblocks with different FIELDTX values,
we have to match the lines at both sides of the vertical border. In addition,
we have to use the correct rounding values, depending on the line we are
filtering.
Signed-off-by: Jerome Borsboom <jerome.borsboom@carpalis.nl>
Diffstat (limited to 'libavcodec/vc1dsp.h')
-rw-r--r-- | libavcodec/vc1dsp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vc1dsp.h b/libavcodec/vc1dsp.h index 16b3528a75..75db62b1b4 100644 --- a/libavcodec/vc1dsp.h +++ b/libavcodec/vc1dsp.h @@ -45,7 +45,7 @@ typedef struct VC1DSPContext { void (*vc1_v_overlap)(uint8_t *src, int stride); void (*vc1_h_overlap)(uint8_t *src, int stride); void (*vc1_v_s_overlap)(int16_t *top, int16_t *bottom); - void (*vc1_h_s_overlap)(int16_t *left, int16_t *right); + void (*vc1_h_s_overlap)(int16_t *left, int16_t *right, int left_stride, int right_stride, int flags); void (*vc1_v_loop_filter4)(uint8_t *src, int stride, int pq); void (*vc1_h_loop_filter4)(uint8_t *src, int stride, int pq); void (*vc1_v_loop_filter8)(uint8_t *src, int stride, int pq); |