Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2016-09-08 12:14:42 +0300
committerPaul B Mahol <onemda@gmail.com>2016-09-08 12:14:42 +0300
commit26a19f8e92782fa803fc274b5501200d218c2735 (patch)
treecba58ef3b3982704d3013e94f516258f42317f17 /tests
parentae31ab807001e6e90eac5a79ee0b61c5e727138c (diff)
fate: add shuffleframes test
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/filter-video.mak5
-rw-r--r--tests/ref/fate/filter-shuffleframes53
2 files changed, 58 insertions, 0 deletions
diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index 00848028db..ca0057b3ca 100644
--- a/tests/fate/filter-video.mak
+++ b/tests/fate/filter-video.mak
@@ -264,6 +264,11 @@ FATE_FILTER_VSYNTH-$(call ALLYES, SETPTS_FILTER SETTB_FILTER) += fate-filter-se
fate-filter-setpts: tests/data/filtergraphs/setpts
fate-filter-setpts: CMD = framecrc -c:v pgmyuv -i $(SRC) -filter_script $(TARGET_PATH)/tests/data/filtergraphs/setpts
+FATE_SHUFFLEFRAMES += fate-filter-shuffleframes
+fate-filter-shuffleframes: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf shuffleframes="2|1|0"
+
+FATE_FILTER_VSYNTH-$(CONFIG_SHUFFLEFRAMES_FILTER) += $(FATE_SHUFFLEFRAMES)
+
FATE_SHUFFLEPLANES += fate-filter-shuffleplanes-dup-luma
fate-filter-shuffleplanes-dup-luma: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf format=yuva444p,shuffleplanes=0:0:0:0
diff --git a/tests/ref/fate/filter-shuffleframes b/tests/ref/fate/filter-shuffleframes
new file mode 100644
index 0000000000..58d98540c1
--- /dev/null
+++ b/tests/ref/fate/filter-shuffleframes
@@ -0,0 +1,53 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 0/1
+0, 0, 0, 1, 152064, 0x9dddf64a
+0, 1, 1, 1, 152064, 0x4bb46551
+0, 2, 2, 1, 152064, 0x05b789ef
+0, 3, 3, 1, 152064, 0xedb5a8e6
+0, 4, 4, 1, 152064, 0x4de3b652
+0, 5, 5, 1, 152064, 0x2a8380b0
+0, 6, 6, 1, 152064, 0x1f1b8026
+0, 7, 7, 1, 152064, 0x5ab58bac
+0, 8, 8, 1, 152064, 0xe20f7c23
+0, 9, 9, 1, 152064, 0x30f5fcd5
+0, 10, 10, 1, 152064, 0x02344760
+0, 11, 11, 1, 152064, 0x91373915
+0, 12, 12, 1, 152064, 0x52a48ddd
+0, 13, 13, 1, 152064, 0x24eca223
+0, 14, 14, 1, 152064, 0xc711ad61
+0, 15, 15, 1, 152064, 0xb15d38c8
+0, 16, 16, 1, 152064, 0x8e364e18
+0, 17, 17, 1, 152064, 0xa91c0f05
+0, 18, 18, 1, 152064, 0xfc7bf570
+0, 19, 19, 1, 152064, 0xf34ddbff
+0, 20, 20, 1, 152064, 0xf25f6acc
+0, 21, 21, 1, 152064, 0x2f2768ef
+0, 22, 22, 1, 152064, 0x445d1d59
+0, 23, 23, 1, 152064, 0x9dc72412
+0, 24, 24, 1, 152064, 0x43d796b5
+0, 25, 25, 1, 152064, 0x95579936
+0, 26, 26, 1, 152064, 0xce09f9d6
+0, 27, 27, 1, 152064, 0x6dc3650e
+0, 28, 28, 1, 152064, 0x76d2a455
+0, 29, 29, 1, 152064, 0xd780d887
+0, 30, 30, 1, 152064, 0xd766fc8d
+0, 31, 31, 1, 152064, 0xe295c51e
+0, 32, 32, 1, 152064, 0x0f9d6aca
+0, 33, 33, 1, 152064, 0xfa8d94fb
+0, 34, 34, 1, 152064, 0x7fea4378
+0, 35, 35, 1, 152064, 0xe22f7a30
+0, 36, 36, 1, 152064, 0x0b07594c
+0, 37, 37, 1, 152064, 0xa50d01f8
+0, 38, 38, 1, 152064, 0x4c9737ab
+0, 39, 39, 1, 152064, 0xd4e49e08
+0, 40, 40, 1, 152064, 0xd2735925
+0, 41, 41, 1, 152064, 0x88734edd
+0, 42, 42, 1, 152064, 0xfd500471
+0, 43, 43, 1, 152064, 0x575c20ec
+0, 44, 44, 1, 152064, 0x20cebfa9
+0, 45, 45, 1, 152064, 0x6e88c5c2
+0, 46, 46, 1, 152064, 0x09ef53ff
+0, 47, 47, 1, 152064, 0x61b47e73