commit aded333234c8902c627a2710812a47e0d9a02577
Author: Mattias Andrée <maandree_AT_kth.se>
AuthorDate: Fri Jan 20 10:21:25 2017 +0100
Commit: Mattias Andrée <maandree_AT_kth.se>
CommitDate: Fri Jan 20 10:21:25 2017 +0100
blind-gauss-blur: fix -a
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 a81a3ec..174afb0 100644
--- a/src/blind-gauss-blur.c
+++ b/src/blind-gauss-blur.c
_AT_@ -221,11 +221,13 @@ process_xyza(char *restrict output, char *restrict cbuf, char *restrict sbuf,
memset(img, 0, cn);\
start = 0, end = colour->height;\
is_master = efork_jobs(&start, &end, jobs, &children);\
- i1 = start * colour->width;\
- if (noalpha)\
+ if (noalpha) {\
+ i1 = start * colour->width;\
for (y1 = start; y1 < end; y1++)\
for (x1 = 0; x1 < colour->width; x1++, i1++)\
img[i1][3] = 1;\
+ }\
+ i1 = start * colour->width;\
for (y1 = start; y1 < end; y1++) {\
for (x1 = 0; x1 < colour->width; x1++, i1++) {\
BLUR_PIXEL_PROLOGUE(DIR);\
Received on Fri Jan 20 2017 - 10:38:32 CET
This archive was generated by hypermail 2.3.0
: Fri Jan 20 2017 - 10:48:16 CET