From 49287bbfd3227b0718fddb976d19bebae52b71ef Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Thu, 31 Oct 2013 13:31:11 +0000 Subject: doc/filters: add few more examples for blend filter Signed-off-by: Paul B Mahol --- doc/filters.texi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'doc') diff --git a/doc/filters.texi b/doc/filters.texi index 14692a2148..57679cca5c 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -2412,6 +2412,24 @@ Apply 1x1 checkerboard effect: @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 -- cgit v1.2.3