parent
ec9011996e
commit
81aa5ea7f1
@ -1,12 +0,0 @@
|
||||
diff -rupN libimagequant-2.11.0/libimagequant.c libimagequant-2.11.0-new/libimagequant.c
|
||||
--- libimagequant-2.11.0/libimagequant.c 2017-10-27 16:44:26.000000000 +0200
|
||||
+++ libimagequant-2.11.0-new/libimagequant.c 2017-11-01 17:41:12.874643124 +0100
|
||||
@@ -1256,7 +1256,7 @@ LIQ_NONNULL static float remap_to_palett
|
||||
kmeans_init(map, max_threads, average_color);
|
||||
|
||||
#pragma omp parallel for if (rows*cols > 3000) \
|
||||
- schedule(static) default(none) shared(average_color) reduction(+:remapping_error)
|
||||
+ schedule(static) default(none) shared(average_color) shared(acolormap) reduction(+:remapping_error)
|
||||
for(int row = 0; row < rows; ++row) {
|
||||
const f_pixel *const row_pixels = liq_image_get_row_f(input_image, row);
|
||||
const f_pixel *const bg_pixels = input_image->background && acolormap[transparent_index].acolor.a < 1.f/256.f ? liq_image_get_row_f(input_image->background, row) : NULL;
|
@ -1 +1 @@
|
||||
SHA512 (libimagequant-2.11.0.tar.gz) = 9a3c20ebdead89b8d78604a07b7e22e8d6d7537d5641d0f4e7d8749f20d31200dad0cb71f0bf3c9008a5f46dad08d85e72c1e5d41c0f773d1938840044a01726
|
||||
SHA512 (libimagequant-2.11.2.tar.gz) = 8a45b5376f49445a1a02382e0b5f7c7bb97ef9770a3ec1725a7533977ed1caa6cae73533966d298bc6cee54a709d201d7f41828c6080f28dff686798ef9191b2
|
||||
|
Loading…
Reference in new issue