diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-08-23 12:22:51 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-08-23 12:22:51 +0200 |
commit | bc3604d9b226ac475a104cd8ae2ca2d1d4a27984 (patch) | |
tree | e796661f371a94a50edfdc693388bb911b253dfd /render/thscreen.h | |
parent | 509016be676f7915d635fa57144d2a441e3090ca (diff) | |
parent | c0b89ac5bfb90835ef01573267020e42d4fe070c (diff) |
Merge new upstream release
Diffstat (limited to 'render/thscreen.h')
-rwxr-xr-x[-rw-r--r--] | render/thscreen.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/render/thscreen.h b/render/thscreen.h index 9a504bc..f14a8a4 100644..100755 --- a/render/thscreen.h +++ b/render/thscreen.h @@ -59,7 +59,8 @@ struct _thscreens { /* ebuf[][-1] is used for next pixel error */ void (*quant)(void *qcntx, double *out, double *in); /* optional quantization func. for edif */ - void *qcntx; /* Context for quant */ + void *qcntx; /* Context for quant */ + double mxerr; /* if != 0, max error to propogate */ sobol *so; /* Random number generator for error diffusion */ @@ -99,7 +100,8 @@ thscreens *new_thscreens( double (**lutfunc)(void *cntx, double in), /* List of callback function, NULL if none */ int edif, /* nz if using error diffusion */ void (*quant)(void *qcntx, double *out, double *in), /* optional quantization func. for edif */ - void *qcntx + void *qcntx, + double mxerr /* If error diffusion anf != 0, max error to propogate */ ); /* ---------------------------- */ |