From 0b32aff83d87b3a7ddaa59e6dff347b267da99ef Mon Sep 17 00:00:00 2001 From: Petru Rares Sincraian Date: Tue, 19 Apr 2016 17:39:47 +0200 Subject: [PATCH] fate: Add test for mts2 (mss4) codec Signed-off-by: Michael Niedermayer --- tests/fate/microsoft.mak | 6 ++++++ tests/ref/fate/mts2-xesc | 22 ++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 tests/ref/fate/mts2-xesc diff --git a/tests/fate/microsoft.mak b/tests/fate/microsoft.mak index e72d4089492..861eb15a8ec 100644 --- a/tests/fate/microsoft.mak +++ b/tests/fate/microsoft.mak @@ -25,6 +25,12 @@ fate-mss2-wmv: CMD = framecrc -i $(TARGET_SAMPLES)/mss2/msscreencodec.wmv -an -f FATE_SAMPLES_AVCONV-$(call DEMDEC, ASF, MSS2) += $(FATE_MSS2) fate-mss2: $(FATE_MSS2) +FATE_MTS2 += fate-mts2-xesc +fate-mts2-xesc: CMD = framecrc -i $(TARGET_SAMPLES)/mts2/sample.xesc -pix_fmt yuv444p + +FATE_SAMPLES_AVCONV-$(call DEMDEC, ASF, MTS2) += $(FATE_MTS2) +fate-mts2: $(FATE_MTS2) + FATE_MSVIDEO1 += fate-msvideo1-8bit fate-msvideo1-8bit: CMD = framecrc -i $(TARGET_SAMPLES)/cram/skating.avi -t 1 -pix_fmt rgb24 diff --git a/tests/ref/fate/mts2-xesc b/tests/ref/fate/mts2-xesc new file mode 100644 index 00000000000..6d407413fb7 --- /dev/null +++ b/tests/ref/fate/mts2-xesc @@ -0,0 +1,22 @@ +#tb 0: 12/185 +#media_type 0: video +#codec_id 0: rawvideo +#dimensions 0: 1368x768 +#sar 0: 0/1 +0, 0, 0, 1, 3151872, 0x90aa1943 +0, 3, 3, 1, 3151872, 0xbbe670de +0, 4, 4, 1, 3151872, 0x818d8c1c +0, 5, 5, 1, 3151872, 0xc2cf510d +0, 6, 6, 1, 3151872, 0xff904cda +0, 7, 7, 1, 3151872, 0xc843fce8 +0, 8, 8, 1, 3151872, 0xbfc24e6e +0, 9, 9, 1, 3151872, 0x5eea45bc +0, 10, 10, 1, 3151872, 0x86634b52 +0, 11, 11, 1, 3151872, 0x86634b52 +0, 12, 12, 1, 3151872, 0x86634b52 +0, 13, 13, 1, 3151872, 0x86634b52 +0, 14, 14, 1, 3151872, 0x86634b52 +0, 15, 15, 1, 3151872, 0x86634b52 +0, 16, 16, 1, 3151872, 0x86634b52 +0, 17, 17, 1, 3151872, 0xaf542632 +0, 18, 18, 1, 3151872, 0x8f16cdaf -- 2.39.2