diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-10-12 11:44:35 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-10-12 12:37:49 +0100 |
commit | 798aaf5adcc326ff96823be918452f01a29e0449 (patch) | |
tree | 363e0488fcf03652e736fabd06fc56154bf63108 /include | |
parent | 80308eae9964e71b66a18f3de6ebcd2ebf0d306b (diff) | |
download | mupdf-798aaf5adcc326ff96823be918452f01a29e0449.tar.xz |
Change code from using bandheight to using band_height.
Keep to our naming conventions.
Diffstat (limited to 'include')
-rw-r--r-- | include/mupdf/fitz/bitmap.h | 2 | ||||
-rw-r--r-- | include/mupdf/fitz/output.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/mupdf/fitz/bitmap.h b/include/mupdf/fitz/bitmap.h index 4f6b479c..3b35b543 100644 --- a/include/mupdf/fitz/bitmap.h +++ b/include/mupdf/fitz/bitmap.h @@ -53,7 +53,7 @@ typedef struct fz_halftone_s fz_halftone; */ fz_bitmap *fz_new_bitmap_from_pixmap(fz_context *ctx, fz_pixmap *pix, fz_halftone *ht); -fz_bitmap *fz_new_bitmap_from_pixmap_band(fz_context *ctx, fz_pixmap *pix, fz_halftone *ht, int band_start, int bandheight); +fz_bitmap *fz_new_bitmap_from_pixmap_band(fz_context *ctx, fz_pixmap *pix, fz_halftone *ht, int band_start, int band_height); struct fz_bitmap_s { diff --git a/include/mupdf/fitz/output.h b/include/mupdf/fitz/output.h index ffa140f9..75dd0a83 100644 --- a/include/mupdf/fitz/output.h +++ b/include/mupdf/fitz/output.h @@ -170,7 +170,7 @@ fz_output_context *fz_keep_output_context(fz_context *ctx); typedef struct fz_band_writer_s fz_band_writer; typedef void (fz_write_header_fn)(fz_context *ctx, fz_band_writer *writer); -typedef void (fz_write_band_fn)(fz_context *ctx, fz_band_writer *writer, int stride, int band_start, int bandheight, const unsigned char *samples); +typedef void (fz_write_band_fn)(fz_context *ctx, fz_band_writer *writer, int stride, int band_start, int band_height, const unsigned char *samples); typedef void (fz_write_trailer_fn)(fz_context *ctx, fz_band_writer *writer); typedef void (fz_drop_band_writer_fn)(fz_context *ctx, fz_band_writer *writer); @@ -193,7 +193,7 @@ struct fz_band_writer_s fz_band_writer *fz_new_band_writer_of_size(fz_context *ctx, size_t size, fz_output *out); #define fz_new_band_writer(C,M,O) ((M *)Memento_label(fz_new_band_writer_of_size(ctx, sizeof(M), O), #M)) void fz_write_header(fz_context *ctx, fz_band_writer *writer, int w, int h, int n, int alpha, int xres, int yres, int pagenum); -void fz_write_band(fz_context *ctx, fz_band_writer *writer, int stride, int band_start, int bandheight, const unsigned char *samples); +void fz_write_band(fz_context *ctx, fz_band_writer *writer, int stride, int band_start, int band_height, const unsigned char *samples); void fz_write_trailer(fz_context *ctx, fz_band_writer *writer); void fz_drop_band_writer(fz_context *ctx, fz_band_writer *writer); |