diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-10-16 14:51:21 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-10-25 15:50:27 +0200 |
commit | fca9fce5f56dcf45bb69fa0df4bb1c5a2954ffe7 (patch) | |
tree | aebc63c7a3ac865db2fd2afae3d13c9f1d901d6e /include/mupdf/fitz | |
parent | e815e64406e574a75a33e057f954422d56ade314 (diff) | |
download | mupdf-fca9fce5f56dcf45bb69fa0df4bb1c5a2954ffe7.tar.xz |
Make alpha channel unmultiply and premultiply utility functions public.
Diffstat (limited to 'include/mupdf/fitz')
-rw-r--r-- | include/mupdf/fitz/colorspace.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mupdf/fitz/colorspace.h b/include/mupdf/fitz/colorspace.h index aad1c2e1..e1d7bb50 100644 --- a/include/mupdf/fitz/colorspace.h +++ b/include/mupdf/fitz/colorspace.h @@ -174,6 +174,9 @@ void fz_convert_color(fz_context *ctx, const fz_color_params *params, const fz_c typedef struct fz_color_converter_s fz_color_converter; +void fz_unmultiply_row(fz_context *ctx, int n, int c, int w, unsigned char *s, const unsigned char *in); +void fz_premultiply_row(fz_context *ctx, int n, int c, int w, unsigned char *s); + /* This structure is public because it allows us to avoid dynamic allocations. * Callers should only rely on the convert entry - the rest of the structure * is subject to change without notice. |