diff options
author | Marton Balint <cus@passwd.hu> | 2017-12-10 00:07:17 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2017-12-21 23:03:10 +0100 |
commit | d6a8e46f9788810392555d891fc2f0db342a6a44 (patch) | |
tree | b1e5c546ac2e7397c442700d93b53829f412196c | |
parent | 80344959f064c7ea10d023862e0f6b79835de9de (diff) | |
download | ffmpeg-d6a8e46f9788810392555d891fc2f0db342a6a44.tar.gz |
fate: add 12 bit framerate filter tests
Signed-off-by: Marton Balint <cus@passwd.hu>
-rw-r--r-- | tests/fate/filter-video.mak | 4 | ||||
-rw-r--r-- | tests/ref/fate/filter-framerate-12bit-down | 55 | ||||
-rw-r--r-- | tests/ref/fate/filter-framerate-12bit-up | 64 |
3 files changed, 123 insertions, 0 deletions
diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak index c19f301ff8..39442f6717 100644 --- a/tests/fate/filter-video.mak +++ b/tests/fate/filter-video.mak @@ -113,6 +113,10 @@ FATE_FILTER-$(call ALLYES, FRAMERATE_FILTER TESTSRC2_FILTER) += fate-filter-fram fate-filter-framerate-up: CMD = framecrc -lavfi testsrc2=r=2:d=10,framerate=fps=10 -t 1 fate-filter-framerate-down: CMD = framecrc -lavfi testsrc2=r=2:d=10,framerate=fps=1 -t 1 +FATE_FILTER-$(call ALLYES, FRAMERATE_FILTER TESTSRC2_FILTER FORMAT_FILTER) += fate-filter-framerate-12bit-up fate-filter-framerate-12bit-down +fate-filter-framerate-12bit-up: CMD = framecrc -lavfi testsrc2=r=50:d=1,format=pix_fmts=yuv422p12,framerate=fps=60 -t 1 +fate-filter-framerate-12bit-down: CMD = framecrc -lavfi testsrc2=r=60:d=1,format=pix_fmts=yuv422p12,framerate=fps=50 -t 1 + FATE_FILTER_VSYNTH-$(CONFIG_BOXBLUR_FILTER) += fate-filter-boxblur fate-filter-boxblur: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf boxblur=2:1 diff --git a/tests/ref/fate/filter-framerate-12bit-down b/tests/ref/fate/filter-framerate-12bit-down new file mode 100644 index 0000000000..7a5a7b8e14 --- /dev/null +++ b/tests/ref/fate/filter-framerate-12bit-down @@ -0,0 +1,55 @@ +#tb 0: 1/50 +#media_type 0: video +#codec_id 0: rawvideo +#dimensions 0: 320x240 +#sar 0: 1/1 +0, 0, 0, 1, 307200, 0xb49cf016 +0, 1, 1, 1, 307200, 0xfe025c7f +0, 2, 2, 1, 307200, 0x4d458da1 +0, 3, 3, 1, 307200, 0x35d4d8ea +0, 4, 4, 1, 307200, 0x88f88697 +0, 5, 5, 1, 307200, 0xaf71e7fc +0, 6, 6, 1, 307200, 0x1290a487 +0, 7, 7, 1, 307200, 0xaf0cf5ee +0, 8, 8, 1, 307200, 0x9fe73a9b +0, 9, 9, 1, 307200, 0xb7965b77 +0, 10, 10, 1, 307200, 0x9f84df5d +0, 11, 11, 1, 307200, 0xf60b8c87 +0, 12, 12, 1, 307200, 0xe2eac3a7 +0, 13, 13, 1, 307200, 0xefbbc67a +0, 14, 14, 1, 307200, 0xb293001a +0, 15, 15, 1, 307200, 0xab2162fc +0, 16, 16, 1, 307200, 0xdc90848a +0, 17, 17, 1, 307200, 0x29f79f4b +0, 18, 18, 1, 307200, 0x62aee029 +0, 19, 19, 1, 307200, 0xcb6de0e9 +0, 20, 20, 1, 307200, 0xf2b12fe5 +0, 21, 21, 1, 307200, 0x1de67e13 +0, 22, 22, 1, 307200, 0xfc1f7774 +0, 23, 23, 1, 307200, 0x707fe832 +0, 24, 24, 1, 307200, 0xe2dc0742 +0, 25, 25, 1, 307200, 0x4693ab03 +0, 26, 26, 1, 307200, 0x7295ef7a +0, 27, 27, 1, 307200, 0xf442a5df +0, 28, 28, 1, 307200, 0x3019dbbc +0, 29, 29, 1, 307200, 0xd82a394d +0, 30, 30, 1, 307200, 0x8a512668 +0, 31, 31, 1, 307200, 0x69e7b43e +0, 32, 32, 1, 307200, 0x6c5343ca +0, 33, 33, 1, 307200, 0x8aac4531 +0, 34, 34, 1, 307200, 0x4b7f5b63 +0, 35, 35, 1, 307200, 0x4e24d659 +0, 36, 36, 1, 307200, 0x7a25b546 +0, 37, 37, 1, 307200, 0x9b7e8e8f +0, 38, 38, 1, 307200, 0x94ec9d3d +0, 39, 39, 1, 307200, 0x856ea560 +0, 40, 40, 1, 307200, 0xb6505ff0 +0, 41, 41, 1, 307200, 0x12562a42 +0, 42, 42, 1, 307200, 0x3335e451 +0, 43, 43, 1, 307200, 0x7f0374c9 +0, 44, 44, 1, 307200, 0x487e798a +0, 45, 45, 1, 307200, 0x4fda2634 +0, 46, 46, 1, 307200, 0x5b48d624 +0, 47, 47, 1, 307200, 0xa9505af8 +0, 48, 48, 1, 307200, 0xce7248b5 +0, 49, 49, 1, 307200, 0x8fbc1bec diff --git a/tests/ref/fate/filter-framerate-12bit-up b/tests/ref/fate/filter-framerate-12bit-up new file mode 100644 index 0000000000..8f57e6d066 --- /dev/null +++ b/tests/ref/fate/filter-framerate-12bit-up @@ -0,0 +1,64 @@ +#tb 0: 1/60 +#media_type 0: video +#codec_id 0: rawvideo +#dimensions 0: 320x240 +#sar 0: 1/1 +0, 0, 0, 1, 307200, 0xb49cf016 +0, 1, 1, 1, 307200, 0xc74259b4 +0, 2, 2, 1, 307200, 0xe4ca172c +0, 3, 3, 1, 307200, 0x5378b13c +0, 4, 4, 1, 307200, 0x2a7d4840 +0, 5, 5, 1, 307200, 0x68f620cd +0, 6, 6, 1, 307200, 0x83dbe321 +0, 7, 7, 1, 307200, 0xcd73c6ab +0, 8, 8, 1, 307200, 0xc69a864a +0, 9, 9, 1, 307200, 0xc5c8b0f8 +0, 10, 10, 1, 307200, 0xf08a6033 +0, 11, 11, 1, 307200, 0xab36763c +0, 12, 12, 1, 307200, 0xcba4c6bb +0, 13, 13, 1, 307200, 0x8dabc7b5 +0, 14, 14, 1, 307200, 0x63339757 +0, 15, 15, 1, 307200, 0x4bdfd3ca +0, 16, 16, 1, 307200, 0x699c9c83 +0, 17, 17, 1, 307200, 0x5dc7c711 +0, 18, 18, 1, 307200, 0xda8c6c41 +0, 19, 19, 1, 307200, 0xeb4ac99c +0, 20, 20, 1, 307200, 0x5d8b76ab +0, 21, 21, 1, 307200, 0xe2337c57 +0, 22, 22, 1, 307200, 0x84531dcf +0, 23, 23, 1, 307200, 0xf0df5ea3 +0, 24, 24, 1, 307200, 0x4237e892 +0, 25, 25, 1, 307200, 0xc111a9eb +0, 26, 26, 1, 307200, 0x2ba55745 +0, 27, 27, 1, 307200, 0x0e058165 +0, 28, 28, 1, 307200, 0xd184f860 +0, 29, 29, 1, 307200, 0xab562bfe +0, 30, 30, 1, 307200, 0x0b58bcf7 +0, 31, 31, 1, 307200, 0x044f4a16 +0, 32, 32, 1, 307200, 0xb466f1d6 +0, 33, 33, 1, 307200, 0x3ed6b5d8 +0, 34, 34, 1, 307200, 0xb8b82049 +0, 35, 35, 1, 307200, 0xbfb20efc +0, 36, 36, 1, 307200, 0xbd67248a +0, 37, 37, 1, 307200, 0x76e11928 +0, 38, 38, 1, 307200, 0x6ec5bbb1 +0, 39, 39, 1, 307200, 0x0e4455cd +0, 40, 40, 1, 307200, 0x5ccf33fb +0, 41, 41, 1, 307200, 0x976f6900 +0, 42, 42, 1, 307200, 0x58adad3f +0, 43, 43, 1, 307200, 0x1f791403 +0, 44, 44, 1, 307200, 0x49163226 +0, 45, 45, 1, 307200, 0xaac8e1ca +0, 46, 46, 1, 307200, 0x7fe784f7 +0, 47, 47, 1, 307200, 0xbf85c994 +0, 48, 48, 1, 307200, 0x22ed5b5a +0, 49, 49, 1, 307200, 0xdbeee1f3 +0, 50, 50, 1, 307200, 0x3a21b4d2 +0, 51, 51, 1, 307200, 0xbd5edb2d +0, 52, 52, 1, 307200, 0xc66d8b27 +0, 53, 53, 1, 307200, 0x02c7e528 +0, 54, 54, 1, 307200, 0xba073e6f +0, 55, 55, 1, 307200, 0xf745ded7 +0, 56, 56, 1, 307200, 0x8cf55128 +0, 57, 57, 1, 307200, 0x4e740b42 +0, 58, 58, 1, 307200, 0x7906723a |