From 5fa252b212d1e042262e000ad1e3af3e0c91377c Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Tue, 28 May 2013 13:41:41 +0200 Subject: tests: add mcdeint tests --- tests/fate/filter-video.mak | 9 ++++++++- tests/ref/fate/filter-mcdeint-fast | 31 +++++++++++++++++++++++++++++++ tests/ref/fate/filter-mcdeint-medium | 31 +++++++++++++++++++++++++++++++ 3 files changed, 70 insertions(+), 1 deletion(-) create mode 100644 tests/ref/fate/filter-mcdeint-fast create mode 100644 tests/ref/fate/filter-mcdeint-medium (limited to 'tests') diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak index 2f97b0550a..59786af4f7 100644 --- a/tests/fate/filter-video.mak +++ b/tests/fate/filter-video.mak @@ -9,8 +9,15 @@ fate-filter-yadif-mode1: CMD = framecrc -flags bitexact -idct simple -i $(TARGET FATE_FILTER-$(call FILTERDEMDEC, YADIF, MPEGTS, MPEG2VIDEO) += $(FATE_YADIF) -FATE_SAMPLES_AVCONV += $(FATE_FILTER-yes) +FATE_MCDEINT += fate-filter-mcdeint-fast +fate-filter-mcdeint-fast: CMD = framecrc -flags bitexact -idct simple -i $(SAMPLES)/mpeg2/mpeg2_field_encoding.ts -vframes 30 -vf mcdeint=fast + +FATE_MCDEINT += fate-filter-mcdeint-medium +fate-filter-mcdeint-medium: CMD = framecrc -flags bitexact -idct simple -i $(SAMPLES)/mpeg2/mpeg2_field_encoding.ts -vframes 30 -vf mcdeint=mode=medium +FATE_FILTER-$(call ALLYES, MCDEINT_FILTER, MPEGTS_DEMUXER, MPEG2VIDEO_DECODER SNOW_ENCODER) += $(FATE_MCDEINT) + +FATE_SAMPLES_AVCONV += $(FATE_FILTER-yes) FATE_FILTER-$(call ALLYES, AVDEVICE LIFE_FILTER) += fate-filter-lavd-life fate-filter-lavd-life: CMD = framecrc -f lavfi -i life=s=40x40:r=5:seed=42:mold=64:ratio=0.1:death_color=red:life_color=green -t 2 diff --git a/tests/ref/fate/filter-mcdeint-fast b/tests/ref/fate/filter-mcdeint-fast new file mode 100644 index 0000000000..000d43bd33 --- /dev/null +++ b/tests/ref/fate/filter-mcdeint-fast @@ -0,0 +1,31 @@ +#tb 0: 1/25 +0, 9, 9, 1, 622080, 0xb3b66c5c +0, 10, 10, 1, 622080, 0xc6568bd7 +0, 11, 11, 1, 622080, 0xa5b543c3 +0, 12, 12, 1, 622080, 0x4095ac51 +0, 13, 13, 1, 622080, 0xccd8c1d9 +0, 14, 14, 1, 622080, 0x84a88f22 +0, 15, 15, 1, 622080, 0x7273c26b +0, 16, 16, 1, 622080, 0xac188c41 +0, 17, 17, 1, 622080, 0xf32f6fb4 +0, 18, 18, 1, 622080, 0xd696ccce +0, 19, 19, 1, 622080, 0x9778a418 +0, 20, 20, 1, 622080, 0xf2b5be2e +0, 21, 21, 1, 622080, 0x653ee12a +0, 22, 22, 1, 622080, 0xe7fce188 +0, 23, 23, 1, 622080, 0x6e9f1deb +0, 24, 24, 1, 622080, 0x33090aac +0, 25, 25, 1, 622080, 0x840a57f1 +0, 26, 26, 1, 622080, 0x635e430a +0, 27, 27, 1, 622080, 0x52f98809 +0, 28, 28, 1, 622080, 0xc567b6a5 +0, 29, 29, 1, 622080, 0x4134f583 +0, 30, 30, 1, 622080, 0xd02a73bc +0, 31, 31, 1, 622080, 0x763085d6 +0, 32, 32, 1, 622080, 0x77fdc7a6 +0, 33, 33, 1, 622080, 0x77f71b9f +0, 34, 34, 1, 622080, 0x71c91244 +0, 35, 35, 1, 622080, 0xc7b86da5 +0, 36, 36, 1, 622080, 0x1edf8890 +0, 37, 37, 1, 622080, 0x03c82bec +0, 38, 38, 1, 622080, 0x148b6a04 diff --git a/tests/ref/fate/filter-mcdeint-medium b/tests/ref/fate/filter-mcdeint-medium new file mode 100644 index 0000000000..80ba484774 --- /dev/null +++ b/tests/ref/fate/filter-mcdeint-medium @@ -0,0 +1,31 @@ +#tb 0: 1/25 +0, 9, 9, 1, 622080, 0xb3b66c5c +0, 10, 10, 1, 622080, 0xc69368eb +0, 11, 11, 1, 622080, 0x76bdde33 +0, 12, 12, 1, 622080, 0x5a04d7a6 +0, 13, 13, 1, 622080, 0x68eacaec +0, 14, 14, 1, 622080, 0x1e888865 +0, 15, 15, 1, 622080, 0x188ad805 +0, 16, 16, 1, 622080, 0x268e94ce +0, 17, 17, 1, 622080, 0x89da806c +0, 18, 18, 1, 622080, 0x507ec6c9 +0, 19, 19, 1, 622080, 0xf20ba69b +0, 20, 20, 1, 622080, 0x5786a96e +0, 21, 21, 1, 622080, 0xf9d2fd6e +0, 22, 22, 1, 622080, 0x4b69ef51 +0, 23, 23, 1, 622080, 0x19a22b06 +0, 24, 24, 1, 622080, 0x13a30e94 +0, 25, 25, 1, 622080, 0x02435f86 +0, 26, 26, 1, 622080, 0x06794a00 +0, 27, 27, 1, 622080, 0x289e8aea +0, 28, 28, 1, 622080, 0x494ab1a4 +0, 29, 29, 1, 622080, 0xc1c6f5da +0, 30, 30, 1, 622080, 0x1f6d6764 +0, 31, 31, 1, 622080, 0xaa898832 +0, 32, 32, 1, 622080, 0x6935c412 +0, 33, 33, 1, 622080, 0x825e2a67 +0, 34, 34, 1, 622080, 0xd8ee113a +0, 35, 35, 1, 622080, 0x9ffc7f17 +0, 36, 36, 1, 622080, 0xa7819ac8 +0, 37, 37, 1, 622080, 0xa412377d +0, 38, 38, 1, 622080, 0x538376bc -- cgit v1.2.3