Signed-off-by: Paul B Mahol <[email protected]> --- tests/Makefile | 1 + tests/fate/cdxl.mak | 14 +++++++++ tests/ref/fate/cdxl-ham6 | 24 +++++++++++++++ tests/ref/fate/cdxl-ham8 | 14 +++++++++ tests/ref/fate/cdxl-pal8 | 13 ++++++++ tests/ref/fate/cdxl-pal8-small | 62 ++++++++++++++++++++++++++++++++++++++++ 6 files changed, 128 insertions(+), 0 deletions(-) create mode 100644 tests/fate/cdxl.mak create mode 100644 tests/ref/fate/cdxl-ham6 create mode 100644 tests/ref/fate/cdxl-ham8 create mode 100644 tests/ref/fate/cdxl-pal8 create mode 100644 tests/ref/fate/cdxl-pal8-small
diff --git a/tests/Makefile b/tests/Makefile index 85665d9..fcbb55e 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -29,6 +29,7 @@ include $(SRC_PATH)/tests/fate/amrnb.mak include $(SRC_PATH)/tests/fate/amrwb.mak include $(SRC_PATH)/tests/fate/atrac.mak include $(SRC_PATH)/tests/fate/audio.mak +include $(SRC_PATH)/tests/fate/cdxl.mak include $(SRC_PATH)/tests/fate/dct.mak include $(SRC_PATH)/tests/fate/demux.mak include $(SRC_PATH)/tests/fate/dfa.mak diff --git a/tests/fate/cdxl.mak b/tests/fate/cdxl.mak new file mode 100644 index 0000000..2717c8c --- /dev/null +++ b/tests/fate/cdxl.mak @@ -0,0 +1,14 @@ +FATE_CDXL += fate-cdxl-ham6 +fate-cdxl-ham6: CMD = framecrc -i $(SAMPLES)/cdxl/cat.cdxl -t 1 + +FATE_CDXL += fate-cdxl-ham8 +fate-cdxl-ham8: CMD = framecrc -i $(SAMPLES)/cdxl/mirage.cdxl -t 1 + +FATE_CDXL += fate-cdxl-pal8 +fate-cdxl-pal8: CMD = framecrc -i $(SAMPLES)/cdxl/maku.cdxl -pix_fmt rgb24 -t 1 + +FATE_CDXL += fate-cdxl-pal8-small +fate-cdxl-pal8-small: CMD = framecrc -i $(SAMPLES)/cdxl/fruit.cdxl -pix_fmt rgb24 -t 1 + +FATE_TESTS += $(FATE_CDXL) +fate-cdxl: $(FATE_CDXL) diff --git a/tests/ref/fate/cdxl-ham6 b/tests/ref/fate/cdxl-ham6 new file mode 100644 index 0000000..1f94678 --- /dev/null +++ b/tests/ref/fate/cdxl-ham6 @@ -0,0 +1,24 @@ +#tb 0: 52/525 +#tb 1: 1/11025 +0, 0, 0, 1, 57600, 0x87887a7b +1, 0, 0, 1092, 2184, 0x6543d7e6 +0, 1, 1, 1, 57600, 0x10c301d2 +1, 1092, 1092, 1092, 2184, 0x0b09a14e +0, 2, 2, 1, 57600, 0xd1a6f910 +1, 2184, 2184, 1092, 2184, 0xfeb78956 +0, 3, 3, 1, 57600, 0x20242bb9 +1, 3276, 3276, 1092, 2184, 0xa0b2ad90 +0, 4, 4, 1, 57600, 0xae33cb7f +1, 4368, 4368, 1092, 2184, 0xe3f47fc2 +0, 5, 5, 1, 57600, 0x501b82c8 +1, 5460, 5460, 1092, 2184, 0x9f7e7318 +0, 6, 6, 1, 57600, 0x84199043 +1, 6552, 6552, 1092, 2184, 0xfca9918c +0, 7, 7, 1, 57600, 0x946a6dbb +1, 7644, 7644, 1092, 2184, 0x04d69439 +0, 8, 8, 1, 57600, 0xeacea671 +1, 8736, 8736, 1092, 2184, 0xb4d4f32a +0, 9, 9, 1, 57600, 0x77b8723f +1, 9828, 9828, 1092, 2184, 0x460ce5e8 +0, 10, 10, 1, 57600, 0x371cdb09 +1, 10920, 10920, 1092, 2184, 0x6cbaca6d diff --git a/tests/ref/fate/cdxl-ham8 b/tests/ref/fate/cdxl-ham8 new file mode 100644 index 0000000..05721aa --- /dev/null +++ b/tests/ref/fate/cdxl-ham8 @@ -0,0 +1,14 @@ +#tb 0: 3/158 +#tb 1: 1/11025 +0, 0, 0, 1, 67584, 0xce0cade5 +1, 0, 0, 1884, 3768, 0xaed75e3e +1, 1884, 1884, 1884, 3768, 0x873aab65 +0, 9, 9, 1, 67584, 0xce0cade5 +1, 3768, 3768, 1884, 3768, 0x91536e47 +0, 18, 18, 1, 67584, 0xce0cade5 +1, 5652, 5652, 1884, 3768, 0x0b69878e +0, 27, 27, 1, 67584, 0xce0cade5 +1, 7536, 7536, 1884, 3768, 0x14b1c4c8 +0, 36, 36, 1, 67584, 0xce0cade5 +1, 9420, 9420, 1884, 3768, 0x40fbce5f +0, 45, 45, 1, 67584, 0xce0cade5 diff --git a/tests/ref/fate/cdxl-pal8 b/tests/ref/fate/cdxl-pal8 new file mode 100644 index 0000000..939c312 --- /dev/null +++ b/tests/ref/fate/cdxl-pal8 @@ -0,0 +1,13 @@ +#tb 0: 12/601 +0, 0, 0, 1, 67584, 0x5eae629b +0, 1, 1, 1, 67584, 0x32591227 +0, 2, 2, 1, 67584, 0x4e4424c7 +0, 3, 3, 1, 67584, 0x70db0134 +0, 4, 4, 1, 67584, 0x3550ed0b +0, 5, 5, 1, 67584, 0x86fe3eef +0, 6, 6, 1, 67584, 0x3414bb33 +0, 7, 7, 1, 67584, 0x667bfb91 +0, 8, 8, 1, 67584, 0x6e1a4ccb +0, 9, 9, 1, 67584, 0xf723f9ae +0, 10, 10, 1, 67584, 0x88481d5d +0, 11, 11, 1, 67584, 0x924b4d66 diff --git a/tests/ref/fate/cdxl-pal8-small b/tests/ref/fate/cdxl-pal8-small new file mode 100644 index 0000000..9c80a3f --- /dev/null +++ b/tests/ref/fate/cdxl-pal8-small @@ -0,0 +1,62 @@ +#tb 0: 368/11025 +#tb 1: 1/11025 +0, 0, 0, 1, 30720, 0x0d552cfd +1, 0, 0, 368, 736, 0xe440f0dc +0, 1, 1, 1, 30720, 0x3cf93291 +1, 368, 368, 368, 736, 0x437bbd91 +0, 2, 2, 1, 30720, 0xe45b2868 +1, 736, 736, 368, 736, 0xd90caac3 +0, 3, 3, 1, 30720, 0xb5df289b +1, 1104, 1104, 368, 736, 0x9940a125 +0, 4, 4, 1, 30720, 0x2562259e +1, 1472, 1472, 368, 736, 0xf6ad89ce +0, 5, 5, 1, 30720, 0xbf171878 +1, 1840, 1840, 368, 736, 0x629fa9b6 +0, 6, 6, 1, 30720, 0x695b1d73 +1, 2208, 2208, 368, 736, 0x6485b194 +0, 7, 7, 1, 30720, 0x89ef1614 +1, 2576, 2576, 368, 736, 0x416cc336 +0, 8, 8, 1, 30720, 0xe12a1dd9 +1, 2944, 2944, 368, 736, 0x3218a6f7 +0, 9, 9, 1, 30720, 0x49622ffa +1, 3312, 3312, 368, 736, 0xee7fcfe7 +0, 10, 10, 1, 30720, 0xd6832703 +1, 3680, 3680, 368, 736, 0xeb52c04c +0, 11, 11, 1, 30720, 0xec1d0cb7 +1, 4048, 4048, 368, 736, 0xffeeba2a +0, 12, 12, 1, 30720, 0x8bee0525 +1, 4416, 4416, 368, 736, 0x8390bd45 +0, 13, 13, 1, 30720, 0x1e0cf0c4 +1, 4784, 4784, 368, 736, 0x543ec62b +0, 14, 14, 1, 30720, 0xf83fd9db +1, 5152, 5152, 368, 736, 0x7787af70 +0, 15, 15, 1, 30720, 0xffb0d6ab +1, 5520, 5520, 368, 736, 0x4b8cbd22 +0, 16, 16, 1, 30720, 0xe37fe239 +1, 5888, 5888, 368, 736, 0x0eafb463 +0, 17, 17, 1, 30720, 0x74b0f856 +1, 6256, 6256, 368, 736, 0x9bda9aaf +0, 18, 18, 1, 30720, 0x9c88d3e1 +1, 6624, 6624, 368, 736, 0x685cb0d1 +0, 19, 19, 1, 30720, 0x714db368 +1, 6992, 6992, 368, 736, 0xf433c9d1 +0, 20, 20, 1, 30720, 0x6c8e8860 +1, 7360, 7360, 368, 736, 0x002aabd1 +0, 21, 21, 1, 30720, 0x804968e6 +1, 7728, 7728, 368, 736, 0xe16daab1 +0, 22, 22, 1, 30720, 0x7ac56ae4 +1, 8096, 8096, 368, 736, 0xecf0d4d2 +0, 23, 23, 1, 30720, 0xffd85cbf +1, 8464, 8464, 368, 736, 0xe522c2f7 +0, 24, 24, 1, 30720, 0x1f8455f9 +1, 8832, 8832, 368, 736, 0x9b01b8af +0, 25, 25, 1, 30720, 0x3ae65296 +1, 9200, 9200, 368, 736, 0xc56dbd69 +0, 26, 26, 1, 30720, 0x9e544ecd +1, 9568, 9568, 368, 736, 0x772eb9d3 +0, 27, 27, 1, 30720, 0x35678e5a +1, 9936, 9936, 368, 736, 0xec5fb6e3 +0, 28, 28, 1, 30720, 0x04bae866 +1, 10304, 10304, 368, 736, 0xaddab62a +0, 29, 29, 1, 30720, 0xb126ed94 +1, 10672, 10672, 368, 736, 0x354eaac5 -- 1.7.7 _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
