summaryrefslogtreecommitdiff
path: root/source/fitz/halftone.c
AgeCommit message (Collapse)Author
2017-07-19Add spots to fz_pixmaps.Robin Watts
Update separations interface further to cope with whether spots should be rendered separately, or as composite colors.
2017-04-27Typedef function pointers consistently.Tor Andersson
2017-04-27Include required system headers.Tor Andersson
2017-03-23Add generic pixmap document writer.Tor Andersson
Allow mutool convert to output all image formats we can write. Add sanity checks for pbm and pkm writers.
2017-01-17Fix typos.Sebastian Rasmussen
2016-11-14More API tweaks.Robin Watts
Move internal functions from public to private headers.
2016-11-11API improvements.Robin Watts
Add missing API comments. Move private definitions to implementation headers or C files. Move internal functions to implementation headers.
2016-10-18Avoid checking argument to fz_drop_*()/fz_free().Sebastian Rasmussen
As fz_drop_*()/fz_free() all must handle NULL.
2016-10-12Change code from using bandheight to using band_height.Robin Watts
Keep to our naming conventions.
2016-07-08Use fz_keep_imp and fz_drop_imp for all reference counting.Tor Andersson
2016-06-17Improve banding API.Robin Watts
Previously the API assumed that all bands had to be the same height. By moving the multiplication into the caller, we can lift that assumption.
2016-06-06Change ARM assembler to be compatible with Xcode/clangJoseph Heenan
clang only accepts the unified format - so use the unified syntax everywhere, and add .syntax unified to tell the gnu assembler we're using the unified syntax.
2016-05-24Fix ARM code in light of plotter changes.Robin Watts
2016-05-24fz_pixmap revamp: add stride and make alpha optionalRobin Watts
fz_pixmaps now have an explicit stride value. By default no change from before, but code all copes with extra gaps at the end of the line. The alpha data in fz_pixmaps is no longer compulsory. mudraw: use rgb not rgba (ppmraw), cmyk not cmyka (pkmraw). Update halftone code to not expect alpha plane. Update PNG writing to cope with alpha less input. Also hide repeated params within the png output context. ARM code needs updating.
2016-03-25Rename ARCH_ARM_CAN_LOAD_UNALIGNED to be ARCH_UNALIGNED_OKRobin Watts
Now covers non-ARM arch's too, and both load/stores.
2016-03-25More ARM code thresholding work.Robin Watts
Fix do_threshold_1 and implement do_threshold_4. do_threshold_1 checks for white and shortcuts the work if it can. There are 2 ARM variants of do_threshold_4. One for ARMs that support unaligned loads, and one for the (rare configurations) that don't. The former checks for white and shortcuts the work.
2016-03-23Update halftoning to use shorter line buffer.Robin Watts
Use the LCM of the different tile widths rather than a complete line copy. This should play better with caches on devices like the pi.
2016-03-23ARM code do_threshold_1Robin Watts
No clever SIMD tricks.
2016-03-22Optimise the C for do_threshold_1.Robin Watts
Simple unrolling.
2016-03-18Add 1bpp cmyk output to mutool draw.Robin Watts
A request for a .pkm file will produce the same as a pamcmyk4 does on ghostscript. Ghostscripts pkmraw device does a 1bpp cmyk and then converts to rgb as writing to ppm, but that seems silly.
2016-03-16mutool draw: Add banded mode output for pbm files.Robin Watts
2016-03-15Fix leak/missing error cleanup in halftoning code.Robin Watts
Ensure we free buffers if we fail to malloc, and that we drop the temporary buffer at the end of halftoning a pixmap.
2015-12-18Rename fz_halftone_pixmap to fz_new_bitmap_from_pixmap.Tor Andersson
2013-09-13Fix various compile warnings spotted by the cluster.Robin Watts
2013-06-20Rearrange source files.Tor Andersson