From 5556392b3b3ccfedfc780a541431b6b83881f7e4 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Fri, 9 Sep 2016 12:49:15 +0200 Subject: [PATCH] fate: add hstack and vstack Signed-off-by: Paul B Mahol --- tests/fate/filter-video.mak | 8 ++++++ tests/filtergraphs/hstack | 1 + tests/filtergraphs/vstack | 1 + tests/ref/fate/filter-hstack | 55 ++++++++++++++++++++++++++++++++++++ tests/ref/fate/filter-vstack | 55 ++++++++++++++++++++++++++++++++++++ 5 files changed, 120 insertions(+) create mode 100644 tests/filtergraphs/hstack create mode 100644 tests/filtergraphs/vstack create mode 100644 tests/ref/fate/filter-hstack create mode 100644 tests/ref/fate/filter-vstack diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak index 39b10f0eb37..e2513f52496 100644 --- a/tests/fate/filter-video.mak +++ b/tests/fate/filter-video.mak @@ -152,6 +152,14 @@ FATE_FILTER_VSYNTH-$(CONFIG_MERGEPLANES_FILTER) += fate-filter-mergeplanes fate-filter-mergeplanes: tests/data/filtergraphs/mergeplanes fate-filter-mergeplanes: CMD = framecrc -c:v pgmyuv -i $(SRC) -c:v pgmyuv -i $(SRC) -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/mergeplanes +FATE_FILTER_VSYNTH-$(CONFIG_HSTACK_FILTER) += fate-filter-hstack +fate-filter-hstack: tests/data/filtergraphs/hstack +fate-filter-hstack: CMD = framecrc -c:v pgmyuv -i $(SRC) -c:v pgmyuv -i $(SRC) -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/hstack + +FATE_FILTER_VSYNTH-$(CONFIG_VSTACK_FILTER) += fate-filter-vstack +fate-filter-vstack: tests/data/filtergraphs/vstack +fate-filter-vstack: CMD = framecrc -c:v pgmyuv -i $(SRC) -c:v pgmyuv -i $(SRC) -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/vstack + FATE_FILTER_VSYNTH-$(CONFIG_OVERLAY_FILTER) += fate-filter-overlay fate-filter-overlay: tests/data/filtergraphs/overlay fate-filter-overlay: CMD = framecrc -c:v pgmyuv -i $(SRC) -c:v pgmyuv -i $(SRC) -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/overlay diff --git a/tests/filtergraphs/hstack b/tests/filtergraphs/hstack new file mode 100644 index 00000000000..ebee1ab4436 --- /dev/null +++ b/tests/filtergraphs/hstack @@ -0,0 +1 @@ +hstack diff --git a/tests/filtergraphs/vstack b/tests/filtergraphs/vstack new file mode 100644 index 00000000000..9f0e13cab74 --- /dev/null +++ b/tests/filtergraphs/vstack @@ -0,0 +1 @@ +vstack diff --git a/tests/ref/fate/filter-hstack b/tests/ref/fate/filter-hstack new file mode 100644 index 00000000000..889afe56bfb --- /dev/null +++ b/tests/ref/fate/filter-hstack @@ -0,0 +1,55 @@ +#tb 0: 1/25 +#media_type 0: video +#codec_id 0: rawvideo +#dimensions 0: 704x288 +#sar 0: 0/1 +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 +0, 15, 15, 1, 304128, 0x16231e0a +0, 16, 16, 1, 304128, 0xb2b29c30 +0, 17, 17, 1, 304128, 0x5c6d7190 +0, 18, 18, 1, 304128, 0x733cd598 +0, 19, 19, 1, 304128, 0x605fb80d +0, 20, 20, 1, 304128, 0x9f21eaef +0, 21, 21, 1, 304128, 0xb6f14824 +0, 22, 22, 1, 304128, 0x78933ab2 +0, 23, 23, 1, 304128, 0x3fd2d1de +0, 24, 24, 1, 304128, 0x62c1f3bb +0, 25, 25, 1, 304128, 0x2d06327b +0, 26, 26, 1, 304128, 0xdbd22d79 +0, 27, 27, 1, 304128, 0x9dc9b11d +0, 28, 28, 1, 304128, 0x059148b9 +0, 29, 29, 1, 304128, 0x04a1ca1c +0, 30, 30, 1, 304128, 0xba39d594 +0, 31, 31, 1, 304128, 0xc38e8a4b +0, 32, 32, 1, 304128, 0x2ea7f929 +0, 33, 33, 1, 304128, 0xfd96f460 +0, 34, 34, 1, 304128, 0x952b86f0 +0, 35, 35, 1, 304128, 0x6bd82a05 +0, 36, 36, 1, 304128, 0x40b96f56 +0, 37, 37, 1, 304128, 0x867003f0 +0, 38, 38, 1, 304128, 0xe6feb298 +0, 39, 39, 1, 304128, 0xec409dba +0, 40, 40, 1, 304128, 0x9816b24a +0, 41, 41, 1, 304128, 0xe2fc3c1f +0, 42, 42, 1, 304128, 0x67227f61 +0, 43, 43, 1, 304128, 0x16e141d8 +0, 44, 44, 1, 304128, 0xed5408e2 +0, 45, 45, 1, 304128, 0x8a14fce6 +0, 46, 46, 1, 304128, 0xecbda7fe +0, 47, 47, 1, 304128, 0xfa0c8b93 +0, 48, 48, 1, 304128, 0x47fe6915 +0, 49, 49, 1, 304128, 0x9570b1e3 diff --git a/tests/ref/fate/filter-vstack b/tests/ref/fate/filter-vstack new file mode 100644 index 00000000000..0c969e7727d --- /dev/null +++ b/tests/ref/fate/filter-vstack @@ -0,0 +1,55 @@ +#tb 0: 1/25 +#media_type 0: video +#codec_id 0: rawvideo +#dimensions 0: 352x576 +#sar 0: 0/1 +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 +0, 15, 15, 1, 304128, 0xd9731e0a +0, 16, 16, 1, 304128, 0xebf39c30 +0, 17, 17, 1, 304128, 0xada17190 +0, 18, 18, 1, 304128, 0x17add598 +0, 19, 19, 1, 304128, 0xcdebb80d +0, 20, 20, 1, 304128, 0xb0d5eaef +0, 21, 21, 1, 304128, 0xd0ed4824 +0, 22, 22, 1, 304128, 0x735c3ab2 +0, 23, 23, 1, 304128, 0x462ed1de +0, 24, 24, 1, 304128, 0x2825f3bb +0, 25, 25, 1, 304128, 0x8f55327b +0, 26, 26, 1, 304128, 0x216e2d79 +0, 27, 27, 1, 304128, 0x2cd4b11d +0, 28, 28, 1, 304128, 0x9f2248b9 +0, 29, 29, 1, 304128, 0x7353ca1c +0, 30, 30, 1, 304128, 0x5e89d594 +0, 31, 31, 1, 304128, 0x81368a4b +0, 32, 32, 1, 304128, 0x1c76f929 +0, 33, 33, 1, 304128, 0x7dd2f460 +0, 34, 34, 1, 304128, 0x85e486f0 +0, 35, 35, 1, 304128, 0x95ac2a05 +0, 36, 36, 1, 304128, 0x0daa6f56 +0, 37, 37, 1, 304128, 0x698e03f0 +0, 38, 38, 1, 304128, 0x2c60b298 +0, 39, 39, 1, 304128, 0x74d59dba +0, 40, 40, 1, 304128, 0xf28bb24a +0, 41, 41, 1, 304128, 0x01ba3c1f +0, 42, 42, 1, 304128, 0x656d7f61 +0, 43, 43, 1, 304128, 0x516341d8 +0, 44, 44, 1, 304128, 0xa06008e2 +0, 45, 45, 1, 304128, 0x0684fce6 +0, 46, 46, 1, 304128, 0x5e99a7fe +0, 47, 47, 1, 304128, 0xe41d8b93 +0, 48, 48, 1, 304128, 0x0cee6915 +0, 49, 49, 1, 304128, 0x89cdb1e3 -- 2.39.5