doc/filters: add few more examples for blend filter
authorPaul B Mahol <onemda@gmail.com>
Thu, 31 Oct 2013 13:31:11 +0000 (13:31 +0000)
committerPaul B Mahol <onemda@gmail.com>
Thu, 31 Oct 2013 13:36:57 +0000 (13:36 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
doc/filters.texi

index 14692a2..57679cc 100644 (file)
@@ -2412,6 +2412,24 @@ Apply 1x1 checkerboard effect:
 @example
 blend=all_expr='if(eq(mod(X,2),mod(Y,2)),A,B)'
 @end example
 @example
 blend=all_expr='if(eq(mod(X,2),mod(Y,2)),A,B)'
 @end example
+
+@item
+Apply uncover left effect:
+@example
+blend=all_expr='if(gte(N*SW+X,W),A,B)'
+@end example
+
+@item
+Apply uncover down effect:
+@example
+blend=all_expr='if(gte(Y-N*SH,0),A,B)'
+@end example
+
+@item
+Apply uncover up-left effect:
+@example
+blend=all_expr='if(gte(T*SH*40+Y,H)*gte((T*40*SW+X)*W/H,W),A,B)'
+@end example
 @end itemize
 
 @section boxblur
 @end itemize
 
 @section boxblur