summaryrefslogtreecommitdiff
path: root/include/mupdf/fitz/output-png.h
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2016-06-28 15:01:39 +0100
committerRobin Watts <robin.watts@artifex.com>2016-06-28 15:15:42 +0100
commit5c41dcd3f3458f7e1562a9493b4cba0da83f4188 (patch)
tree3e94316bb611c43d04926b16e8af76397c2e14d3 /include/mupdf/fitz/output-png.h
parent12aa6f724a04f1729513690a14d3a0bdc0725732 (diff)
downloadmupdf-5c41dcd3f3458f7e1562a9493b4cba0da83f4188.tar.xz
Fix inconsistency in band handling.
In an earlier commit, I changed some of the band writing functions to take the band starting offset, rather than the band number. This was done to accomodate the idea of rendering the page in bands of different heights. Sadly, it seems I didn't push this all the way through, and had different band writing functions still taking the band number. Fix all the band writing functions to be consistent.
Diffstat (limited to 'include/mupdf/fitz/output-png.h')
-rw-r--r--include/mupdf/fitz/output-png.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mupdf/fitz/output-png.h b/include/mupdf/fitz/output-png.h
index 09454fa7..d98d7c7f 100644
--- a/include/mupdf/fitz/output-png.h
+++ b/include/mupdf/fitz/output-png.h
@@ -23,7 +23,7 @@ void fz_write_pixmap_as_png(fz_context *ctx, fz_output *out, const fz_pixmap *pi
typedef struct fz_png_output_context_s fz_png_output_context;
fz_png_output_context *fz_write_png_header(fz_context *ctx, fz_output *out, int w, int h, int n, int alpha);
-void fz_write_png_band(fz_context *ctx, fz_output *out, fz_png_output_context *poc, int stride, int band, int bandheight, unsigned char *samples);
+void fz_write_png_band(fz_context *ctx, fz_output *out, fz_png_output_context *poc, int stride, int band_start, int bandheight, unsigned char *samples);
void fz_write_png_trailer(fz_context *ctx, fz_output *out, fz_png_output_context *poc);
/*