[FFmpeg-devel] [PATCH] fate: add decimate filter test
Paul B Mahol
onemda at gmail.com
Sun Mar 13 23:10:06 EET 2022
Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
tests/fate/filter-video.mak | 3 +
tests/ref/fate/filter-decimate | 245 +++++++++++++++++++++++++++++++++
2 files changed, 248 insertions(+)
create mode 100644 tests/ref/fate/filter-decimate
diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index 510bb3ffbc..cd33361880 100644
--- a/tests/fate/filter-video.mak
+++ b/tests/fate/filter-video.mak
@@ -451,6 +451,9 @@ fate-filter-concat: CMD = framecrc -filter_complex_script $(TARGET_PATH)/tests/d
fate-filter-concat-vfr: tests/data/filtergraphs/concat-vfr
fate-filter-concat-vfr: CMD = framecrc -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/concat-vfr
+FATE_FILTER-$(call ALLYES, TESTSRC2_FILTER FPS_FILTER DECIMATE_FILTER) += fate-filter-decimate
+fate-filter-decimate: CMD = framecrc -lavfi testsrc2=r=24:d=10,fps=60,decimate=5,decimate=4,decimate=3 -pix_fmt yuv420p
+
FATE_FILTER-$(call ALLYES, TESTSRC2_FILTER FPS_FILTER MPDECIMATE_FILTER) += fate-filter-mpdecimate
fate-filter-mpdecimate: CMD = framecrc -lavfi testsrc2=r=2:d=10,fps=3,mpdecimate -r 3 -pix_fmt yuv420p
diff --git a/tests/ref/fate/filter-decimate b/tests/ref/fate/filter-decimate
new file mode 100644
index 0000000000..7c51b438a4
--- /dev/null
+++ b/tests/ref/fate/filter-decimate
@@ -0,0 +1,245 @@
+#tb 0: 1/24
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 320x240
+#sar 0: 1/1
+0, 0, 0, 1, 115200, 0x3744b3ed
+0, 1, 1, 1, 115200, 0x960ae41c
+0, 2, 2, 1, 115200, 0xe8031d25
+0, 3, 3, 1, 115200, 0x13254a89
+0, 4, 4, 1, 115200, 0x939c7f3d
+0, 5, 5, 1, 115200, 0xa68ba085
+0, 6, 6, 1, 115200, 0xe7bda27b
+0, 7, 7, 1, 115200, 0x00679a86
+0, 8, 8, 1, 115200, 0x0c849830
+0, 9, 9, 1, 115200, 0x2e6a927d
+0, 10, 10, 1, 115200, 0x475b92e1
+0, 11, 11, 1, 115200, 0xfe3e9516
+0, 12, 12, 1, 115200, 0xc5d79a51
+0, 13, 13, 1, 115200, 0x9dd29e29
+0, 14, 14, 1, 115200, 0x16b3ae83
+0, 15, 15, 1, 115200, 0x4151b7b0
+0, 16, 16, 1, 115200, 0x5f54b19d
+0, 17, 17, 1, 115200, 0xd776b3e3
+0, 18, 18, 1, 115200, 0xe55ab961
+0, 19, 19, 1, 115200, 0xad23bb36
+0, 20, 20, 1, 115200, 0x7f4db57f
+0, 21, 21, 1, 115200, 0xbafda06e
+0, 22, 22, 1, 115200, 0xf263893c
+0, 23, 23, 1, 115200, 0x53ba81d3
+0, 24, 24, 1, 115200, 0x0fa465ad
+0, 25, 25, 1, 115200, 0x214a709b
+0, 26, 26, 1, 115200, 0x51878099
+0, 27, 27, 1, 115200, 0x6e1a7b19
+0, 28, 28, 1, 115200, 0x96ed90b3
+0, 29, 29, 1, 115200, 0x91aba349
+0, 30, 30, 1, 115200, 0xfd35adb5
+0, 31, 31, 1, 115200, 0xec62b4a5
+0, 32, 32, 1, 115200, 0x8898b87a
+0, 33, 33, 1, 115200, 0x517dc6b8
+0, 34, 34, 1, 115200, 0xb7cdcc9c
+0, 35, 35, 1, 115200, 0x9ba9dfb5
+0, 36, 36, 1, 115200, 0xd162f354
+0, 37, 37, 1, 115200, 0x1f25e394
+0, 38, 38, 1, 115200, 0xd828e1dc
+0, 39, 39, 1, 115200, 0xa02cce79
+0, 40, 40, 1, 115200, 0x1ca0c5ec
+0, 41, 41, 1, 115200, 0xab66ba79
+0, 42, 42, 1, 115200, 0x484c9be1
+0, 43, 43, 1, 115200, 0x8d3b7e1c
+0, 44, 44, 1, 115200, 0x50fe70d4
+0, 45, 45, 1, 115200, 0x54b85d95
+0, 46, 46, 1, 115200, 0xea0451c2
+0, 47, 47, 1, 115200, 0x3811656f
+0, 48, 48, 1, 115200, 0x0c7c7081
+0, 49, 49, 1, 115200, 0xe0b15961
+0, 50, 50, 1, 115200, 0x227f6926
+0, 51, 51, 1, 115200, 0xfbb26630
+0, 52, 52, 1, 115200, 0x7d3e840d
+0, 53, 53, 1, 115200, 0xeb5fa9c0
+0, 54, 54, 1, 115200, 0x0c54b377
+0, 55, 55, 1, 115200, 0xab62be11
+0, 56, 56, 1, 115200, 0xf6a1c43b
+0, 57, 57, 1, 115200, 0xf266c6fc
+0, 58, 58, 1, 115200, 0x2952d0ca
+0, 59, 59, 1, 115200, 0x528ed993
+0, 60, 60, 1, 115200, 0x8fc8ebcc
+0, 61, 61, 1, 115200, 0x85ddd275
+0, 62, 62, 1, 115200, 0xbbd1d587
+0, 63, 63, 1, 115200, 0x55dfe337
+0, 64, 64, 1, 115200, 0x1cede87f
+0, 65, 65, 1, 115200, 0x4eaee7ed
+0, 66, 66, 1, 115200, 0xe75aea8e
+0, 67, 67, 1, 115200, 0xb758f43c
+0, 68, 68, 1, 115200, 0xe0f7ed7f
+0, 69, 69, 1, 115200, 0x5735c147
+0, 70, 70, 1, 115200, 0x7b86a23a
+0, 71, 71, 1, 115200, 0xe0ec8dcc
+0, 72, 72, 1, 115200, 0xdce072c4
+0, 73, 73, 1, 115200, 0xf87a8603
+0, 74, 74, 1, 115200, 0x0a70acd9
+0, 75, 75, 1, 115200, 0xc88fd26c
+0, 76, 76, 1, 115200, 0xb57429df
+0, 77, 77, 1, 115200, 0x99e47b15
+0, 78, 78, 1, 115200, 0x7ef18171
+0, 79, 79, 1, 115200, 0xe6d277ea
+0, 80, 80, 1, 115200, 0xcea57703
+0, 81, 81, 1, 115200, 0x5f0b5f56
+0, 82, 82, 1, 115200, 0x685e311a
+0, 83, 83, 1, 115200, 0xc42f0eca
+0, 84, 84, 1, 115200, 0x2884cc9e
+0, 85, 85, 1, 115200, 0xcb29e344
+0, 86, 86, 1, 115200, 0x99f6f98e
+0, 87, 87, 1, 115200, 0x6afd0ff0
+0, 88, 88, 1, 115200, 0x04e00753
+0, 89, 89, 1, 115200, 0x17141778
+0, 90, 90, 1, 115200, 0x2ddb1b44
+0, 91, 91, 1, 115200, 0x5cad0475
+0, 92, 92, 1, 115200, 0x1dd6bcb5
+0, 93, 93, 1, 115200, 0x2ad35f9a
+0, 94, 94, 1, 115200, 0x83652763
+0, 95, 95, 1, 115200, 0xec7408ab
+0, 96, 96, 1, 115200, 0x6162ffec
+0, 97, 97, 1, 115200, 0xf1220ac0
+0, 98, 98, 1, 115200, 0xc2d62c84
+0, 99, 99, 1, 115200, 0x34653b99
+0, 100, 100, 1, 115200, 0x020e66ea
+0, 101, 101, 1, 115200, 0x0dca7cdb
+0, 102, 102, 1, 115200, 0x3dc971b6
+0, 103, 103, 1, 115200, 0x98bf6287
+0, 104, 104, 1, 115200, 0xaabd5b1a
+0, 105, 105, 1, 115200, 0xbb6a4fa3
+0, 106, 106, 1, 115200, 0x03dd3aa4
+0, 107, 107, 1, 115200, 0x3af1360a
+0, 108, 108, 1, 115200, 0x152037a4
+0, 109, 109, 1, 115200, 0x57993a48
+0, 110, 110, 1, 115200, 0x0b15446a
+0, 111, 111, 1, 115200, 0x4f6347d9
+0, 112, 112, 1, 115200, 0xef1e44fa
+0, 113, 113, 1, 115200, 0xa2d04d81
+0, 114, 114, 1, 115200, 0x843a4c9b
+0, 115, 115, 1, 115200, 0xbf7752d1
+0, 116, 116, 1, 115200, 0x5c6e5525
+0, 117, 117, 1, 115200, 0x3c154810
+0, 118, 118, 1, 115200, 0x422f49e5
+0, 119, 119, 1, 115200, 0x19e94743
+0, 120, 120, 1, 115200, 0x5ef8435d
+0, 121, 121, 1, 115200, 0x49304277
+0, 122, 122, 1, 115200, 0x10be590d
+0, 123, 123, 1, 115200, 0x2c466d25
+0, 124, 124, 1, 115200, 0x5e4a88d6
+0, 125, 125, 1, 115200, 0x729ca385
+0, 126, 126, 1, 115200, 0x1ceda942
+0, 127, 127, 1, 115200, 0x76f1b6df
+0, 128, 128, 1, 115200, 0x51a1cbcd
+0, 129, 129, 1, 115200, 0xb8a1cf0a
+0, 130, 130, 1, 115200, 0x46e2db68
+0, 131, 131, 1, 115200, 0xbb75e434
+0, 132, 132, 1, 115200, 0xc983fa93
+0, 133, 133, 1, 115200, 0x4772e1f5
+0, 134, 134, 1, 115200, 0x516edf5d
+0, 135, 135, 1, 115200, 0xd6abc909
+0, 136, 136, 1, 115200, 0x501eb9ba
+0, 137, 137, 1, 115200, 0x477fa501
+0, 138, 138, 1, 115200, 0x495b8934
+0, 139, 139, 1, 115200, 0x6b226e4c
+0, 140, 140, 1, 115200, 0x78385fe5
+0, 141, 141, 1, 115200, 0x31744953
+0, 142, 142, 1, 115200, 0x3065441b
+0, 143, 143, 1, 115200, 0xea0f4fc3
+0, 144, 144, 1, 115200, 0xabeb5a8b
+0, 145, 145, 1, 115200, 0xebd26907
+0, 146, 146, 1, 115200, 0xb09b7cec
+0, 147, 147, 1, 115200, 0xac2d7c67
+0, 148, 148, 1, 115200, 0x0ccf9831
+0, 149, 149, 1, 115200, 0xbd97c1d7
+0, 150, 150, 1, 115200, 0x78fae02a
+0, 151, 151, 1, 115200, 0x9c83eac2
+0, 152, 152, 1, 115200, 0x1730ea14
+0, 153, 153, 1, 115200, 0xc31ad6b5
+0, 154, 154, 1, 115200, 0xeb55c91d
+0, 155, 155, 1, 115200, 0x962ccec2
+0, 156, 156, 1, 115200, 0xb8d3e712
+0, 157, 157, 1, 115200, 0x6b9dd89d
+0, 158, 158, 1, 115200, 0x0e9ad4b2
+0, 159, 159, 1, 115200, 0x4130c7a9
+0, 160, 160, 1, 115200, 0xfdc3c95a
+0, 161, 161, 1, 115200, 0xf315bda6
+0, 162, 162, 1, 115200, 0x4bc3b912
+0, 163, 163, 1, 115200, 0xbaffc04f
+0, 164, 164, 1, 115200, 0x3db0b8fc
+0, 165, 165, 1, 115200, 0xad4ca464
+0, 166, 166, 1, 115200, 0xba0f8631
+0, 167, 167, 1, 115200, 0x9cee7879
+0, 168, 168, 1, 115200, 0x9ded6c00
+0, 169, 169, 1, 115200, 0x7fe086ad
+0, 170, 170, 1, 115200, 0x4d03b49a
+0, 171, 171, 1, 115200, 0xe3e4da5e
+0, 172, 172, 1, 115200, 0x5dd92ee1
+0, 173, 173, 1, 115200, 0x2e838a0b
+0, 174, 174, 1, 115200, 0x7e4d9226
+0, 175, 175, 1, 115200, 0x2ef78d74
+0, 176, 176, 1, 115200, 0x48d979bc
+0, 177, 177, 1, 115200, 0xc8bb5e03
+0, 178, 178, 1, 115200, 0x9a732644
+0, 179, 179, 1, 115200, 0x3ef6f663
+0, 180, 180, 1, 115200, 0x0d93bf3a
+0, 181, 181, 1, 115200, 0x5b93cae6
+0, 182, 182, 1, 115200, 0xce5deda8
+0, 183, 183, 1, 115200, 0xbb751742
+0, 184, 184, 1, 115200, 0xda5915f2
+0, 185, 185, 1, 115200, 0x1fd13822
+0, 186, 186, 1, 115200, 0xfbc74cf5
+0, 187, 187, 1, 115200, 0xdb973f71
+0, 188, 188, 1, 115200, 0x038bf8d2
+0, 189, 189, 1, 115200, 0x8cb09cf6
+0, 190, 190, 1, 115200, 0x23d56c24
+0, 191, 191, 1, 115200, 0xc2a14e78
+0, 192, 192, 1, 115200, 0x25384d72
+0, 193, 193, 1, 115200, 0xbf505c2a
+0, 194, 194, 1, 115200, 0x7f11704d
+0, 195, 195, 1, 115200, 0x83b57e8c
+0, 196, 196, 1, 115200, 0xd560904a
+0, 197, 197, 1, 115200, 0x6de79f3f
+0, 198, 198, 1, 115200, 0xf1808e3e
+0, 199, 199, 1, 115200, 0xc23879a8
+0, 200, 200, 1, 115200, 0x9199737e
+0, 201, 201, 1, 115200, 0x13a862ab
+0, 202, 202, 1, 115200, 0x56d75b8d
+0, 203, 203, 1, 115200, 0x11a85b04
+0, 204, 204, 1, 115200, 0x49735f37
+0, 205, 205, 1, 115200, 0xd83e6782
+0, 206, 206, 1, 115200, 0x0a0f764d
+0, 207, 207, 1, 115200, 0x870d7c76
+0, 208, 208, 1, 115200, 0x6847819a
+0, 209, 209, 1, 115200, 0xe0cf8104
+0, 210, 210, 1, 115200, 0x16f880f3
+0, 211, 211, 1, 115200, 0xbcb079ba
+0, 212, 212, 1, 115200, 0x09c579df
+0, 213, 213, 1, 115200, 0xa2416c6d
+0, 214, 214, 1, 115200, 0x181e5c0c
+0, 215, 215, 1, 115200, 0x4b7e5752
+0, 216, 216, 1, 115200, 0xda554658
+0, 217, 217, 1, 115200, 0x2b9252f4
+0, 218, 218, 1, 115200, 0xbfe1689b
+0, 219, 219, 1, 115200, 0xf6ef640c
+0, 220, 220, 1, 115200, 0x423d77e8
+0, 221, 221, 1, 115200, 0x37b185c1
+0, 222, 222, 1, 115200, 0x666992a4
+0, 223, 223, 1, 115200, 0x9ae39b0a
+0, 224, 224, 1, 115200, 0xec7ea7ed
+0, 225, 225, 1, 115200, 0x2606ad0b
+0, 226, 226, 1, 115200, 0xef62c3f5
+0, 227, 227, 1, 115200, 0xb933db3f
+0, 228, 228, 1, 115200, 0x38d2fd89
+0, 229, 229, 1, 115200, 0xa446f158
+0, 230, 230, 1, 115200, 0xb5dded43
+0, 231, 231, 1, 115200, 0x137dd7be
+0, 232, 232, 1, 115200, 0xd9beca7e
+0, 233, 233, 1, 115200, 0x7581c760
+0, 234, 234, 1, 115200, 0x7506a692
+0, 235, 235, 1, 115200, 0xb67c8e7d
+0, 236, 236, 1, 115200, 0x3a4c7fbe
+0, 237, 237, 1, 115200, 0xe287603b
+0, 238, 238, 1, 115200, 0xd3894d9d
+0, 239, 239, 1, 115200, 0x674f4263
--
2.33.0
More information about the ffmpeg-devel
mailing list