diff options
Diffstat (limited to 'filter.h')
-rw-r--r-- | filter.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/filter.h b/filter.h new file mode 100644 index 0000000..37d67ee --- /dev/null +++ b/filter.h @@ -0,0 +1,27 @@ + +struct op_3x3_parm { + int f1[3]; + int f2[3]; + int f3[3]; + int mul,div,add; +}; + +struct op_sharpe_parm { + int factor; +}; + +struct op_resize_parm { + int width; + int height; + int dpi; +}; + +struct op_rotate_parm { + int angle; +}; + +extern struct ida_op desc_grayscale; +extern struct ida_op desc_3x3; +extern struct ida_op desc_sharpe; +extern struct ida_op desc_resize; +extern struct ida_op desc_rotate; |