Browse Source

doc/filters: add few more examples for blend filter

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n2.2-rc1
Paul B Mahol 12 years ago
parent
commit
49287bbfd3
1 changed files with 18 additions and 0 deletions
  1. +18
    -0
      doc/filters.texi

+ 18
- 0
doc/filters.texi View 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

@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


Loading…
Cancel
Save