repo.or.cz
/
gfxprim.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
loaders: JPG: Fix bussy loop on corrupted file.
[gfxprim.git]
/
libs
/
filters
/
GP_Invert.gen.c.t
blob
d573cacd2e057ddd84409794feee3ed3b7d1ae88
1
@ include source.t
2
/*
3
* Invert Point filter
4
*
5
* Copyright (C) 2009-2014 Cyril Hrubis <metan@ucw.cz>
6
*/
7
8
@ include point_filter.t
9
@
10
@ def filter_op_invert(val, val_max):
11
{{ val_max }} - {{ val }}
12
@ end
13
14
{@ filter_point('Invert', filter_op_invert) @}