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 tests: do not use AVFrame accessor 2017-04-23 14:47:54 +07:00
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 FATE: Add test for libavfilter/scale2ref 2017-06-05 01:50:25 +02:00
ref avcodec/mpeg2dec: Fix motion vector rounding for chroma components 2018-02-11 12:04:47 +01:00
.gitignore
Makefile fate: add id3v2 test 2018-02-02 12:16:56 -03:00
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 Merge commit '35d1f726eb9fdd376ab900587fb02122b72f2b9a' 2017-05-05 09:27:18 +02:00
lavf-regression.sh fate: add mxf_dv25/dvcpro50 regression tests 2017-09-18 08:56:52 +02:00
md5.sh
refcmp-metadata.awk fate: add tests for psnr and ssim filter 2017-09-27 15:58:49 +02:00
reference.pnm
regression-funcs.sh
rotozoom.c
simple1.ffconcat
simple2.ffconcat
test.ffmeta
tiny_psnr.c
tiny_ssim.c
utils.c
videogen.c