[babl] extensions/sse2-float: s/premul/assoc/ in function names
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [babl] extensions/sse2-float: s/premul/assoc/ in function names
- Date: Mon, 22 Jul 2019 13:50:55 +0000 (UTC)
commit 69de6091746c974baacfd24c3ea08a2a7305e18a
Author: Øyvind Kolås <pippin gimp org>
Date: Mon Jul 22 15:44:58 2019 +0200
extensions/sse2-float: s/premul/assoc/ in function names
babl/babl.h | 6 +++---
extensions/sse2-float.c | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/babl/babl.h b/babl/babl.h
index b32817f..71e06cf 100644
--- a/babl/babl.h
+++ b/babl/babl.h
@@ -646,9 +646,9 @@ const char * babl_format_get_encoding (const Babl *babl);
int babl_space_is_cmyk (const Babl *space);
-/* values below this are stored premultiplied with this value,
- * it can also be used as a generic alpha zero epsilon in GEGL
- *
+/* values below this are stored associated with this value, it should also be
+ * used as a generic alpha zero epsilon in GEGL to keep the threshold effects
+ * on one known value.
*/
#define BABL_ALPHA_FLOOR (1/65536.0)
#define BABL_ALPHA_FLOOR_F (1/65536.0f)
diff --git a/extensions/sse2-float.c b/extensions/sse2-float.c
index 6acec08..3757ffe 100644
--- a/extensions/sse2-float.c
+++ b/extensions/sse2-float.c
@@ -180,7 +180,7 @@ conv_rgbAF_linear_rgbaF_linear_spin (const Babl *conversion,
{
long i = 0;
long remainder;
- // XXX : not ported to color preserving premul
+ // XXX : not ported to zero preserving alpha transforms
if (((uintptr_t)src % 16) + ((uintptr_t)dst % 16) == 0)
{
const long n = samples;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]