commit 08b33274f39f0dafe9c8cc68fe637884d7a218a9
Author: Mattias Andrée <maandree_AT_kth.se>
AuthorDate: Wed Jul 26 21:56:36 2017 +0200
Commit: Mattias Andrée <maandree_AT_kth.se>
CommitDate: Wed Jul 26 21:56:36 2017 +0200
blind-gauss-blur: change glow function
Signed-off-by: Mattias Andrée <maandree_AT_kth.se>
diff --git a/src/blind-gauss-blur.c b/src/blind-gauss-blur.c
index 983d6cd..53eaecb 100644
--- a/src/blind-gauss-blur.c
+++ b/src/blind-gauss-blur.c
_AT_@ -263,10 +263,10 @@ static void *original = NULL;
i1 = start * colour->width;\
for (y1 = start; y1 < end; y1++) {\
for (x1 = 0; x1 < colour->width; x1++, i1++) {\
- img[i1][0] = 1 - (1 - img[i1][0]) * (1 - orig[i1][0]);\
- img[i1][1] = 1 - (1 - img[i1][1]) * (1 - orig[i1][1]);\
- img[i1][2] = 1 - (1 - img[i1][2]) * (1 - orig[i1][2]);\
- img[i1][3] = 1 - (1 - img[i1][3]) * (1 - orig[i1][3]);\
+ img[i1][0] += orig[i1][0];\
+ img[i1][1] += orig[i1][1];\
+ img[i1][2] += orig[i1][2];\
+ img[i1][3] += orig[i1][3];\
}\
}\
}\
Received on Thu Jul 27 2017 - 01:04:19 CEST
This archive was generated by hypermail 2.3.0
: Thu Jul 27 2017 - 01:12:32 CEST