Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Mein <mein@cs.umn.edu>2005-01-03 22:53:04 +0300
committerKent Mein <mein@cs.umn.edu>2005-01-03 22:53:04 +0300
commit3bbc65a5f418e7b9658ef791518e5b9872745d29 (patch)
tree262b35502d49731ce9f1021583a49cf9a297bd46 /source/blender/imbuf/intern/cmap.c
parent40813b301aff7c1cb1c574f0f6570e05a5ca5eed (diff)
This is a pretty lame commit but here it is:
I just fixed indentation (replaced spaces with tabs where needed) and removed #include config.h stuff from the above files. Kent
Diffstat (limited to 'source/blender/imbuf/intern/cmap.c')
-rw-r--r--source/blender/imbuf/intern/cmap.c22
1 files changed, 9 insertions, 13 deletions
diff --git a/source/blender/imbuf/intern/cmap.c b/source/blender/imbuf/intern/cmap.c
index 9174293fe13..f5302b311d8 100644
--- a/source/blender/imbuf/intern/cmap.c
+++ b/source/blender/imbuf/intern/cmap.c
@@ -42,10 +42,6 @@
#include "IMB_cmap.h"
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
static short *lastcube = 0;
static uchar *lastcoltab = 0;
static short lastmaxcol;
@@ -88,12 +84,12 @@ void imb_losecmapbits(struct ImBuf *ibuf, unsigned int *coltab)
if (ibuf->cbits == 0) return;
if (ibuf->cbits >= 8) return;
- /*
- bij cbits = 5:
- and1 = 11100000;
- bij cbits = 6:
- and1 = 11000000;
- */
+/*
+ bij cbits = 5:
+ and1 = 11100000;
+ bij cbits = 6:
+ and1 = 11000000;
+*/
bits = ibuf->cbits;
and1 = ((1 << (8-bits)) - 1) & 0xff;
@@ -352,17 +348,17 @@ short *imb_coldeltatab(unsigned char *coltab, short mincol, short maxcol, short
if (colp[3]){
if ((b + sizep - 1) > max) colp[3] = 0;
else done |= colp[3] = addplanetocube(cube + (sizep -1) * addcb, _plane, r, g, sizep, addcr,
- addcg, max, j);
+ addcg, max, j);
}
if (colp[4]){
if ((g + sizep - 1) > max) colp[4] = 0;
else done |= colp[4] = addplanetocube(cube + (sizep -1) * addcg, _plane, r, b, sizep, addcr,
- addcb, max, j);
+ addcb, max, j);
}
if (colp[5]){
if ((r + sizep - 1) > max) colp[5] = 0;
else done |= colp[5] = addplanetocube(cube + (sizep -1) * addcr, _plane, b, g, sizep, addcb,
- addcg, max, j);
+ addcg, max, j);
}
colp += 6;