summaryrefslogtreecommitdiffstats
path: root/tests/ref/fate/filter-w3fdif-simple
diff options
context:
space:
mode:
authorNekopanda <pianoyayaninth-at-yahoo.co.jp@ffmpeg.org>2018-02-11 17:15:54 +0900
committerMichael Niedermayer <michael@niedermayer.cc>2018-02-11 12:04:47 +0100
commitf4d5d7e8de189ab448a5e662245b57ceb8f20df6 (patch)
treee554291fd25a5ac8e4659ab2a25a91a60c79ce01 /tests/ref/fate/filter-w3fdif-simple
parent570023eab3e2962b4ad8345a157c1e18ca1a6eca (diff)
downloadffmpeg-streaming-f4d5d7e8de189ab448a5e662245b57ceb8f20df6.zip
ffmpeg-streaming-f4d5d7e8de189ab448a5e662245b57ceb8f20df6.tar.gz
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>
Diffstat (limited to 'tests/ref/fate/filter-w3fdif-simple')
-rw-r--r--tests/ref/fate/filter-w3fdif-simple60
1 files changed, 30 insertions, 30 deletions
diff --git a/tests/ref/fate/filter-w3fdif-simple b/tests/ref/fate/filter-w3fdif-simple
index 62efaae..09c0d7c 100644
--- a/tests/ref/fate/filter-w3fdif-simple
+++ b/tests/ref/fate/filter-w3fdif-simple
@@ -3,33 +3,33 @@
#codec_id 0: rawvideo
#dimensions 0: 720x576
#sar 0: 16/15
-0, 18, 18, 1, 622080, 0xc73774f5
-0, 19, 19, 1, 622080, 0x4ea3a400
-0, 20, 20, 1, 622080, 0x95153cda
-0, 21, 21, 1, 622080, 0xec39bf0b
-0, 22, 22, 1, 622080, 0x94b6f836
-0, 23, 23, 1, 622080, 0xc145c3ee
-0, 24, 24, 1, 622080, 0x4d4cdee2
-0, 25, 25, 1, 622080, 0x193ebc7c
-0, 26, 26, 1, 622080, 0xbd728fd8
-0, 27, 27, 1, 622080, 0xf0f3252f
-0, 28, 28, 1, 622080, 0xc012d20a
-0, 29, 29, 1, 622080, 0x7b5831b2
-0, 30, 30, 1, 622080, 0x464e9622
-0, 31, 31, 1, 622080, 0x46e3c6c0
-0, 32, 32, 1, 622080, 0xa6ec908b
-0, 33, 33, 1, 622080, 0x6a257595
-0, 34, 34, 1, 622080, 0xa6552ecc
-0, 35, 35, 1, 622080, 0xdecd1a91
-0, 36, 36, 1, 622080, 0xfaa53e71
-0, 37, 37, 1, 622080, 0xc94a9707
-0, 38, 38, 1, 622080, 0xb5727fd4
-0, 39, 39, 1, 622080, 0x143c018c
-0, 40, 40, 1, 622080, 0x92d110c9
-0, 41, 41, 1, 622080, 0x4f762fc0
-0, 42, 42, 1, 622080, 0x3dd2a7d2
-0, 43, 43, 1, 622080, 0xa5d02dc0
-0, 44, 44, 1, 622080, 0x2223ce3d
-0, 45, 45, 1, 622080, 0xe4a5fc36
-0, 46, 46, 1, 622080, 0x8384159e
-0, 47, 47, 1, 622080, 0x995efa57
+0, 18, 18, 1, 622080, 0x338874e8
+0, 19, 19, 1, 622080, 0x1a9da32b
+0, 20, 20, 1, 622080, 0x2ecc3cd9
+0, 21, 21, 1, 622080, 0x0441beec
+0, 22, 22, 1, 622080, 0x4de3f7ba
+0, 23, 23, 1, 622080, 0x59a4c388
+0, 24, 24, 1, 622080, 0x833ade92
+0, 25, 25, 1, 622080, 0x4c79bbf3
+0, 26, 26, 1, 622080, 0xe1998f77
+0, 27, 27, 1, 622080, 0xd00e2586
+0, 28, 28, 1, 622080, 0xe716d185
+0, 29, 29, 1, 622080, 0x24763136
+0, 30, 30, 1, 622080, 0xaeaa95a2
+0, 31, 31, 1, 622080, 0x92eec65a
+0, 32, 32, 1, 622080, 0x7cde9000
+0, 33, 33, 1, 622080, 0x98e2752c
+0, 34, 34, 1, 622080, 0x5ffe2db6
+0, 35, 35, 1, 622080, 0x1e911a65
+0, 36, 36, 1, 622080, 0x302d3dc2
+0, 37, 37, 1, 622080, 0xc1399647
+0, 38, 38, 1, 622080, 0xc4477ebf
+0, 39, 39, 1, 622080, 0x50e900ca
+0, 40, 40, 1, 622080, 0x867e0f7a
+0, 41, 41, 1, 622080, 0xa2412ebe
+0, 42, 42, 1, 622080, 0xc7a5a7e6
+0, 43, 43, 1, 622080, 0xaa5d2de7
+0, 44, 44, 1, 622080, 0x9bf0ce31
+0, 45, 45, 1, 622080, 0xfb88fbf9
+0, 46, 46, 1, 622080, 0xe6321572
+0, 47, 47, 1, 622080, 0x5541fa37
OpenPOWER on IntegriCloud