FFmpeg/tests/ref/fate/svq1
Peter Ross 6fe8556a19 avcodec/svq1: fix interframe mean VLC symbols
Fixes ticket #128.

The SVQ1 interframe mean VLC symbols -128 and 128 are incorrectly swapped
in our SVQ1 implementation, resulting in visible artifacts for some videos.
This patch unswaps the order of these two symbols.

The most noticable example of the artiacts caused by this error can be observed in
https://trac.ffmpeg.org/attachment/ticket/128/svq1_set.7z '352_288_k_50.mov'.
The artifacts are not observed when using the reference decoder
(QuickTime 7.7.9 x86 binary).

As a result of this patch, the reference data for the fate-svq1 test
($SAMPLES/svq1/marymary-shackles.mov) must be modified. For this file, our
decoder output is now bitwise identical to the reference decoder. I have
tested patch with various other samples and they are all now bitwise identical.
2022-11-01 09:24:29 +11:00

156 lines
8.6 KiB
Plaintext

#tb 0: 1/15
#media_type 0: video
#codec_id 0: rawvideo
#dimensions 0: 160x120
#sar 0: 0/1
0, 0, 0, 1, 21600, 0x7f9389e3
0, 1, 1, 1, 21600, 0xcebb8896
0, 2, 2, 1, 21600, 0xef51860a
0, 3, 3, 1, 21600, 0x88d97e7d
0, 4, 4, 1, 21600, 0xc7757c88
0, 5, 5, 1, 21600, 0x2f537ade
0, 6, 6, 1, 21600, 0xd50a7eff
0, 7, 7, 1, 21600, 0xdcfb7fc6
0, 8, 8, 1, 21600, 0x0d608299
0, 9, 9, 1, 21600, 0x97ca81b4
0, 10, 10, 1, 21600, 0x791f80e7
0, 11, 11, 1, 21600, 0x96ae7d33
0, 12, 12, 1, 21600, 0x4d7474a8
0, 13, 13, 1, 21600, 0x2ae76f37
0, 14, 14, 1, 21600, 0x7da76265
0, 15, 15, 1, 21600, 0x93ae3eb6
0, 16, 16, 1, 21600, 0xebfd3868
0, 17, 17, 1, 21600, 0x54f82ffa
0, 18, 18, 1, 21600, 0x8d5b2ad0
0, 19, 19, 1, 21600, 0xe67128e6
0, 20, 20, 1, 21600, 0xb7bf613e
0, 21, 21, 1, 21600, 0xf697fa3e
0, 22, 22, 1, 21600, 0x5b6ede88
0, 23, 23, 1, 21600, 0x7a84a8f7
0, 24, 24, 1, 21600, 0x0351ad27
0, 25, 25, 1, 21600, 0x57b547c2
0, 26, 26, 1, 21600, 0xbb9e1558
0, 27, 27, 1, 21600, 0xcb470f6b
0, 28, 28, 1, 21600, 0xeb100de0
0, 29, 29, 1, 21600, 0x089c2bf0
0, 30, 30, 1, 21600, 0xe27b6a42
0, 31, 31, 1, 21600, 0xbfe2b11b
0, 32, 32, 1, 21600, 0xd9ca0bb5
0, 33, 33, 1, 21600, 0x12fe783c
0, 34, 34, 1, 21600, 0x6c12bab5
0, 35, 35, 1, 21600, 0x1ac23706
0, 36, 36, 1, 21600, 0x7a95cb5f
0, 37, 37, 1, 21600, 0xf1bfbb46
0, 38, 38, 1, 21600, 0x773d1d0c
0, 39, 39, 1, 21600, 0x2e7bea65
0, 40, 40, 1, 21600, 0xdb1a086f
0, 41, 41, 1, 21600, 0x5b36b78d
0, 42, 42, 1, 21600, 0x7b533ca6
0, 43, 43, 1, 21600, 0x65d75105
0, 44, 44, 1, 21600, 0xfe6f6207
0, 45, 45, 1, 21600, 0x44c4ce57
0, 46, 46, 1, 21600, 0x220f3dae
0, 47, 47, 1, 21600, 0xb4d20ffb
0, 48, 48, 1, 21600, 0x8907ad72
0, 49, 49, 1, 21600, 0xc6418998
0, 50, 50, 1, 21600, 0x395b6670
0, 51, 51, 1, 21600, 0x83495b88
0, 52, 52, 1, 21600, 0x8920d683
0, 53, 53, 1, 21600, 0xd7fc64ea
0, 54, 54, 1, 21600, 0x21a3b222
0, 55, 55, 1, 21600, 0xc11f2dbd
0, 56, 56, 1, 21600, 0xd1d5495d
0, 57, 57, 1, 21600, 0x70f2de20
0, 58, 58, 1, 21600, 0x10adc9a9
0, 59, 59, 1, 21600, 0xf713c0ec
0, 60, 60, 1, 21600, 0xa346b3fe
0, 61, 61, 1, 21600, 0x7945c29b
0, 62, 62, 1, 21600, 0xb07ceb91
0, 63, 63, 1, 21600, 0xe1eaf9ef
0, 64, 64, 1, 21600, 0x6fa915c7
0, 65, 65, 1, 21600, 0x61952055
0, 66, 66, 1, 21600, 0x4bca2382
0, 67, 67, 1, 21600, 0x36161fe2
0, 68, 68, 1, 21600, 0xf93a28f7
0, 69, 69, 1, 21600, 0xa02a3d47
0, 70, 70, 1, 21600, 0x925b3609
0, 71, 71, 1, 21600, 0x5b6941db
0, 72, 72, 1, 21600, 0x33154a91
0, 73, 73, 1, 21600, 0xb1d75c50
0, 74, 74, 1, 21600, 0x1cb369bd
0, 75, 75, 1, 21600, 0x3be4eff2
0, 76, 76, 1, 21600, 0xbb89c301
0, 77, 77, 1, 21600, 0xc7630d85
0, 78, 78, 1, 21600, 0xf7441c67
0, 79, 79, 1, 21600, 0xc23611ef
0, 80, 80, 1, 21600, 0x840efb21
0, 81, 81, 1, 21600, 0x7d470a0f
0, 82, 82, 1, 21600, 0xfe093210
0, 83, 83, 1, 21600, 0x0f3ea098
0, 84, 84, 1, 21600, 0xcd72286f
0, 85, 85, 1, 21600, 0x826f8030
0, 86, 86, 1, 21600, 0xcda3ace8
0, 87, 87, 1, 21600, 0x39cb4cd0
0, 88, 88, 1, 21600, 0xa86a60ac
0, 89, 89, 1, 21600, 0xcd32ed8e
0, 90, 90, 1, 21600, 0x769b285d
0, 91, 91, 1, 21600, 0x10234cd0
0, 92, 92, 1, 21600, 0x951036b8
0, 93, 93, 1, 21600, 0xaef248fa
0, 94, 94, 1, 21600, 0x74e36e84
0, 95, 95, 1, 21600, 0x3908531b
0, 96, 96, 1, 21600, 0x342f2a9d
0, 97, 97, 1, 21600, 0x291d58f3
0, 98, 98, 1, 21600, 0xcf24b1e5
0, 99, 99, 1, 21600, 0x3e7c7959
0, 100, 100, 1, 21600, 0x6517e573
0, 101, 101, 1, 21600, 0x304cc6db
0, 102, 102, 1, 21600, 0x272895e4
0, 103, 103, 1, 21600, 0x52325837
0, 104, 104, 1, 21600, 0xd01344bd
0, 105, 105, 1, 21600, 0xd25a370b
0, 106, 106, 1, 21600, 0x274e0ae9
0, 107, 107, 1, 21600, 0x6f66138f
0, 108, 108, 1, 21600, 0xd35a0f60
0, 109, 109, 1, 21600, 0xe0610863
0, 110, 110, 1, 21600, 0x920b05fb
0, 111, 111, 1, 21600, 0x5befe39d
0, 112, 112, 1, 21600, 0xd167bd58
0, 113, 113, 1, 21600, 0x653ac504
0, 114, 114, 1, 21600, 0x8372c6d7
0, 115, 115, 1, 21600, 0x0302c276
0, 116, 116, 1, 21600, 0xa176b694
0, 117, 117, 1, 21600, 0x4c2e935a
0, 118, 118, 1, 21600, 0xf7ea844e
0, 119, 119, 1, 21600, 0x76d6c07b
0, 120, 120, 1, 21600, 0x0a14d610
0, 121, 121, 1, 21600, 0x0ec9f3f3
0, 122, 122, 1, 21600, 0xdc90f6ea
0, 123, 123, 1, 21600, 0xc841f9ef
0, 124, 124, 1, 21600, 0x7ab5f9b9
0, 125, 125, 1, 21600, 0xda40f3c2
0, 126, 126, 1, 21600, 0x0040fb72
0, 127, 127, 1, 21600, 0x705b0786
0, 128, 128, 1, 21600, 0x26d5198d
0, 129, 129, 1, 21600, 0x6f5153ad
0, 130, 130, 1, 21600, 0x9f26624b
0, 131, 131, 1, 21600, 0x0d3ea7af
0, 132, 132, 1, 21600, 0xb957ca79
0, 133, 133, 1, 21600, 0x03a60612
0, 134, 134, 1, 21600, 0x3ddc4ff1
0, 135, 135, 1, 21600, 0x8fe5697f
0, 136, 136, 1, 21600, 0x3d199b09
0, 137, 137, 1, 21600, 0x97e2b504
0, 138, 138, 1, 21600, 0x7563f784
0, 139, 139, 1, 21600, 0x9a473879
0, 140, 140, 1, 21600, 0x2e2054e5
0, 141, 141, 1, 21600, 0x06b3658b
0, 142, 142, 1, 21600, 0xa37ee249
0, 143, 143, 1, 21600, 0xa527efa1
0, 144, 144, 1, 21600, 0x12791532
0, 145, 145, 1, 21600, 0xc5350145
0, 146, 146, 1, 21600, 0xcd44f1ac
0, 147, 147, 1, 21600, 0xe610edfb
0, 148, 148, 1, 21600, 0x5642f672
0, 149, 149, 1, 21600, 0xf2bc3e5b