[FFmpeg-devel] [PATCH] fate: Test pullup and fieldmatch with 5 instead of 1 frame

Michael Niedermayer michaelni at gmx.at
Mon May 11 00:44:14 CEST 2015


Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
 tests/fate-run.sh                        |    3 ++-
 tests/fate/filter-video.mak              |    4 ++--
 tests/ref/fate/filter-pixfmts-fieldmatch |   10 +++++-----
 tests/ref/fate/filter-pixfmts-pullup     |   24 ++++++++++++------------
 4 files changed, 21 insertions(+), 20 deletions(-)

diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index f795fdf..b88730a 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -195,6 +195,7 @@ pixfmts(){
     filter=${filter%_*}
     filter_args=$1
     prefilter_chain=$2
+    nframes=${3:-1}
 
     showfiltfmts="$target_exec $target_path/libavfilter/filtfmts-test"
     scale_exclude_fmts=${outfile}_scale_exclude_fmts
@@ -213,7 +214,7 @@ pixfmts(){
     outertest=$test
     for pix_fmt in $pix_fmts; do
         test=$pix_fmt
-        video_filter "${prefilter_chain}format=$pix_fmt,$filter=$filter_args" -pix_fmt $pix_fmt -frames:v 1
+        video_filter "${prefilter_chain}format=$pix_fmt,$filter=$filter_args" -pix_fmt $pix_fmt -frames:v $nframes
     done
 
     rm $in_fmts $scale_in_fmts $scale_out_fmts $scale_exclude_fmts
diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index d9343b2..1271dc1 100644
--- a/tests/fate/filter-video.mak
+++ b/tests/fate/filter-video.mak
@@ -349,7 +349,7 @@ FATE_FILTER_PIXFMTS-$(CONFIG_FIELD_FILTER) += fate-filter-pixfmts-field
 fate-filter-pixfmts-field: CMD = pixfmts "bottom"
 
 FATE_FILTER_PIXFMTS-$(call ALLYES, TELECINE_FILTER FIELDMATCH_FILTER) += fate-filter-pixfmts-fieldmatch
-fate-filter-pixfmts-fieldmatch: CMD = pixfmts "" "telecine,"
+fate-filter-pixfmts-fieldmatch: CMD = pixfmts "" "telecine," 5
 
 FATE_FILTER_PIXFMTS-$(CONFIG_FIELDORDER_FILTER) += fate-filter-pixfmts-fieldorder
 fate-filter-pixfmts-fieldorder: CMD = pixfmts "tff" "setfield=bff,"
@@ -376,7 +376,7 @@ FATE_FILTER_PIXFMTS-$(CONFIG_PAD_FILTER) += fate-filter-pixfmts-pad
 fate-filter-pixfmts-pad:   CMD = pixfmts "500:400:20:20"
 
 FATE_FILTER_PIXFMTS-$(call ALLYES, TELECINE_FILTER PULLUP_FILTER) += fate-filter-pixfmts-pullup
-fate-filter-pixfmts-pullup: CMD = pixfmts "" "telecine,"
+fate-filter-pixfmts-pullup: CMD = pixfmts "" "telecine," 5
 
 FATE_FILTER_PIXFMTS-$(CONFIG_ROTATE_FILTER) += fate-filter-pixfmts-rotate
 fate-filter-pixfmts-rotate: CMD = pixfmts "2*PI*n/50"
diff --git a/tests/ref/fate/filter-pixfmts-fieldmatch b/tests/ref/fate/filter-pixfmts-fieldmatch
index cbd32f0..8b436c1 100644
--- a/tests/ref/fate/filter-pixfmts-fieldmatch
+++ b/tests/ref/fate/filter-pixfmts-fieldmatch
@@ -1,5 +1,5 @@
-yuv410p             b5dc363ece6aa953a306c036c7e4d1f8
-yuv411p             4424432cd71ff3771420e96eeab31b17
-yuv420p             a4f8a78b55ea5ad5b186cf260168fd0b
-yuv422p             1f3636c6d33c16f5147c365bc403b481
-yuv444p             801c6fc49a0cdc09cb7dbb97ec9cc63f
+yuv410p             5dc7365a9312cc1b97f96a725160264c
+yuv411p             8fc868473541c5ef877feb75082cd445
+yuv420p             4d6113f4e718204f68f6361a84d8c85c
+yuv422p             0b85bc6f47771722778af5af840f1025
+yuv444p             45f6708d4ac9c34505320a9a67d6a4e8
diff --git a/tests/ref/fate/filter-pixfmts-pullup b/tests/ref/fate/filter-pixfmts-pullup
index 3905a2d..3dc75b7 100644
--- a/tests/ref/fate/filter-pixfmts-pullup
+++ b/tests/ref/fate/filter-pixfmts-pullup
@@ -1,12 +1,12 @@
-gray                68c24cf3dbf84fde2db57e7dddfc025a
-yuv410p             0416e0c5359efe8c5577c564af72274d
-yuv411p             7dc0b5d9f933b9b2eb56879be4b82545
-yuv420p             4788ee936d7bdad49abcd9510a058900
-yuv422p             bf9b6c5829e8e0c619d273b7b759e33d
-yuv440p             44c1b4461b873ae22dff024072878e10
-yuv444p             88315c711c261aeb62d0c7701ef5c1bf
-yuvj411p            7387b729f4ab97d107e5f4bcc0d89422
-yuvj420p            d72a37540785e2e7d8400ee457f20456
-yuvj422p            32b27295e432da29d397404b5049c2a2
-yuvj440p            eaec52d14f632d29ad95be3f22591540
-yuvj444p            ee3a0e4dee7c19e037d65887bd4ff70e
+gray                169649331886d246cbaed13d709cc628
+yuv410p             3791f72f60aa64cc42473abf1b95a31d
+yuv411p             e60995e87dac2a41e7741a0eb90823bd
+yuv420p             57fc8ccf49a5fca9f36a049ed63e886d
+yuv422p             9b84d29b6b00181b651986af3b60b716
+yuv440p             9c82289fb44d1416a5bf38d043fda34c
+yuv444p             8e4243bdef5db6f0e7a87a3a20cc66a1
+yuvj411p            fe0d24197fa836c4cd38f43725162d3b
+yuvj420p            59113874aad7d70a070c8739ce625ce3
+yuvj422p            1837e104755c6a1f51097627a63be2d4
+yuvj440p            65eeb4f10b106806ba412368ba7dba11
+yuvj444p            db4642024f594aa306a25e6b2ad990d4
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list