mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
FATE: add tests for the shuffleplanes filter
This commit is contained in:
parent
599b81ca9a
commit
e1f2987b10
@ -56,6 +56,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_TRANSPOSE_FILTER) += fate-filter-transpose
|
||||
fate-filter-transpose: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf transpose
|
||||
|
||||
|
51
tests/ref/fate/filter-shuffleplanes-dup-luma
Normal file
51
tests/ref/fate/filter-shuffleplanes-dup-luma
Normal file
@ -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
|
51
tests/ref/fate/filter-shuffleplanes-swapuv
Normal file
51
tests/ref/fate/filter-shuffleplanes-swapuv
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user