From e74d6daa29627c0d28e524579f8aecbb9330daf4 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Tue, 27 Mar 2012 12:56:51 -0700 Subject: [PATCH] fate: add kgv1 fate test. Tested to be bit-exact across x86-64, x86-32 and ppc. --- tests/fate/video.mak | 3 + tests/ref/fate/kgv1 | 314 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 317 insertions(+) create mode 100644 tests/ref/fate/kgv1 diff --git a/tests/fate/video.mak b/tests/fate/video.mak index 5c53c11fca..a676cd10d1 100644 --- a/tests/fate/video.mak +++ b/tests/fate/video.mak @@ -127,6 +127,9 @@ fate-iff-ilbm: CMD = framecrc -i $(SAMPLES)/iff/lms-matriks.ilbm -pix_fmt rgb24 FATE_TESTS += $(FATE_IFF) fate-iff: $(FATE_IFF) +FATE_TESTS += fate-kgv1 +fate-kgv1: CMD = framecrc -i $(SAMPLES)/kega/kgv1.avi -pix_fmt rgb555le -an + FATE_TESTS += fate-kmvc fate-kmvc: CMD = framecrc -i $(SAMPLES)/KMVC/LOGO1.AVI -an -t 3 -pix_fmt rgb24 diff --git a/tests/ref/fate/kgv1 b/tests/ref/fate/kgv1 new file mode 100644 index 0000000000..6f35893f83 --- /dev/null +++ b/tests/ref/fate/kgv1 @@ -0,0 +1,314 @@ +#tb 0: 1/60 +0, 0, 0, 1, 153600, 0x00000000 +0, 1, 1, 1, 153600, 0x00000000 +0, 2, 2, 1, 153600, 0x00000000 +0, 3, 3, 1, 153600, 0x00000000 +0, 4, 4, 1, 153600, 0x00000000 +0, 5, 5, 1, 153600, 0x00000000 +0, 6, 6, 1, 153600, 0x00000000 +0, 7, 7, 1, 153600, 0x00000000 +0, 8, 8, 1, 153600, 0x00000000 +0, 9, 9, 1, 153600, 0x00000000 +0, 10, 10, 1, 153600, 0x00000000 +0, 11, 11, 1, 153600, 0x00000000 +0, 12, 12, 1, 153600, 0x00000000 +0, 13, 13, 1, 153600, 0x00000000 +0, 14, 14, 1, 153600, 0x00000000 +0, 15, 15, 1, 153600, 0x00000000 +0, 16, 16, 1, 153600, 0x00000000 +0, 17, 17, 1, 153600, 0x00000000 +0, 18, 18, 1, 153600, 0x00000000 +0, 19, 19, 1, 153600, 0x00000000 +0, 20, 20, 1, 153600, 0x00000000 +0, 21, 21, 1, 153600, 0x00000000 +0, 22, 22, 1, 153600, 0x00000000 +0, 23, 23, 1, 153600, 0x00000000 +0, 24, 24, 1, 153600, 0x00000000 +0, 25, 25, 1, 153600, 0x00000000 +0, 26, 26, 1, 153600, 0x00000000 +0, 27, 27, 1, 153600, 0x00000000 +0, 28, 28, 1, 153600, 0x00000000 +0, 29, 29, 1, 153600, 0x00000000 +0, 30, 30, 1, 153600, 0x00000000 +0, 31, 31, 1, 153600, 0x00000000 +0, 32, 32, 1, 153600, 0x00000000 +0, 33, 33, 1, 153600, 0x00000000 +0, 34, 34, 1, 153600, 0x00000000 +0, 35, 35, 1, 153600, 0x00000000 +0, 36, 36, 1, 153600, 0x00000000 +0, 37, 37, 1, 153600, 0x00000000 +0, 38, 38, 1, 153600, 0x00000000 +0, 39, 39, 1, 153600, 0x00000000 +0, 40, 40, 1, 153600, 0x00000000 +0, 41, 41, 1, 153600, 0x00000000 +0, 42, 42, 1, 153600, 0x00000000 +0, 43, 43, 1, 153600, 0x00000000 +0, 44, 44, 1, 153600, 0x00000000 +0, 45, 45, 1, 153600, 0x00000000 +0, 46, 46, 1, 153600, 0x00000000 +0, 47, 47, 1, 153600, 0xab738fc1 +0, 48, 48, 1, 153600, 0x520c9bd3 +0, 49, 49, 1, 153600, 0x19347233 +0, 50, 50, 1, 153600, 0x9e81fe64 +0, 51, 51, 1, 153600, 0x75be7504 +0, 52, 52, 1, 153600, 0x29374d04 +0, 53, 53, 1, 153600, 0xc6b92fd4 +0, 54, 54, 1, 153600, 0xeeec5124 +0, 55, 55, 1, 153600, 0x2fc36324 +0, 56, 56, 1, 153600, 0x112580f4 +0, 57, 57, 1, 153600, 0x177b9a84 +0, 58, 58, 1, 153600, 0x214abb44 +0, 59, 59, 1, 153600, 0x83580173 +0, 60, 60, 1, 153600, 0x95f49284 +0, 61, 61, 1, 153600, 0xe31c5984 +0, 62, 62, 1, 153600, 0xf1756984 +0, 63, 63, 1, 153600, 0x6c004804 +0, 64, 64, 1, 153600, 0xbe6631b4 +0, 65, 65, 1, 153600, 0x1d910494 +0, 66, 66, 1, 153600, 0xd8ecfc25 +0, 67, 67, 1, 153600, 0xdd281364 +0, 68, 68, 1, 153600, 0x52545084 +0, 69, 69, 1, 153600, 0xfed6b944 +0, 70, 70, 1, 153600, 0x6e0b7ee4 +0, 71, 71, 1, 153600, 0x516a5724 +0, 72, 72, 1, 153600, 0xaffd7844 +0, 73, 73, 1, 153600, 0x5a304ba4 +0, 74, 74, 1, 153600, 0xea365ce4 +0, 75, 75, 1, 153600, 0xef654a84 +0, 76, 76, 1, 153600, 0x32d14584 +0, 77, 77, 1, 153600, 0x6bf843e4 +0, 78, 78, 1, 153600, 0x023d5b94 +0, 79, 79, 1, 153600, 0xd4506154 +0, 80, 80, 1, 153600, 0xeaf0bd24 +0, 81, 81, 1, 153600, 0x426efb94 +0, 82, 82, 1, 153600, 0x98bcde64 +0, 83, 83, 1, 153600, 0xa1bbb4a4 +0, 84, 84, 1, 153600, 0x36688414 +0, 85, 85, 1, 153600, 0x2e4b75d4 +0, 86, 86, 1, 153600, 0x33885884 +0, 87, 87, 1, 153600, 0x6c065224 +0, 88, 88, 1, 153600, 0x1a0252b4 +0, 89, 89, 1, 153600, 0x55896084 +0, 90, 90, 1, 153600, 0xb9df7a04 +0, 91, 91, 1, 153600, 0x6f8a9734 +0, 92, 92, 1, 153600, 0xa3d3dbb4 +0, 93, 93, 1, 153600, 0x907a2483 +0, 94, 94, 1, 153600, 0xf4816ad3 +0, 95, 95, 1, 153600, 0x4e9195e3 +0, 96, 96, 1, 153600, 0xf486a373 +0, 97, 97, 1, 153600, 0x8f6aa693 +0, 98, 98, 1, 153600, 0x8f6aa693 +0, 99, 99, 1, 153600, 0x8f6aa693 +0, 100, 100, 1, 153600, 0x8f6aa693 +0, 101, 101, 1, 153600, 0x8f6aa693 +0, 102, 102, 1, 153600, 0x8f6aa693 +0, 103, 103, 1, 153600, 0x17d9c117 +0, 104, 104, 1, 153600, 0x17d9c117 +0, 105, 105, 1, 153600, 0x17d9c117 +0, 106, 106, 1, 153600, 0x17d9c117 +0, 107, 107, 1, 153600, 0x17d9c117 +0, 108, 108, 1, 153600, 0x7a47386f +0, 109, 109, 1, 153600, 0x7a47386f +0, 110, 110, 1, 153600, 0x7a47386f +0, 111, 111, 1, 153600, 0x7a47386f +0, 112, 112, 1, 153600, 0x7a47386f +0, 113, 113, 1, 153600, 0x829dccaa +0, 114, 114, 1, 153600, 0x829dccaa +0, 115, 115, 1, 153600, 0x829dccaa +0, 116, 116, 1, 153600, 0x829dccaa +0, 117, 117, 1, 153600, 0x829dccaa +0, 118, 118, 1, 153600, 0x2d58ab4a +0, 119, 119, 1, 153600, 0x2d58ab4a +0, 120, 120, 1, 153600, 0x2d58ab4a +0, 121, 121, 1, 153600, 0x2d58ab4a +0, 122, 122, 1, 153600, 0x2d58ab4a +0, 123, 123, 1, 153600, 0x2d58ab4a +0, 124, 124, 1, 153600, 0x2d58ab4a +0, 125, 125, 1, 153600, 0x2d58ab4a +0, 126, 126, 1, 153600, 0x2d58ab4a +0, 127, 127, 1, 153600, 0x2d58ab4a +0, 128, 128, 1, 153600, 0x2d58ab4a +0, 129, 129, 1, 153600, 0x2d58ab4a +0, 130, 130, 1, 153600, 0x2d58ab4a +0, 131, 131, 1, 153600, 0x2d58ab4a +0, 132, 132, 1, 153600, 0x2d58ab4a +0, 133, 133, 1, 153600, 0x2d58ab4a +0, 134, 134, 1, 153600, 0x2d58ab4a +0, 135, 135, 1, 153600, 0x2d58ab4a +0, 136, 136, 1, 153600, 0x2d58ab4a +0, 137, 137, 1, 153600, 0x2d58ab4a +0, 138, 138, 1, 153600, 0x2d58ab4a +0, 139, 139, 1, 153600, 0x2d58ab4a +0, 140, 140, 1, 153600, 0x2d58ab4a +0, 141, 141, 1, 153600, 0x2d58ab4a +0, 142, 142, 1, 153600, 0x2d58ab4a +0, 143, 143, 1, 153600, 0x2d58ab4a +0, 144, 144, 1, 153600, 0x2d58ab4a +0, 145, 145, 1, 153600, 0x2d58ab4a +0, 146, 146, 1, 153600, 0x2d58ab4a +0, 147, 147, 1, 153600, 0x2d58ab4a +0, 148, 148, 1, 153600, 0x2d58ab4a +0, 149, 149, 1, 153600, 0x2d58ab4a +0, 150, 150, 1, 153600, 0x2d58ab4a +0, 151, 151, 1, 153600, 0x2d58ab4a +0, 152, 152, 1, 153600, 0x2d58ab4a +0, 153, 153, 1, 153600, 0x2d58ab4a +0, 154, 154, 1, 153600, 0x2d58ab4a +0, 155, 155, 1, 153600, 0x2d58ab4a +0, 156, 156, 1, 153600, 0x2d58ab4a +0, 157, 157, 1, 153600, 0x2d58ab4a +0, 158, 158, 1, 153600, 0x2d58ab4a +0, 159, 159, 1, 153600, 0x2d58ab4a +0, 160, 160, 1, 153600, 0x2d58ab4a +0, 161, 161, 1, 153600, 0x2d58ab4a +0, 162, 162, 1, 153600, 0x2d58ab4a +0, 163, 163, 1, 153600, 0x2d58ab4a +0, 164, 164, 1, 153600, 0x2d58ab4a +0, 165, 165, 1, 153600, 0x2d58ab4a +0, 166, 166, 1, 153600, 0x2d58ab4a +0, 167, 167, 1, 153600, 0x2d58ab4a +0, 168, 168, 1, 153600, 0x2d58ab4a +0, 169, 169, 1, 153600, 0x2d58ab4a +0, 170, 170, 1, 153600, 0x2d58ab4a +0, 171, 171, 1, 153600, 0x2d58ab4a +0, 172, 172, 1, 153600, 0x2d58ab4a +0, 173, 173, 1, 153600, 0x2d58ab4a +0, 174, 174, 1, 153600, 0x2d58ab4a +0, 175, 175, 1, 153600, 0x2d58ab4a +0, 176, 176, 1, 153600, 0x2d58ab4a +0, 177, 177, 1, 153600, 0x2d58ab4a +0, 178, 178, 1, 153600, 0x2d58ab4a +0, 179, 179, 1, 153600, 0x2d58ab4a +0, 180, 180, 1, 153600, 0x2d58ab4a +0, 181, 181, 1, 153600, 0x2d58ab4a +0, 182, 182, 1, 153600, 0x2d58ab4a +0, 183, 183, 1, 153600, 0x2d58ab4a +0, 184, 184, 1, 153600, 0x2d58ab4a +0, 185, 185, 1, 153600, 0x2d58ab4a +0, 186, 186, 1, 153600, 0x2d58ab4a +0, 187, 187, 1, 153600, 0x2d58ab4a +0, 188, 188, 1, 153600, 0x2d58ab4a +0, 189, 189, 1, 153600, 0x2d58ab4a +0, 190, 190, 1, 153600, 0x2d58ab4a +0, 191, 191, 1, 153600, 0x2d58ab4a +0, 192, 192, 1, 153600, 0x2d58ab4a +0, 193, 193, 1, 153600, 0x2d58ab4a +0, 194, 194, 1, 153600, 0x2d58ab4a +0, 195, 195, 1, 153600, 0x2d58ab4a +0, 196, 196, 1, 153600, 0x2d58ab4a +0, 197, 197, 1, 153600, 0x2d58ab4a +0, 198, 198, 1, 153600, 0x2d58ab4a +0, 199, 199, 1, 153600, 0x2d58ab4a +0, 200, 200, 1, 153600, 0x2d58ab4a +0, 201, 201, 1, 153600, 0x2d58ab4a +0, 202, 202, 1, 153600, 0x2d58ab4a +0, 203, 203, 1, 153600, 0x2d58ab4a +0, 204, 204, 1, 153600, 0x2d58ab4a +0, 205, 205, 1, 153600, 0x2d58ab4a +0, 206, 206, 1, 153600, 0x2d58ab4a +0, 207, 207, 1, 153600, 0x2d58ab4a +0, 208, 208, 1, 153600, 0x2d58ab4a +0, 209, 209, 1, 153600, 0x2d58ab4a +0, 210, 210, 1, 153600, 0x2d58ab4a +0, 211, 211, 1, 153600, 0x2d58ab4a +0, 212, 212, 1, 153600, 0x2d58ab4a +0, 213, 213, 1, 153600, 0x2d58ab4a +0, 214, 214, 1, 153600, 0x2d58ab4a +0, 215, 215, 1, 153600, 0x2d58ab4a +0, 216, 216, 1, 153600, 0x2d58ab4a +0, 217, 217, 1, 153600, 0x2d58ab4a +0, 218, 218, 1, 153600, 0x2d58ab4a +0, 219, 219, 1, 153600, 0x2d58ab4a +0, 220, 220, 1, 153600, 0x2d58ab4a +0, 221, 221, 1, 153600, 0x2d58ab4a +0, 222, 222, 1, 153600, 0x2d58ab4a +0, 223, 223, 1, 153600, 0x2d58ab4a +0, 224, 224, 1, 153600, 0x2d58ab4a +0, 225, 225, 1, 153600, 0x2d58ab4a +0, 226, 226, 1, 153600, 0x2d58ab4a +0, 227, 227, 1, 153600, 0x2d58ab4a +0, 228, 228, 1, 153600, 0x2d58ab4a +0, 229, 229, 1, 153600, 0x2d58ab4a +0, 230, 230, 1, 153600, 0x2d58ab4a +0, 231, 231, 1, 153600, 0x2d58ab4a +0, 232, 232, 1, 153600, 0x2d58ab4a +0, 233, 233, 1, 153600, 0x2d58ab4a +0, 234, 234, 1, 153600, 0x2d58ab4a +0, 235, 235, 1, 153600, 0x2d58ab4a +0, 236, 236, 1, 153600, 0x2d58ab4a +0, 237, 237, 1, 153600, 0x2d58ab4a +0, 238, 238, 1, 153600, 0x2d58ab4a +0, 239, 239, 1, 153600, 0x2d58ab4a +0, 240, 240, 1, 153600, 0x2d58ab4a +0, 241, 241, 1, 153600, 0x2d58ab4a +0, 242, 242, 1, 153600, 0x2d58ab4a +0, 243, 243, 1, 153600, 0x2d58ab4a +0, 244, 244, 1, 153600, 0x2d58ab4a +0, 245, 245, 1, 153600, 0x2d58ab4a +0, 246, 246, 1, 153600, 0x2d58ab4a +0, 247, 247, 1, 153600, 0x2d58ab4a +0, 248, 248, 1, 153600, 0x2d58ab4a +0, 249, 249, 1, 153600, 0x2d58ab4a +0, 250, 250, 1, 153600, 0x2d58ab4a +0, 251, 251, 1, 153600, 0x2d58ab4a +0, 252, 252, 1, 153600, 0x2d58ab4a +0, 253, 253, 1, 153600, 0x2d58ab4a +0, 254, 254, 1, 153600, 0x2d58ab4a +0, 255, 255, 1, 153600, 0x2d58ab4a +0, 256, 256, 1, 153600, 0x2d58ab4a +0, 257, 257, 1, 153600, 0x2d58ab4a +0, 258, 258, 1, 153600, 0x2d58ab4a +0, 259, 259, 1, 153600, 0x2d58ab4a +0, 260, 260, 1, 153600, 0x2d58ab4a +0, 261, 261, 1, 153600, 0x2d58ab4a +0, 262, 262, 1, 153600, 0x2d58ab4a +0, 263, 263, 1, 153600, 0x2d58ab4a +0, 264, 264, 1, 153600, 0x2d58ab4a +0, 265, 265, 1, 153600, 0x2d58ab4a +0, 266, 266, 1, 153600, 0x2d58ab4a +0, 267, 267, 1, 153600, 0x2d58ab4a +0, 268, 268, 1, 153600, 0x2d58ab4a +0, 269, 269, 1, 153600, 0x2d58ab4a +0, 270, 270, 1, 153600, 0x2d58ab4a +0, 271, 271, 1, 153600, 0x2d58ab4a +0, 272, 272, 1, 153600, 0x2d58ab4a +0, 273, 273, 1, 153600, 0x2d58ab4a +0, 274, 274, 1, 153600, 0x2d58ab4a +0, 275, 275, 1, 153600, 0x2d58ab4a +0, 276, 276, 1, 153600, 0x2d58ab4a +0, 277, 277, 1, 153600, 0x2d58ab4a +0, 278, 278, 1, 153600, 0x2d58ab4a +0, 279, 279, 1, 153600, 0x2d58ab4a +0, 280, 280, 1, 153600, 0x2d58ab4a +0, 281, 281, 1, 153600, 0x2d58ab4a +0, 282, 282, 1, 153600, 0x2d58ab4a +0, 283, 283, 1, 153600, 0x2d58ab4a +0, 284, 284, 1, 153600, 0x7815bb72 +0, 285, 285, 1, 153600, 0x47ec1353 +0, 286, 286, 1, 153600, 0x6599fabc +0, 287, 287, 1, 153600, 0x3d8a8690 +0, 288, 288, 1, 153600, 0xc0bc1ba5 +0, 289, 289, 1, 153600, 0x07368f2a +0, 290, 290, 1, 153600, 0x81c54b89 +0, 291, 291, 1, 153600, 0xbfcae7bf +0, 292, 292, 1, 153600, 0x1348310e +0, 293, 293, 1, 153600, 0xb5489dad +0, 294, 294, 1, 153600, 0xa1eb1408 +0, 295, 295, 1, 153600, 0x15e1832c +0, 296, 296, 1, 153600, 0xb789cba5 +0, 297, 297, 1, 153600, 0x3ee86e4f +0, 298, 298, 1, 153600, 0x06ea3883 +0, 299, 299, 1, 153600, 0xcedd02b7 +0, 300, 300, 1, 153600, 0xbce6ce58 +0, 301, 301, 1, 153600, 0xaadf9a00 +0, 302, 302, 1, 153600, 0x98c865a0 +0, 303, 303, 1, 153600, 0x4c8432e0 +0, 304, 304, 1, 153600, 0x00000000 +0, 305, 305, 1, 153600, 0x00000000 +0, 306, 306, 1, 153600, 0x00000000 +0, 307, 307, 1, 153600, 0x00000000 +0, 308, 308, 1, 153600, 0x00000000 +0, 309, 309, 1, 153600, 0x00000000 +0, 310, 310, 1, 153600, 0x00000000 +0, 311, 311, 1, 153600, 0x00000000 +0, 312, 312, 1, 153600, 0x00000000