diff options
author | Michael Niedermayer | 2014-03-06 13:09:06 +0100 |
---|---|---|
committer | Michael Niedermayer | 2014-03-06 13:09:06 +0100 |
commit | 7011aab5018a71d84ff00b375b94a5bb71b44937 (patch) | |
tree | 22911002011a8d0c59fd62770079f56d77b45022 /tests | |
parent | 2fb0027c267dfaa1d6d1f16ebd735c00f99c0d8a (diff) | |
parent | e1f2987b10112489f6da5501d4c8735a798c9e3f (diff) |
Merge commit 'e1f2987b10112489f6da5501d4c8735a798c9e3f'
* commit 'e1f2987b10112489f6da5501d4c8735a798c9e3f':
FATE: add tests for the shuffleplanes filter
Conflicts:
tests/fate/filter-video.mak
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fate/filter-video.mak | 8 | ||||
-rw-r--r-- | tests/ref/fate/filter-shuffleplanes-dup-luma | 51 | ||||
-rw-r--r-- | tests/ref/fate/filter-shuffleplanes-swapuv | 51 |
3 files changed, 110 insertions, 0 deletions
diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak index 68e9f874cf..2f3ed6253b 100644 --- a/tests/fate/filter-video.mak +++ b/tests/fate/filter-video.mak @@ -100,6 +100,14 @@ 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_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 + +FATE_SHUFFLEPLANES += fate-filter-shuffleplanes-swapuv +fate-filter-shuffleplanes-swapuv: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf shuffleplanes=0:2:1 + +FATE_FILTER_VSYNTH-$(CONFIG_SHUFFLEPLANES_FILTER) += $(FATE_SHUFFLEPLANES) + FATE_FILTER_VSYNTH-$(CONFIG_TELECINE_FILTER) += fate-filter-telecine fate-filter-telecine: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf telecine diff --git a/tests/ref/fate/filter-shuffleplanes-dup-luma b/tests/ref/fate/filter-shuffleplanes-dup-luma new file mode 100644 index 0000000000..52041fad22 --- /dev/null +++ b/tests/ref/fate/filter-shuffleplanes-dup-luma @@ -0,0 +1,51 @@ +#tb 0: 1/25 +0, 0, 0, 1, 405504, 0x76625893 +0, 1, 1, 1, 405504, 0x348f0b97 +0, 2, 2, 1, 405504, 0x3de02149 +0, 3, 3, 1, 405504, 0x8f5b309a +0, 4, 4, 1, 405504, 0xf6faac89 +0, 5, 5, 1, 405504, 0x8f562eb6 +0, 6, 6, 1, 405504, 0xeb369913 +0, 7, 7, 1, 405504, 0xa78f1ff6 +0, 8, 8, 1, 405504, 0x8a1f1db6 +0, 9, 9, 1, 405504, 0xde649414 +0, 10, 10, 1, 405504, 0x154073e5 +0, 11, 11, 1, 405504, 0xedd73de2 +0, 12, 12, 1, 405504, 0x603df766 +0, 13, 13, 1, 405504, 0x53bd93be +0, 14, 14, 1, 405504, 0xa4e31e4e +0, 15, 15, 1, 405504, 0x9496c889 +0, 16, 16, 1, 405504, 0xe780a133 +0, 17, 17, 1, 405504, 0xea0d6297 +0, 18, 18, 1, 405504, 0x36f1fa5c +0, 19, 19, 1, 405504, 0x6b6b1138 +0, 20, 20, 1, 405504, 0x4f604471 +0, 21, 21, 1, 405504, 0x60ae7fac +0, 22, 22, 1, 405504, 0x200ae239 +0, 23, 23, 1, 405504, 0x8f2417b7 +0, 24, 24, 1, 405504, 0x360e40dc +0, 25, 25, 1, 405504, 0xef67325e +0, 26, 26, 1, 405504, 0x4cc83a45 +0, 27, 27, 1, 405504, 0x5064bad4 +0, 28, 28, 1, 405504, 0xecfe4d14 +0, 29, 29, 1, 405504, 0x0a848f79 +0, 30, 30, 1, 405504, 0xa92ff299 +0, 31, 31, 1, 405504, 0xa6ce59e7 +0, 32, 32, 1, 405504, 0x9b519b8e +0, 33, 33, 1, 405504, 0xf2d1a500 +0, 34, 34, 1, 405504, 0x51b13a4f +0, 35, 35, 1, 405504, 0xbe4e20dd +0, 36, 36, 1, 405504, 0x1a7af6c9 +0, 37, 37, 1, 405504, 0x34d76fc1 +0, 38, 38, 1, 405504, 0x8f00b0f8 +0, 39, 39, 1, 405504, 0xe1eb6bec +0, 40, 40, 1, 405504, 0xd01880ea +0, 41, 41, 1, 405504, 0xa659a20a +0, 42, 42, 1, 405504, 0xfed88666 +0, 43, 43, 1, 405504, 0xd239109c +0, 44, 44, 1, 405504, 0x54233dd0 +0, 45, 45, 1, 405504, 0x3cc1a86a +0, 46, 46, 1, 405504, 0x0744316d +0, 47, 47, 1, 405504, 0xcc1c8360 +0, 48, 48, 1, 405504, 0x0af419f7 +0, 49, 49, 1, 405504, 0x80e5d952 diff --git a/tests/ref/fate/filter-shuffleplanes-swapuv b/tests/ref/fate/filter-shuffleplanes-swapuv new file mode 100644 index 0000000000..95da149ad3 --- /dev/null +++ b/tests/ref/fate/filter-shuffleplanes-swapuv @@ -0,0 +1,51 @@ +#tb 0: 1/25 +0, 0, 0, 1, 152064, 0x68b189ef +0, 1, 1, 1, 152064, 0x5cc66551 +0, 2, 2, 1, 152064, 0x88f0f64a +0, 3, 3, 1, 152064, 0x195780b0 +0, 4, 4, 1, 152064, 0xeff7b652 +0, 5, 5, 1, 152064, 0x6548a8e6 +0, 6, 6, 1, 152064, 0x48667c23 +0, 7, 7, 1, 152064, 0x7ca88bac +0, 8, 8, 1, 152064, 0xa3dc8026 +0, 9, 9, 1, 152064, 0x51233915 +0, 10, 10, 1, 152064, 0xf8ef4760 +0, 11, 11, 1, 152064, 0x5d51fcd5 +0, 12, 12, 1, 152064, 0x5c56ad61 +0, 13, 13, 1, 152064, 0x96b7a223 +0, 14, 14, 1, 152064, 0xb6ed8ddd +0, 15, 15, 1, 152064, 0xf7f80f05 +0, 16, 16, 1, 152064, 0x695d4e18 +0, 17, 17, 1, 152064, 0x9af438c8 +0, 18, 18, 1, 152064, 0x3fcc6acc +0, 19, 19, 1, 152064, 0xd0ccdbff +0, 20, 20, 1, 152064, 0xe4f5f570 +0, 21, 21, 1, 152064, 0x342c2412 +0, 22, 22, 1, 152064, 0x45a51d59 +0, 23, 23, 1, 152064, 0x58d768ef +0, 24, 24, 1, 152064, 0xebacf9d6 +0, 25, 25, 1, 152064, 0x23ff9936 +0, 26, 26, 1, 152064, 0x7e9196b5 +0, 27, 27, 1, 152064, 0xe862d887 +0, 28, 28, 1, 152064, 0xaf1aa455 +0, 29, 29, 1, 152064, 0xcfca650e +0, 30, 30, 1, 152064, 0xe3506aca +0, 31, 31, 1, 152064, 0xd7f0c51e +0, 32, 32, 1, 152064, 0x1358fc8d +0, 33, 33, 1, 152064, 0xeeb77a30 +0, 34, 34, 1, 152064, 0xa7c34378 +0, 35, 35, 1, 152064, 0x8d6794fb +0, 36, 36, 1, 152064, 0x9c6a37ab +0, 37, 37, 1, 152064, 0xad9b01f8 +0, 38, 38, 1, 152064, 0xa913594c +0, 39, 39, 1, 152064, 0xb6f34edd +0, 40, 40, 1, 152064, 0x4c4a5925 +0, 41, 41, 1, 152064, 0x262a9e08 +0, 42, 42, 1, 152064, 0x1fbdbfa9 +0, 43, 43, 1, 152064, 0xc94620ec +0, 44, 44, 1, 152064, 0x33310471 +0, 45, 45, 1, 152064, 0x02bd7e73 +0, 46, 46, 1, 152064, 0x308c53ff +0, 47, 47, 1, 152064, 0x11b4c5c2 +0, 48, 48, 1, 152064, 0x4fefb483 +0, 49, 49, 1, 152064, 0x9edbd8ea |