summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-10-25 21:28:11 +0200
committerNicolas George <nicolas.george@normalesup.org>2012-10-28 09:59:03 +0100
commit14f69a0516e4a505eaa65236b919023ecd146d95 (patch)
tree7bfbbe6a4e2584262c3c033146959ac75590cb56
parentb0e2f4a757d6f331d3b54847ffc663e04922f558 (diff)
fate: add a test for scale with variable input format.
-rw-r--r--tests/fate/avfilter.mak1
-rwxr-xr-xtests/lavfi-regression.sh1
-rw-r--r--tests/ref/lavfi/scalenorm1
3 files changed, 3 insertions, 0 deletions
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