ffmpeg/tests
Nekopanda f4d5d7e8de avcodec/mpeg2dec: Fix motion vector rounding for chroma components
In 16x8 motion compensation, for lower 16x8 region, the input to mpeg_motion() for motion_y was "motion_y + 16", which causes wrong rounding. For 4:2:0, chroma scaling for y is dividing by two and rounding toward zero. When motion_y < 0 and motion_y + 16 > 0, the rounding direction of "motion_y" and "motion_y + 16" is different and rounding "motion_y + 16" would be incorrect.

We should input "motion_y" as is to round correctly. I add "is_16x8" flag to do that.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-02-11 12:04:47 +01:00
..
api
checkasm checkasm/Makefile: add EXTRALIBS-swresample 2018-02-09 17:50:44 +07:00
fate fate: add id3v2 test 2018-02-02 12:16:56 -03:00
filtergraphs
ref avcodec/mpeg2dec: Fix motion vector rounding for chroma components 2018-02-11 12:04:47 +01:00
.gitignore
audiogen.c
audiomatch.c tests/audiomatch: Add missing return code at the end of main() 2017-12-19 21:32:04 +01:00
base64.c
copycooker.sh
extended.ffconcat
fate-run.sh fate: add id3v2 test 2018-02-02 12:16:56 -03:00
fate-valgrind.supp
fate.sh
lavf-regression.sh
Makefile fate: add id3v2 test 2018-02-02 12:16:56 -03:00
md5.sh
refcmp-metadata.awk
reference.pnm
regression-funcs.sh
rotozoom.c
simple1.ffconcat
simple2.ffconcat
test.ffmeta
tiny_psnr.c
tiny_ssim.c
utils.c
videogen.c