summaryrefslogtreecommitdiff
path: root/draw
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-07-17 12:30:22 +0000
committerTor Andersson <tor@ghostscript.com>2010-07-17 12:30:22 +0000
commitf23227839ea5afeed361611dcaf01784b2f791e3 (patch)
tree30870ba1fc7e574ab2e14545caa9d9f03f97ef58 /draw
parent5de6910dd12025185e15fb483d5047c399212423 (diff)
downloadmupdf-f23227839ea5afeed361611dcaf01784b2f791e3.tar.xz
Minor edits of multi-line comments.
Diffstat (limited to 'draw')
-rw-r--r--draw/blendmodes.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/draw/blendmodes.c b/draw/blendmodes.c
index 713b6cf2..455ff7b4 100644
--- a/draw/blendmodes.c
+++ b/draw/blendmodes.c
@@ -1,5 +1,7 @@
#include "fitz.h"
+/* PDF 1.4 blend modes. These are slow. */
+
typedef unsigned char byte;
const char *fz_blendnames[] =
@@ -23,13 +25,7 @@ const char *fz_blendnames[] =
nil
};
-/*
-PDF 1.4 blend modes.
-Only the actual blend routines are here, not the rendering logic.
-These are slow.
-*/
-
-/* These functions apply to a single component, 0-255 range */
+/* Separable blend modes */
static inline int
fz_screen_byte(int b, int s)
@@ -232,9 +228,7 @@ fz_hue_rgb(int *rr, int *rg, int *rb, int br, int bg, int bb, int sr, int sg, in
fz_saturation_rgb(rr, rg, rb, tr, tg, tb, br, bg, bb);
}
-/*
- *
- */
+/* Blending functions */
static void
fz_blendseparable(byte * restrict sp, byte * restrict bp, int n, int w, fz_blendmode blendmode)