ffmpeg/tests/ref/fate/mpeg2-ticket186
Nekopanda 8b154cb3e9 avcodec/mpeg2dec: Fix field selection for skipped macroblocks
For B field pictures, the spec says,

> The prediction shall be made from the field of the same parity as the field being predicted.

I did it.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-02-11 02:16:40 +01:00

357 lines
20 KiB
Plaintext

#tb 0: 1/25
#media_type 0: video
#codec_id 0: rawvideo
#dimensions 0: 352x288
#sar 0: 12/11
0, 0, 0, 1, 152064, 0x8f9d00c1
0, 1, 1, 1, 152064, 0x899fb8b1
0, 2, 2, 1, 152064, 0x7225cb39
0, 3, 3, 1, 152064, 0xf2becd8f
0, 4, 4, 1, 152064, 0xd56bc556
0, 5, 5, 1, 152064, 0x7ca54f36
0, 6, 6, 1, 152064, 0x06d7805c
0, 7, 7, 1, 152064, 0x469f3f87
0, 8, 8, 1, 152064, 0xdb2f57d5
0, 9, 9, 1, 152064, 0x3876c20c
0, 10, 10, 1, 152064, 0x5b670e79
0, 11, 11, 1, 152064, 0xdfe420e0
0, 12, 12, 1, 152064, 0x17578222
0, 13, 13, 1, 152064, 0x47e1cb26
0, 14, 14, 1, 152064, 0x168e35d6
0, 15, 15, 1, 152064, 0xe9d34b4e
0, 16, 16, 1, 152064, 0x5e395308
0, 17, 17, 1, 152064, 0x88e3b39f
0, 18, 18, 1, 152064, 0x6b099c51
0, 19, 19, 1, 152064, 0xb1a24ddf
0, 20, 20, 1, 152064, 0xcea840fc
0, 21, 21, 1, 152064, 0x98306d64
0, 22, 22, 1, 152064, 0xb05354d3
0, 23, 23, 1, 152064, 0xacac26f3
0, 24, 24, 1, 152064, 0xbccdf14b
0, 25, 25, 1, 152064, 0xd9398539
0, 26, 26, 1, 152064, 0x07aec13a
0, 27, 27, 1, 152064, 0xa6ef9440
0, 28, 28, 1, 152064, 0x0e7ab64e
0, 29, 29, 1, 152064, 0x3796939d
0, 30, 30, 1, 152064, 0xcc219365
0, 31, 31, 1, 152064, 0xf4cc815a
0, 32, 32, 1, 152064, 0x8b91c622
0, 33, 33, 1, 152064, 0xd3a8ad8e
0, 34, 34, 1, 152064, 0x658e498f
0, 35, 35, 1, 152064, 0xf9c115ea
0, 36, 36, 1, 152064, 0xb639f8d2
0, 37, 37, 1, 152064, 0x7e9eaa64
0, 38, 38, 1, 152064, 0x8a546bcf
0, 39, 39, 1, 152064, 0x59d22dd4
0, 40, 40, 1, 152064, 0x80a10edc
0, 41, 41, 1, 152064, 0x5c97d4a1
0, 42, 42, 1, 152064, 0x4f1bf025
0, 43, 43, 1, 152064, 0x42721789
0, 44, 44, 1, 152064, 0x39e6700d
0, 45, 45, 1, 152064, 0xdf4af8b4
0, 46, 46, 1, 152064, 0xacf839bb
0, 47, 47, 1, 152064, 0xbebfbf7c
0, 48, 48, 1, 152064, 0x09c7630d
0, 49, 49, 1, 152064, 0x3331ab18
0, 50, 50, 1, 152064, 0xae0f0f28
0, 51, 51, 1, 152064, 0xbb085737
0, 52, 52, 1, 152064, 0x1e23ad39
0, 53, 53, 1, 152064, 0x18d46683
0, 54, 54, 1, 152064, 0x4eadd0a0
0, 55, 55, 1, 152064, 0x09b13430
0, 56, 56, 1, 152064, 0x240a607b
0, 57, 57, 1, 152064, 0xec0f8a67
0, 58, 58, 1, 152064, 0x6c37fc08
0, 59, 59, 1, 152064, 0xded4cda7
0, 60, 60, 1, 152064, 0xc5df1477
0, 61, 61, 1, 152064, 0x3c9de6f9
0, 62, 62, 1, 152064, 0xefd1cdbd
0, 63, 63, 1, 152064, 0x5df7b89c
0, 64, 64, 1, 152064, 0x1b04af5f
0, 65, 65, 1, 152064, 0xbbff2c09
0, 66, 66, 1, 152064, 0x23b04553
0, 67, 67, 1, 152064, 0x3d99caa3
0, 68, 68, 1, 152064, 0x35139bf8
0, 69, 69, 1, 152064, 0x49207c0a
0, 70, 70, 1, 152064, 0xa78e2efa
0, 71, 71, 1, 152064, 0x5a50b0df
0, 72, 72, 1, 152064, 0x3255b306
0, 73, 73, 1, 152064, 0x60622c61
0, 74, 74, 1, 152064, 0x8c8cde9f
0, 75, 75, 1, 152064, 0xe8c0bb6c
0, 76, 76, 1, 152064, 0xbc698473
0, 77, 77, 1, 152064, 0x398525c2
0, 78, 78, 1, 152064, 0x87983ab0
0, 79, 79, 1, 152064, 0x032af6b5
0, 80, 80, 1, 152064, 0x4878bb11
0, 81, 81, 1, 152064, 0xff5dd044
0, 82, 82, 1, 152064, 0xe675bfe0
0, 83, 83, 1, 152064, 0x1af29008
0, 84, 84, 1, 152064, 0x07aa8975
0, 85, 85, 1, 152064, 0x17957756
0, 86, 86, 1, 152064, 0x48b5825e
0, 87, 87, 1, 152064, 0x169d70bc
0, 88, 88, 1, 152064, 0x326730c8
0, 89, 89, 1, 152064, 0x6158c971
0, 90, 90, 1, 152064, 0x1035e3ee
0, 91, 91, 1, 152064, 0xef49ba53
0, 92, 92, 1, 152064, 0x261081fa
0, 93, 93, 1, 152064, 0x5280779e
0, 94, 94, 1, 152064, 0x8a6d6df3
0, 95, 95, 1, 152064, 0xdb0f1ed5
0, 96, 96, 1, 152064, 0x5162570a
0, 97, 97, 1, 152064, 0x0841547c
0, 98, 98, 1, 152064, 0xf0694fcd
0, 99, 99, 1, 152064, 0xfe525057
0, 100, 100, 1, 152064, 0xb4ec0c96
0, 101, 101, 1, 152064, 0xbf2dcaee
0, 102, 102, 1, 152064, 0x7860c418
0, 103, 103, 1, 152064, 0xc9e288bc
0, 104, 104, 1, 152064, 0xb0514dc3
0, 105, 105, 1, 152064, 0x722a4bd0
0, 106, 106, 1, 152064, 0x5277f52d
0, 107, 107, 1, 152064, 0x05208e75
0, 108, 108, 1, 152064, 0x0b596089
0, 109, 109, 1, 152064, 0x47aa117c
0, 110, 110, 1, 152064, 0x12edfe8b
0, 111, 111, 1, 152064, 0x2e50f864
0, 112, 112, 1, 152064, 0x4cedb882
0, 113, 113, 1, 152064, 0xdbf48285
0, 114, 114, 1, 152064, 0x9071b0e6
0, 115, 115, 1, 152064, 0x1c85a5ce
0, 116, 116, 1, 152064, 0x8ef9a8e8
0, 117, 117, 1, 152064, 0x41e8ae26
0, 118, 118, 1, 152064, 0x3328d571
0, 119, 119, 1, 152064, 0xce7d4da2
0, 120, 120, 1, 152064, 0x032d7575
0, 121, 121, 1, 152064, 0xb3fc65a6
0, 122, 122, 1, 152064, 0xe5a266b4
0, 123, 123, 1, 152064, 0x943c5925
0, 124, 124, 1, 152064, 0xe6138024
0, 125, 125, 1, 152064, 0x3acd4e1b
0, 126, 126, 1, 152064, 0x9de7903e
0, 127, 127, 1, 152064, 0xea1184d0
0, 128, 128, 1, 152064, 0x9e323818
0, 129, 129, 1, 152064, 0xf77872a2
0, 130, 130, 1, 152064, 0x8f7c75c7
0, 131, 131, 1, 152064, 0x9d6d2623
0, 132, 132, 1, 152064, 0x3d8e62ab
0, 133, 133, 1, 152064, 0xcd8b3dc5
0, 134, 134, 1, 152064, 0x57681ebc
0, 135, 135, 1, 152064, 0x764f3233
0, 136, 136, 1, 152064, 0x8c8b0a4b
0, 137, 137, 1, 152064, 0x2d9aedac
0, 138, 138, 1, 152064, 0x0afe03ae
0, 139, 139, 1, 152064, 0xcecae31b
0, 140, 140, 1, 152064, 0x0e6ea17f
0, 141, 141, 1, 152064, 0x66b0b8c4
0, 142, 142, 1, 152064, 0xd44f7976
0, 143, 143, 1, 152064, 0xf7f029cc
0, 144, 144, 1, 152064, 0xada307a9
0, 145, 145, 1, 152064, 0x936ae367
0, 146, 146, 1, 152064, 0xa019ad8a
0, 147, 147, 1, 152064, 0x5233a9e7
0, 148, 148, 1, 152064, 0x6fd5737f
0, 149, 149, 1, 152064, 0xb2eb2476
0, 150, 150, 1, 152064, 0x36a53280
0, 151, 151, 1, 152064, 0xf025230f
0, 152, 152, 1, 152064, 0x48373a3e
0, 153, 153, 1, 152064, 0xe4e950e2
0, 154, 154, 1, 152064, 0x63d37fc4
0, 155, 155, 1, 152064, 0x1e465fda
0, 156, 156, 1, 152064, 0xc47ea97e
0, 157, 157, 1, 152064, 0x0224aca7
0, 158, 158, 1, 152064, 0x909dedcc
0, 159, 159, 1, 152064, 0x1c1df7ea
0, 160, 160, 1, 152064, 0x5e43f7f1
0, 161, 161, 1, 152064, 0xdb11d8fa
0, 162, 162, 1, 152064, 0xa66710f5
0, 163, 163, 1, 152064, 0x352013b0
0, 164, 164, 1, 152064, 0xc8e745f1
0, 165, 165, 1, 152064, 0xb18b6810
0, 166, 166, 1, 152064, 0xb1c243e2
0, 167, 167, 1, 152064, 0x6fe129f9
0, 168, 168, 1, 152064, 0x92814bde
0, 169, 169, 1, 152064, 0x50954752
0, 170, 170, 1, 152064, 0x48634df3
0, 171, 171, 1, 152064, 0x3af254c0
0, 172, 172, 1, 152064, 0x6fde4801
0, 173, 173, 1, 152064, 0xf8fe19b4
0, 174, 174, 1, 152064, 0x57004906
0, 175, 175, 1, 152064, 0x916e2ff4
0, 176, 176, 1, 152064, 0xbc0d28f0
0, 177, 177, 1, 152064, 0x4522435e
0, 178, 178, 1, 152064, 0x861f5d1b
0, 179, 179, 1, 152064, 0x42c3bf28
0, 180, 180, 1, 152064, 0xbd6adb19
0, 181, 181, 1, 152064, 0x0692f5b8
0, 182, 182, 1, 152064, 0x1e1e4bfb
0, 183, 183, 1, 152064, 0xdc852986
0, 184, 184, 1, 152064, 0x61c5259e
0, 185, 185, 1, 152064, 0xe28f365a
0, 186, 186, 1, 152064, 0x19388308
0, 187, 187, 1, 152064, 0x043bace9
0, 188, 188, 1, 152064, 0x4bebb678
0, 189, 189, 1, 152064, 0x6bd6d112
0, 190, 190, 1, 152064, 0x3c9dc401
0, 191, 191, 1, 152064, 0x91e7556a
0, 192, 192, 1, 152064, 0xae60f7e7
0, 193, 193, 1, 152064, 0x14066893
0, 194, 194, 1, 152064, 0x7f5a5f0a
0, 195, 195, 1, 152064, 0xb1063958
0, 196, 196, 1, 152064, 0xadf13b9f
0, 197, 197, 1, 152064, 0x7ddcf94d
0, 198, 198, 1, 152064, 0x91393730
0, 199, 199, 1, 152064, 0xcd150536
0, 200, 200, 1, 152064, 0x52e0d7bd
0, 201, 201, 1, 152064, 0x9130b2ce
0, 202, 202, 1, 152064, 0xa07fa62a
0, 203, 203, 1, 152064, 0x7da258cd
0, 204, 204, 1, 152064, 0x984071a6
0, 205, 205, 1, 152064, 0xd5fa731a
0, 206, 206, 1, 152064, 0x593d7910
0, 207, 207, 1, 152064, 0x4b754c71
0, 208, 208, 1, 152064, 0x51544841
0, 209, 209, 1, 152064, 0xf466910e
0, 210, 210, 1, 152064, 0x6535c9c4
0, 211, 211, 1, 152064, 0x6d45b6d8
0, 212, 212, 1, 152064, 0xe77998a2
0, 213, 213, 1, 152064, 0x56023275
0, 214, 214, 1, 152064, 0x779b20cc
0, 215, 215, 1, 152064, 0x1ff1b05e
0, 216, 216, 1, 152064, 0xb9e2c3f0
0, 217, 217, 1, 152064, 0xdfc6d541
0, 218, 218, 1, 152064, 0x301a7948
0, 219, 219, 1, 152064, 0x03d611ca
0, 220, 220, 1, 152064, 0xe9426f2a
0, 221, 221, 1, 152064, 0x304c95df
0, 222, 222, 1, 152064, 0x60e7f924
0, 223, 223, 1, 152064, 0x6408670c
0, 224, 224, 1, 152064, 0xbf09ca74
0, 225, 225, 1, 152064, 0xf2d13572
0, 226, 226, 1, 152064, 0x90ccb47d
0, 227, 227, 1, 152064, 0x24bbd269
0, 228, 228, 1, 152064, 0x7ae333dd
0, 229, 229, 1, 152064, 0x90913fe2
0, 230, 230, 1, 152064, 0xc994007c
0, 231, 231, 1, 152064, 0x45a123c0
0, 232, 232, 1, 152064, 0xa0335bbf
0, 233, 233, 1, 152064, 0x3e79c4e9
0, 234, 234, 1, 152064, 0x05cf4479
0, 235, 235, 1, 152064, 0x2146392c
0, 236, 236, 1, 152064, 0x68ac5d0a
0, 237, 237, 1, 152064, 0x9d26fed8
0, 238, 238, 1, 152064, 0x047c9082
0, 239, 239, 1, 152064, 0x518bd9f8
0, 240, 240, 1, 152064, 0xfbd03b16
0, 241, 241, 1, 152064, 0x5317601a
0, 242, 242, 1, 152064, 0x450118c5
0, 243, 243, 1, 152064, 0x1058915b
0, 244, 244, 1, 152064, 0x0a4a000a
0, 245, 245, 1, 152064, 0xa277707d
0, 246, 246, 1, 152064, 0xc7cb29b2
0, 247, 247, 1, 152064, 0x371344fc
0, 248, 248, 1, 152064, 0xbc9375a9
0, 249, 249, 1, 152064, 0x70c2fa2f
0, 250, 250, 1, 152064, 0x41fbc057
0, 251, 251, 1, 152064, 0xc21a77fe
0, 252, 252, 1, 152064, 0x51e06384
0, 253, 253, 1, 152064, 0xbee83fcb
0, 254, 254, 1, 152064, 0xce2befdf
0, 255, 255, 1, 152064, 0x4f139865
0, 256, 256, 1, 152064, 0x4e0f5372
0, 257, 257, 1, 152064, 0xf0701fd6
0, 258, 258, 1, 152064, 0x746c35f4
0, 259, 259, 1, 152064, 0xf5211469
0, 260, 260, 1, 152064, 0xae8f1c2f
0, 261, 261, 1, 152064, 0xc2483a75
0, 262, 262, 1, 152064, 0x2da24ae6
0, 263, 263, 1, 152064, 0x86f70e3a
0, 264, 264, 1, 152064, 0x52b8172a
0, 265, 265, 1, 152064, 0xca810f3b
0, 266, 266, 1, 152064, 0x6d9504c4
0, 267, 267, 1, 152064, 0x4edcfbfa
0, 268, 268, 1, 152064, 0x292c0bfd
0, 269, 269, 1, 152064, 0xee998e3d
0, 270, 270, 1, 152064, 0xe4b6c1b2
0, 271, 271, 1, 152064, 0xbbe0a4cc
0, 272, 272, 1, 152064, 0xcd88bcf2
0, 273, 273, 1, 152064, 0x365df7c5
0, 274, 274, 1, 152064, 0x01cd06a4
0, 275, 275, 1, 152064, 0xcfaefeef
0, 276, 276, 1, 152064, 0xe615289d
0, 277, 277, 1, 152064, 0x1d5243de
0, 278, 278, 1, 152064, 0x7c397dfe
0, 279, 279, 1, 152064, 0xe25845b1
0, 280, 280, 1, 152064, 0x2d6a60a8
0, 281, 281, 1, 152064, 0xf1926203
0, 282, 282, 1, 152064, 0x634a88c9
0, 283, 283, 1, 152064, 0xc50aa1b7
0, 284, 284, 1, 152064, 0x972fa713
0, 285, 285, 1, 152064, 0xa11cd0f6
0, 286, 286, 1, 152064, 0xbff8f90e
0, 287, 287, 1, 152064, 0x00902e76
0, 288, 288, 1, 152064, 0x5cf31cb1
0, 289, 289, 1, 152064, 0x2b026058
0, 290, 290, 1, 152064, 0x258002cc
0, 291, 291, 1, 152064, 0x0d708815
0, 292, 292, 1, 152064, 0xe3809ce0
0, 293, 293, 1, 152064, 0xf0239467
0, 294, 294, 1, 152064, 0x6e71916a
0, 295, 295, 1, 152064, 0xc1fb36e1
0, 296, 296, 1, 152064, 0xd47f07c9
0, 297, 297, 1, 152064, 0x7fd111ea
0, 298, 298, 1, 152064, 0xc4023a80
0, 299, 299, 1, 152064, 0x8f5851ba
0, 300, 300, 1, 152064, 0x9982f47b
0, 301, 301, 1, 152064, 0x0e5f6f80
0, 302, 302, 1, 152064, 0x49925e53
0, 303, 303, 1, 152064, 0xf6006bcc
0, 304, 304, 1, 152064, 0xd4b5d0f7
0, 305, 305, 1, 152064, 0x419ef0a4
0, 306, 306, 1, 152064, 0x4e610934
0, 307, 307, 1, 152064, 0x1919e999
0, 308, 308, 1, 152064, 0x3a750d80
0, 309, 309, 1, 152064, 0x16616075
0, 310, 310, 1, 152064, 0x3284519f
0, 311, 311, 1, 152064, 0x976cdd70
0, 312, 312, 1, 152064, 0x4ec5d1e3
0, 313, 313, 1, 152064, 0x30d31172
0, 314, 314, 1, 152064, 0xe33609b5
0, 315, 315, 1, 152064, 0x5377bb89
0, 316, 316, 1, 152064, 0x5479cd3d
0, 317, 317, 1, 152064, 0x964dad60
0, 318, 318, 1, 152064, 0x3a7deaf4
0, 319, 319, 1, 152064, 0xced22332
0, 320, 320, 1, 152064, 0x3b36b53f
0, 321, 321, 1, 152064, 0x10c38662
0, 322, 322, 1, 152064, 0x45d4fceb
0, 323, 323, 1, 152064, 0x359da948
0, 324, 324, 1, 152064, 0x60625190
0, 325, 325, 1, 152064, 0x1cda9888
0, 326, 326, 1, 152064, 0x77ad1d8c
0, 327, 327, 1, 152064, 0x20f1510f
0, 328, 328, 1, 152064, 0xd11d52c6
0, 329, 329, 1, 152064, 0x9f0e5797
0, 330, 330, 1, 152064, 0x174ca55b
0, 331, 331, 1, 152064, 0x8df79054
0, 332, 332, 1, 152064, 0x3844a495
0, 333, 333, 1, 152064, 0x268d9d12
0, 334, 334, 1, 152064, 0xf672b44f
0, 335, 335, 1, 152064, 0xe0ac87cf
0, 336, 336, 1, 152064, 0xbc99fd7d
0, 337, 337, 1, 152064, 0x876ef9e3
0, 338, 338, 1, 152064, 0xef8066f7
0, 339, 339, 1, 152064, 0x72a99564
0, 340, 340, 1, 152064, 0x5921c088
0, 341, 341, 1, 152064, 0x3a6b9e74
0, 342, 342, 1, 152064, 0xfb03e9b5
0, 343, 343, 1, 152064, 0xc351bfc6
0, 344, 344, 1, 152064, 0x2faec717
0, 345, 345, 1, 152064, 0x062fc6f3
0, 346, 346, 1, 152064, 0xede7a97f
0, 347, 347, 1, 152064, 0x19874144
0, 348, 348, 1, 152064, 0x929650eb
0, 349, 349, 1, 152064, 0x082557a1
0, 350, 350, 1, 152064, 0x2b25104b