extensions/sse2-float: s/premul/assoc/ in function names
authorØyvind Kolås <pippin@gimp.org>
Mon, 22 Jul 2019 13:44:58 +0000 (15:44 +0200)
committerØyvind Kolås <pippin@gimp.org>
Mon, 22 Jul 2019 13:44:58 +0000 (15:44 +0200)
babl/babl.h
extensions/sse2-float.c

index b32817fc78c12c4141304cf670ebe3c272bcbcff..71e06cfe2de91c74d18ba58d72c393a2fb0f6de2 100644 (file)
@@ -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)
index 6acec08bea7945fb666b12e223a290e9f6eb6525..3757ffe09fe9f3cf8fd3f145772625353827c268 100644 (file)
@@ -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;