tests: add tinterlace filter tests
authorStefano Sabatini <stefasab@gmail.com>
Wed, 5 Sep 2012 09:23:42 +0000 (11:23 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Wed, 5 Sep 2012 22:40:01 +0000 (00:40 +0200)
Only the merge and pad modes are tested.

tests/lavfi-regression.sh
tests/ref/lavfi/tinterlace_merge [new file with mode: 0644]
tests/ref/lavfi/tinterlace_pad [new file with mode: 0644]

index 7609b61..08c51d8 100755 (executable)
@@ -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 (file)
index 0000000..42675a4
--- /dev/null
@@ -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 (file)
index 0000000..2e41c41
--- /dev/null
@@ -0,0 +1,10 @@
+gray                9258e5cf66725a1814302cff34d4e765
+yuv410p             4557c54e14f761e3cafae7681d696d90
+yuv420p             d9dee6c4f0eaedc55819fda8e2fd43a3
+yuv422p             531cfaad53e2fe4021286075ca0987e0
+yuv444p             7aff195b2d5a5390f8e83f64c4c66789
+yuva420p            5260ee1f1088eb1df6a671b10229c8c8
+yuvj420p            bc1ddf876ee211a8b6ef684b66f90a02
+yuvj422p            7ff40b351f2b11d901e9ffefe9fa9e45
+yuvj440p            aa4ad715791d02e2b4a62b2a083429ef
+yuvj444p            b1b5967c63467b415acdd7d653b2cef4