diff options
Diffstat (limited to 'source/fitz')
-rw-r--r-- | source/fitz/colorspace.c | 1 | ||||
-rw-r--r-- | source/fitz/draw-affine.c | 1 | ||||
-rw-r--r-- | source/fitz/draw-blend.c | 2 | ||||
-rw-r--r-- | source/fitz/draw-device.c | 2 | ||||
-rw-r--r-- | source/fitz/draw-edgebuffer.c | 1 | ||||
-rw-r--r-- | source/fitz/draw-imp.h | 2 | ||||
-rw-r--r-- | source/fitz/draw-path.c | 3 | ||||
-rw-r--r-- | source/fitz/font.c | 1 | ||||
-rw-r--r-- | source/fitz/icc34.h | 10 | ||||
-rw-r--r-- | source/fitz/list-device.c | 1 | ||||
-rw-r--r-- | source/fitz/load-jpx.c | 1 | ||||
-rw-r--r-- | source/fitz/separation.c | 1 |
12 files changed, 0 insertions, 26 deletions
diff --git a/source/fitz/colorspace.c b/source/fitz/colorspace.c index 78a975a2..f25c5fa8 100644 --- a/source/fitz/colorspace.c +++ b/source/fitz/colorspace.c @@ -3480,7 +3480,6 @@ fz_drop_color_converter(fz_context *ctx, fz_color_converter *cc) if (link) fz_drop_icclink(ctx, link); cc->link = NULL; - } void diff --git a/source/fitz/draw-affine.c b/source/fitz/draw-affine.c index 8b4690a3..1397166a 100644 --- a/source/fitz/draw-affine.c +++ b/source/fitz/draw-affine.c @@ -1721,7 +1721,6 @@ fz_paint_affine_lerp_spots(int da, int sa, int fa, int fb, int dn, int sn, int a } #endif /* FZ_ENABLE_SPOT_RENDERING */ - #if FZ_PLOTTERS_RGB static void paint_affine_lerp_da_sa_g2rgb(byte * FZ_RESTRICT dp, int da, const byte * FZ_RESTRICT sp, int sw, int sh, int ss, int sa, int u, int v, int fa, int fb, int w, int dn1, int sn1, int alpha, const byte * FZ_RESTRICT color, byte * FZ_RESTRICT hp, byte * FZ_RESTRICT gp, const fz_overprint * FZ_RESTRICT eop) diff --git a/source/fitz/draw-blend.c b/source/fitz/draw-blend.c index 21705a90..17c1fed5 100644 --- a/source/fitz/draw-blend.c +++ b/source/fitz/draw-blend.c @@ -53,7 +53,6 @@ And thus: as required. - Alpha blending on top of compositing: ===================================== @@ -461,7 +460,6 @@ fz_blend_nonseparable_gray(byte * FZ_RESTRICT bp, int bal, const byte * FZ_RESTR } if (bal) bp[n] = ba + sa - saba; - } } sp += n + sal; diff --git a/source/fitz/draw-device.c b/source/fitz/draw-device.c index 4f3abd5b..6d530eba 100644 --- a/source/fitz/draw-device.c +++ b/source/fitz/draw-device.c @@ -536,7 +536,6 @@ resolve_color(fz_context *ctx, fz_overprint *op, const float *color, fz_colorspa colorbv[i] = colorfv[i] * 255; for (; i < n; i++) colorbv[i] = 0; - } colorbv[i] = alpha * 255; @@ -2465,7 +2464,6 @@ fz_draw_end_group(fz_context *ctx, fz_device *devp) { fz_rethrow(ctx); } - } typedef struct diff --git a/source/fitz/draw-edgebuffer.c b/source/fitz/draw-edgebuffer.c index b56f6e25..92f35ea8 100644 --- a/source/fitz/draw-edgebuffer.c +++ b/source/fitz/draw-edgebuffer.c @@ -1435,7 +1435,6 @@ static void mark_line_app(fz_context *ctx, fz_edgebuffer *eb, fixed sx, fixed sy t = sy, sy = ey, ey = t; } do_mark_line_app(ctx, eb, sx, sy, ex, ey, rev); - } static void fz_insert_edgebuffer_app(fz_context *ctx, fz_rasterizer *ras, float fsx, float fsy, float fex, float fey, int rev) diff --git a/source/fitz/draw-imp.h b/source/fitz/draw-imp.h index df783609..e9d93512 100644 --- a/source/fitz/draw-imp.h +++ b/source/fitz/draw-imp.h @@ -54,7 +54,6 @@ static inline int fz_idiv_up(int a, int b) #define fz_rasterizer_aa_bits(ras) 4 #define fz_rasterizer_aa_text_bits(ras) 4 - #elif AA_BITS > 0 #define AA_SCALE(s, x) ((x * 255) >> 2) #define fz_aa_hscale 2 @@ -427,7 +426,6 @@ float fz_rasterizer_graphics_min_line_width(fz_rasterizer *ras); */ void fz_set_rasterizer_graphics_min_line_width(fz_context *ctx, fz_aa_context *aa, float min_line_width); - fz_rasterizer *fz_new_gel(fz_context *ctx); typedef enum diff --git a/source/fitz/draw-path.c b/source/fitz/draw-path.c index d809b7d8..64906b7b 100644 --- a/source/fitz/draw-path.c +++ b/source/fitz/draw-path.c @@ -45,8 +45,6 @@ special case code in the edgebuffer based rasterizer to cope with this. */ - - static void line(fz_context *ctx, fz_rasterizer *rast, fz_matrix ctm, float x0, float y0, float x1, float y1) { @@ -839,7 +837,6 @@ fz_stroke_closepath(fz_context *ctx, sctx *s) fz_gap_rasterizer(ctx, s->rast); } - static void fz_stroke_bezier(fz_context *ctx, struct sctx *s, float xa, float ya, diff --git a/source/fitz/font.c b/source/fitz/font.c index 733d91da..234d4a69 100644 --- a/source/fitz/font.c +++ b/source/fitz/font.c @@ -273,7 +273,6 @@ static void *ft_realloc(FT_Memory memory, long cur_size, long new_size, void *bl return fz_resize_array_no_throw(ctx, block, 1, new_size); } - void fz_new_font_context(fz_context *ctx) { ctx->font = fz_malloc_struct(ctx, fz_font_context); diff --git a/source/fitz/icc34.h b/source/fitz/icc34.h index 3b63abcf..a506eb17 100644 --- a/source/fitz/icc34.h +++ b/source/fitz/icc34.h @@ -134,7 +134,6 @@ authorization from SunSoft Inc. */ #define icAny 1 - /*------------------------------------------------------------------------*/ /* * Use this area to translate platform definitions of long @@ -143,7 +142,6 @@ authorization from SunSoft Inc. * */ - #ifdef PACKAGE_NAME /* June 9, 2003, Adapted for use with configure by Bob Friesenhahn @@ -184,7 +182,6 @@ typedef int32_t icInt64Number[2]; #elif defined(__sgi) #include "sgidefs.h" - /* * Number definitions */ @@ -201,7 +198,6 @@ typedef short icInt16Number; typedef __int32_t icInt32Number; typedef __int32_t icInt64Number[2]; - #elif defined(__GNUC__) || defined(__unix__) || defined(__unix) #include <sys/types.h> @@ -212,7 +208,6 @@ typedef __int32_t icInt64Number[2]; #include <stdint.h> #endif - typedef uint8_t icUInt8Number; typedef uint16_t icUInt16Number; typedef uint32_t icUInt32Number; @@ -228,14 +223,12 @@ typedef u_int32_t icUInt64Number[2]; #endif /* defined(__sun) || defined(__hpux) || defined (__MINGW) || defined(__MINGW32__) || defined(HAVE_STDINT_H) */ - /* Signed numbers */ typedef int8_t icInt8Number; typedef int16_t icInt16Number; typedef int32_t icInt32Number; typedef int32_t icInt64Number[2]; - #else /* default definitions */ /* @@ -254,7 +247,6 @@ typedef short icInt16Number; typedef long icInt32Number; typedef long icInt64Number[2]; - #endif /* default defs */ /* Base types */ @@ -263,7 +255,6 @@ typedef icInt32Number icSignature; typedef icInt32Number icS15Fixed16Number; typedef icUInt32Number icU16Fixed16Number; - /*------------------------------------------------------------------------*/ /* public tags and sizes */ typedef enum { @@ -491,7 +482,6 @@ typedef enum { icMaxEnumIluminant = 0xFFFFFFFFL } icIlluminant; - /*------------------------------------------------------------------------*/ /* * Arrays of numbers diff --git a/source/fitz/list-device.c b/source/fitz/list-device.c index 6d6fcf41..a1ad194a 100644 --- a/source/fitz/list-device.c +++ b/source/fitz/list-device.c @@ -150,7 +150,6 @@ struct fz_list_device_s enum { ISOLATED = 1, KNOCKOUT = 2 }; enum { OPM = 1, OP = 2, BP = 3, RI = 4}; - #define SIZE_IN_NODES(t) \ ((t + sizeof(fz_display_node) - 1) / sizeof(fz_display_node)) diff --git a/source/fitz/load-jpx.c b/source/fitz/load-jpx.c index da9ce087..2a15d185 100644 --- a/source/fitz/load-jpx.c +++ b/source/fitz/load-jpx.c @@ -870,7 +870,6 @@ jpx_read_image(fz_context *ctx, fz_jpxd *state, const unsigned char *data, size_ samples[yy * stride + xx * comps + k] = v; } } - } } } diff --git a/source/fitz/separation.c b/source/fitz/separation.c index e8d143e2..bfaf6d6e 100644 --- a/source/fitz/separation.c +++ b/source/fitz/separation.c @@ -9,7 +9,6 @@ enum FZ_SEPARATION_DISABLED_RENDER = 3 }; - struct fz_separations_s { int refs; |