summaryrefslogtreecommitdiff
path: root/tests/ref/fate/filter-yadif-mode1
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-yadif-mode1
parent570023eab3e2962b4ad8345a157c1e18ca1a6eca (diff)
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-yadif-mode1')
-rw-r--r--tests/ref/fate/filter-yadif-mode1118
1 files changed, 59 insertions, 59 deletions
diff --git a/tests/ref/fate/filter-yadif-mode1 b/tests/ref/fate/filter-yadif-mode1
index e2d14d5605..53741b0ae7 100644
--- a/tests/ref/fate/filter-yadif-mode1
+++ b/tests/ref/fate/filter-yadif-mode1
@@ -3,62 +3,62 @@
#codec_id 0: rawvideo
#dimensions 0: 720x576
#sar 0: 16/15
-0, 18, 18, 1, 622080, 0x6331caee
-0, 19, 19, 1, 622080, 0x625da883
-0, 20, 20, 1, 622080, 0xa459e690
-0, 21, 21, 1, 622080, 0xce5d891e
-0, 22, 22, 1, 622080, 0x6429c648
-0, 23, 23, 1, 622080, 0x608cc0ba
-0, 24, 24, 1, 622080, 0xa49891ca
-0, 25, 25, 1, 622080, 0x9721987f
-0, 26, 26, 1, 622080, 0x2a887404
-0, 27, 27, 1, 622080, 0x60d71d47
-0, 28, 28, 1, 622080, 0xe8d49705
-0, 29, 29, 1, 622080, 0x821e13cb
-0, 30, 30, 1, 622080, 0x1b627835
-0, 31, 31, 1, 622080, 0x1806c5f4
-0, 32, 32, 1, 622080, 0x686858fd
-0, 33, 33, 1, 622080, 0xab865773
-0, 34, 34, 1, 622080, 0x2675174f
-0, 35, 35, 1, 622080, 0x43a61a14
-0, 36, 36, 1, 622080, 0x78470e7f
-0, 37, 37, 1, 622080, 0xeb877bc6
-0, 38, 38, 1, 622080, 0xffb366ec
-0, 39, 39, 1, 622080, 0xda0906e7
-0, 40, 40, 1, 622080, 0xd575da72
-0, 41, 41, 1, 622080, 0x23ae25a4
-0, 42, 42, 1, 622080, 0x5fb297f7
-0, 43, 43, 1, 622080, 0x99b32978
-0, 44, 44, 1, 622080, 0xbac77ca0
-0, 45, 45, 1, 622080, 0xc1cdcbf9
-0, 46, 46, 1, 622080, 0x3276ed72
-0, 47, 47, 1, 622080, 0x4061f5ab
-0, 48, 48, 1, 622080, 0x264092b2
-0, 49, 49, 1, 622080, 0xa4e2039e
-0, 50, 50, 1, 622080, 0x20ba1094
-0, 51, 51, 1, 622080, 0x984e906e
-0, 52, 52, 1, 622080, 0x76cc3139
-0, 53, 53, 1, 622080, 0xf70e2cf6
-0, 54, 54, 1, 622080, 0x469a4902
-0, 55, 55, 1, 622080, 0x235312e6
-0, 56, 56, 1, 622080, 0x0ed7b8f5
-0, 57, 57, 1, 622080, 0xd0269cc3
-0, 58, 58, 1, 622080, 0xdc51aeac
-0, 59, 59, 1, 622080, 0x1aa5f76e
-0, 60, 60, 1, 622080, 0xee06aa36
-0, 61, 61, 1, 622080, 0xa7103230
-0, 62, 62, 1, 622080, 0x7372405f
-0, 63, 63, 1, 622080, 0x8d7a44b5
-0, 64, 64, 1, 622080, 0x9e0ee776
-0, 65, 65, 1, 622080, 0xd41e8560
-0, 66, 66, 1, 622080, 0x39e6d8c9
-0, 67, 67, 1, 622080, 0x7a23d70c
-0, 68, 68, 1, 622080, 0x51d9ac9a
-0, 69, 69, 1, 622080, 0x8eacf7f2
-0, 70, 70, 1, 622080, 0x2b63441d
-0, 71, 71, 1, 622080, 0x9f71b742
-0, 72, 72, 1, 622080, 0x58afbd5e
-0, 73, 73, 1, 622080, 0x4d645292
-0, 74, 74, 1, 622080, 0xb972f716
-0, 75, 75, 1, 622080, 0xbb5d01a2
-0, 76, 76, 1, 622080, 0x6a6df129
+0, 18, 18, 1, 622080, 0x77c0ca92
+0, 19, 19, 1, 622080, 0x06d3a822
+0, 20, 20, 1, 622080, 0xbe7fe646
+0, 21, 21, 1, 622080, 0x542e891a
+0, 22, 22, 1, 622080, 0x4384c5da
+0, 23, 23, 1, 622080, 0xddd4c056
+0, 24, 24, 1, 622080, 0x296b9168
+0, 25, 25, 1, 622080, 0xf8e09812
+0, 26, 26, 1, 622080, 0x96d5738e
+0, 27, 27, 1, 622080, 0xac341d9b
+0, 28, 28, 1, 622080, 0x769b9681
+0, 29, 29, 1, 622080, 0xb5da1354
+0, 30, 30, 1, 622080, 0x461d778d
+0, 31, 31, 1, 622080, 0xd9dcc5a8
+0, 32, 32, 1, 622080, 0xb88c584b
+0, 33, 33, 1, 622080, 0x581b5727
+0, 34, 34, 1, 622080, 0x7d7b1635
+0, 35, 35, 1, 622080, 0xfc1b1a12
+0, 36, 36, 1, 622080, 0x49c60dc0
+0, 37, 37, 1, 622080, 0x1d537b22
+0, 38, 38, 1, 622080, 0x498765a4
+0, 39, 39, 1, 622080, 0xdd2e063a
+0, 40, 40, 1, 622080, 0x0caed8f9
+0, 41, 41, 1, 622080, 0xfb4a24aa
+0, 42, 42, 1, 622080, 0x41d897d3
+0, 43, 43, 1, 622080, 0xdd3f29ae
+0, 44, 44, 1, 622080, 0x7aeb7c93
+0, 45, 45, 1, 622080, 0x2410cbe2
+0, 46, 46, 1, 622080, 0xa8bced40
+0, 47, 47, 1, 622080, 0x5534f5ca
+0, 48, 48, 1, 622080, 0x11de928c
+0, 49, 49, 1, 622080, 0x82180322
+0, 50, 50, 1, 622080, 0x64741075
+0, 51, 51, 1, 622080, 0x5e048fc8
+0, 52, 52, 1, 622080, 0x160f310e
+0, 53, 53, 1, 622080, 0x4f6d2ce7
+0, 54, 54, 1, 622080, 0x702d489c
+0, 55, 55, 1, 622080, 0xa4b41315
+0, 56, 56, 1, 622080, 0xaf2fb8aa
+0, 57, 57, 1, 622080, 0x5ec09c25
+0, 58, 58, 1, 622080, 0x575bae0f
+0, 59, 59, 1, 622080, 0x94ecf775
+0, 60, 60, 1, 622080, 0xfd68a990
+0, 61, 61, 1, 622080, 0x15a7315c
+0, 62, 62, 1, 622080, 0x8b513f66
+0, 63, 63, 1, 622080, 0xeba9440a
+0, 64, 64, 1, 622080, 0x0e6ae6c3
+0, 65, 65, 1, 622080, 0x751484a6
+0, 66, 66, 1, 622080, 0x3d12d8ab
+0, 67, 67, 1, 622080, 0xdff3d681
+0, 68, 68, 1, 622080, 0x45d0ac80
+0, 69, 69, 1, 622080, 0xbe2df7f7
+0, 70, 70, 1, 622080, 0xb18d4421
+0, 71, 71, 1, 622080, 0xa49cb6de
+0, 72, 72, 1, 622080, 0x2e81bd32
+0, 73, 73, 1, 622080, 0xa47a5272
+0, 74, 74, 1, 622080, 0x852cf6cf
+0, 75, 75, 1, 622080, 0x892a014e
+0, 76, 76, 1, 622080, 0xb055f0e5