aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-09-05 11:23:42 +0200
committerStefano Sabatini <stefasab@gmail.com>2012-09-06 00:40:01 +0200
commit5780f9bbd5668a372eac63dddcb4cda06edfaed5 (patch)
tree9ac9be00fdbb62ee57a33813097046736a4e7b3a
parent77c991d8c54376646b7d365c05ee961b5d01c081 (diff)
downloadffmpeg-5780f9bbd5668a372eac63dddcb4cda06edfaed5.tar.gz
tests: add tinterlace filter tests
Only the merge and pad modes are tested.
-rwxr-xr-xtests/lavfi-regression.sh2
-rw-r--r--tests/ref/lavfi/tinterlace_merge10
-rw-r--r--tests/ref/lavfi/tinterlace_pad10
3 files changed, 22 insertions, 0 deletions
diff --git a/tests/lavfi-regression.sh b/tests/lavfi-regression.sh
index 7609b6117d..08c51d8cd8 100755
--- a/tests/lavfi-regression.sh
+++ b/tests/lavfi-regression.sh
@@ -115,6 +115,8 @@ do_lavfi_pixfmts "pad" "500:400:20:20"
do_lavfi_pixfmts "pixdesctest" ""
do_lavfi_pixfmts "scale" "200:100"
do_lavfi_pixfmts "super2xsai" ""
+do_lavfi_pixfmts "tinterlace_merge" "tinterlace" "merge"
+do_lavfi_pixfmts "tinterlace_pad" "tinterlace" "pad"
do_lavfi_pixfmts "vflip" ""
do_lavfi_lavd() {
diff --git a/tests/ref/lavfi/tinterlace_merge b/tests/ref/lavfi/tinterlace_merge
new file mode 100644
index 0000000000..42675a4678
--- /dev/null
+++ b/tests/ref/lavfi/tinterlace_merge
@@ -0,0 +1,10 @@
+gray 26b6b9e89fe1f32695f726639351504c
+yuv410p 3634d715f95aecceba00c96f40c121b6
+yuv420p 62339167a917a51e4d528ccf2d26de0f
+yuv422p de3480004bdb8e7b711f5b465014aeab
+yuv444p 9c9847984402eaefde910ad8a088e356
+yuva420p 65f7fd965c848713ecb84e462722b173
+yuvj420p a32361014887cda411c64253be37e020
+yuvj422p 2e2252ecb9d98b355f0cadd8495b340d
+yuvj440p fff44eb68a5bfc9815637d0706b9b23c
+yuvj444p 23f3c3bbe1cb263202c366b8a2abc649
diff --git a/tests/ref/lavfi/tinterlace_pad b/tests/ref/lavfi/tinterlace_pad
new file mode 100644
index 0000000000..2e41c41f59
--- /dev/null
+++ b/tests/ref/lavfi/tinterlace_pad
@@ -0,0 +1,10 @@
+gray 9258e5cf66725a1814302cff34d4e765
+yuv410p 4557c54e14f761e3cafae7681d696d90
+yuv420p d9dee6c4f0eaedc55819fda8e2fd43a3
+yuv422p 531cfaad53e2fe4021286075ca0987e0
+yuv444p 7aff195b2d5a5390f8e83f64c4c66789
+yuva420p 5260ee1f1088eb1df6a671b10229c8c8
+yuvj420p bc1ddf876ee211a8b6ef684b66f90a02
+yuvj422p 7ff40b351f2b11d901e9ffefe9fa9e45
+yuvj440p aa4ad715791d02e2b4a62b2a083429ef
+yuvj444p b1b5967c63467b415acdd7d653b2cef4