diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2013-11-05 16:00:49 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-01-09 23:13:05 +0100 |
commit | 11d704dc94c029058ac366f85951f6728638fb9c (patch) | |
tree | b7e61f4ffc699735d154ae2969c0cb30ab08f81c /tests | |
parent | a7d0e7ead95e584c4866617f046b2493066975c6 (diff) | |
download | ffmpeg-streaming-11d704dc94c029058ac366f85951f6728638fb9c.zip ffmpeg-streaming-11d704dc94c029058ac366f85951f6728638fb9c.tar.gz |
fate: add framepack filter test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fate/filter-video.mak | 8 | ||||
-rw-r--r-- | tests/ref/fate/filter-framepack-columns | 16 | ||||
-rw-r--r-- | tests/ref/fate/filter-framepack-frameseq | 16 | ||||
-rw-r--r-- | tests/ref/fate/filter-framepack-lines | 16 | ||||
-rw-r--r-- | tests/ref/fate/filter-framepack-sbs | 16 | ||||
-rw-r--r-- | tests/ref/fate/filter-framepack-tab | 16 |
6 files changed, 88 insertions, 0 deletions
diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak index 4191af3..8920701 100644 --- a/tests/fate/filter-video.mak +++ b/tests/fate/filter-video.mak @@ -24,6 +24,14 @@ fate-filter-fade: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf fade=in:0:25,fade=out FATE_FILTER_VSYNTH-$(call ALLYES, INTERLACE_FILTER FIELDORDER_FILTER) += fate-filter-fieldorder fate-filter-fieldorder: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf interlace=tff,fieldorder=bff -sws_flags +accurate_rnd+bitexact +define FATE_FPFILTER_SUITE +FATE_FILTER_VSYNTH-$(CONFIG_FRAMEPACK_FILTER) += fate-filter-framepack-$(1) +fate-filter-framepack-$(1): CMD = framecrc -c:v pgmyuv -i $(TARGET_PATH)/tests/vsynth1/%02d.pgm -c:v pgmyuv -i $(TARGET_PATH)/tests/vsynth1/%02d.pgm -filter_complex framepack=$(1) -frames 15 +endef + +FPMODES = columns frameseq lines sbs tab +$(foreach MODE,$(FPMODES),$(eval $(call FATE_FPFILTER_SUITE,$(MODE)))) + FATE_FILTER_VSYNTH-$(CONFIG_GRADFUN_FILTER) += fate-filter-gradfun fate-filter-gradfun: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf gradfun diff --git a/tests/ref/fate/filter-framepack-columns b/tests/ref/fate/filter-framepack-columns new file mode 100644 index 0000000..f387632 --- /dev/null +++ b/tests/ref/fate/filter-framepack-columns @@ -0,0 +1,16 @@ +#tb 0: 1/25 +0, 0, 0, 1, 304128, 0x8cde13ed +0, 1, 1, 1, 304128, 0xc97fcaa2 +0, 2, 2, 1, 304128, 0x8139eca3 +0, 3, 3, 1, 304128, 0x295c016f +0, 4, 4, 1, 304128, 0x813a6cb3 +0, 5, 5, 1, 304128, 0x0e1b51db +0, 6, 6, 1, 304128, 0x0c46f846 +0, 7, 7, 1, 304128, 0xdf281767 +0, 8, 8, 1, 304128, 0xfc37005b +0, 9, 9, 1, 304128, 0x0be5722a +0, 10, 10, 1, 304128, 0xc1618ec0 +0, 11, 11, 1, 304128, 0xc6f0f9b9 +0, 12, 12, 1, 304128, 0x6f015ad1 +0, 13, 13, 1, 304128, 0xf17e4455 +0, 14, 14, 1, 304128, 0xbcb31bc9 diff --git a/tests/ref/fate/filter-framepack-frameseq b/tests/ref/fate/filter-framepack-frameseq new file mode 100644 index 0000000..83c08a0 --- /dev/null +++ b/tests/ref/fate/filter-framepack-frameseq @@ -0,0 +1,16 @@ +#tb 0: 1/50 +0, 0, 0, 1, 152064, 0x05b789ef +0, 1, 1, 1, 152064, 0x05b789ef +0, 2, 2, 1, 152064, 0x4bb46551 +0, 3, 3, 1, 152064, 0x4bb46551 +0, 4, 4, 1, 152064, 0x9dddf64a +0, 5, 5, 1, 152064, 0x9dddf64a +0, 6, 6, 1, 152064, 0x2a8380b0 +0, 7, 7, 1, 152064, 0x2a8380b0 +0, 8, 8, 1, 152064, 0x4de3b652 +0, 9, 9, 1, 152064, 0x4de3b652 +0, 10, 10, 1, 152064, 0xedb5a8e6 +0, 11, 11, 1, 152064, 0xedb5a8e6 +0, 12, 12, 1, 152064, 0xe20f7c23 +0, 13, 13, 1, 152064, 0xe20f7c23 +0, 14, 14, 1, 152064, 0x5ab58bac diff --git a/tests/ref/fate/filter-framepack-lines b/tests/ref/fate/filter-framepack-lines new file mode 100644 index 0000000..d714462 --- /dev/null +++ b/tests/ref/fate/filter-framepack-lines @@ -0,0 +1,16 @@ +#tb 0: 1/25 +0, 0, 0, 1, 304128, 0x901a13ed +0, 1, 1, 1, 304128, 0x793ccaa2 +0, 2, 2, 1, 304128, 0x9eafeca3 +0, 3, 3, 1, 304128, 0x18f0016f +0, 4, 4, 1, 304128, 0xc90f6cb3 +0, 5, 5, 1, 304128, 0x82d751db +0, 6, 6, 1, 304128, 0x7cd2f846 +0, 7, 7, 1, 304128, 0xb3801767 +0, 8, 8, 1, 304128, 0x3372005b +0, 9, 9, 1, 304128, 0x822a722a +0, 10, 10, 1, 304128, 0x05908ec0 +0, 11, 11, 1, 304128, 0xabbbf9b9 +0, 12, 12, 1, 304128, 0x1b345ad1 +0, 13, 13, 1, 304128, 0x6ccd4455 +0, 14, 14, 1, 304128, 0xad541bc9 diff --git a/tests/ref/fate/filter-framepack-sbs b/tests/ref/fate/filter-framepack-sbs new file mode 100644 index 0000000..d714462 --- /dev/null +++ b/tests/ref/fate/filter-framepack-sbs @@ -0,0 +1,16 @@ +#tb 0: 1/25 +0, 0, 0, 1, 304128, 0x901a13ed +0, 1, 1, 1, 304128, 0x793ccaa2 +0, 2, 2, 1, 304128, 0x9eafeca3 +0, 3, 3, 1, 304128, 0x18f0016f +0, 4, 4, 1, 304128, 0xc90f6cb3 +0, 5, 5, 1, 304128, 0x82d751db +0, 6, 6, 1, 304128, 0x7cd2f846 +0, 7, 7, 1, 304128, 0xb3801767 +0, 8, 8, 1, 304128, 0x3372005b +0, 9, 9, 1, 304128, 0x822a722a +0, 10, 10, 1, 304128, 0x05908ec0 +0, 11, 11, 1, 304128, 0xabbbf9b9 +0, 12, 12, 1, 304128, 0x1b345ad1 +0, 13, 13, 1, 304128, 0x6ccd4455 +0, 14, 14, 1, 304128, 0xad541bc9 diff --git a/tests/ref/fate/filter-framepack-tab b/tests/ref/fate/filter-framepack-tab new file mode 100644 index 0000000..0346f06 --- /dev/null +++ b/tests/ref/fate/filter-framepack-tab @@ -0,0 +1,16 @@ +#tb 0: 1/25 +0, 0, 0, 1, 304128, 0x0b6b13ed +0, 1, 1, 1, 304128, 0x406bcaa2 +0, 2, 2, 1, 304128, 0xb0deeca3 +0, 3, 3, 1, 304128, 0x5781016f +0, 4, 4, 1, 304128, 0xff6c6cb3 +0, 5, 5, 1, 304128, 0x197151db +0, 6, 6, 1, 304128, 0xca1cf846 +0, 7, 7, 1, 304128, 0x396e1767 +0, 8, 8, 1, 304128, 0x0215005b +0, 9, 9, 1, 304128, 0xd9ae722a +0, 10, 10, 1, 304128, 0xd0f98ec0 +0, 11, 11, 1, 304128, 0x1d0ef9b9 +0, 12, 12, 1, 304128, 0xef005ad1 +0, 13, 13, 1, 304128, 0x00564455 +0, 14, 14, 1, 304128, 0xe3eb1bc9 |