From 14f69a0516e4a505eaa65236b919023ecd146d95 Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Thu, 25 Oct 2012 21:28:11 +0200 Subject: fate: add a test for scale with variable input format. --- tests/fate/avfilter.mak | 1 + tests/lavfi-regression.sh | 1 + tests/ref/lavfi/scalenorm | 1 + 3 files changed, 3 insertions(+) create mode 100644 tests/ref/lavfi/scalenorm diff --git a/tests/fate/avfilter.mak b/tests/fate/avfilter.mak index 3b06d0839f..b9312442d1 100644 --- a/tests/fate/avfilter.mak +++ b/tests/fate/avfilter.mak @@ -27,6 +27,7 @@ FATE_LAVFI = fate-lavfi-alphaextract_rgb \ fate-lavfi-pixfmts_vflip \ fate-lavfi-scale200 \ fate-lavfi-scale500 \ + fate-lavfi-scalenorm \ fate-lavfi-select \ fate-lavfi-setdar \ fate-lavfi-setsar \ diff --git a/tests/lavfi-regression.sh b/tests/lavfi-regression.sh index a25b54be96..31628f1a9d 100755 --- a/tests/lavfi-regression.sh +++ b/tests/lavfi-regression.sh @@ -132,6 +132,7 @@ do_lavfi_lavd() { do_lavfi_lavd "life" "life=s=40x40:r=5:seed=42:mold=64" -t 2 do_lavfi_lavd "testsrc" "testsrc=r=7:n=2:d=10" +do_lavfi_lavd "scalenorm" "testsrc=s=128x96:d=1:r=5,format=yuv420p[a];testsrc=s=160x120:d=1:r=5[b];[a][b]concat=unsafe=1,scale=::sws_flags=+accurate_rnd+bitexact" # TODO: add tests for # direct rendering, diff --git a/tests/ref/lavfi/scalenorm b/tests/ref/lavfi/scalenorm new file mode 100644 index 0000000000..eb5c234dde --- /dev/null +++ b/tests/ref/lavfi/scalenorm @@ -0,0 +1 @@ +scalenorm a6222528806dee9c438ce9a5f66220e4 -- cgit v1.2.3