babl r371 - in trunk: . babl babl/base
- From: martinn svn gnome org
- To: svn-commits-list gnome org
- Subject: babl r371 - in trunk: . babl babl/base
- Date: Sat, 17 Jan 2009 13:47:53 +0000 (UTC)
Author: martinn
Date: Sat Jan 17 13:47:52 2009
New Revision: 371
URL: http://svn.gnome.org/viewvc/babl?rev=371&view=rev
Log:
* babl/babl.h: Don't have BABL_ALPHA_THRESHOLD public yet.
* babl/base/util.h: Put it here for now instead.
Modified:
trunk/ChangeLog
trunk/babl/babl.h
trunk/babl/base/util.h
Modified: trunk/babl/babl.h
==============================================================================
--- trunk/babl/babl.h (original)
+++ trunk/babl/babl.h Sat Jan 17 13:47:52 2009
@@ -39,13 +39,6 @@
*/
#define BABL_MAGIC 0xbab100
-/* Alpha threshold used in the reference implementation for
- * un-pre-multiplication of color data:
- *
- * 0.01 / (2^16 - 1)
- */
-#define BABL_ALPHA_THRESHOLD 0.000000152590219
-
enum {
BABL_INSTANCE = BABL_MAGIC,
BABL_TYPE,
Modified: trunk/babl/base/util.h
==============================================================================
--- trunk/babl/base/util.h (original)
+++ trunk/babl/base/util.h Sat Jan 17 13:47:52 2009
@@ -22,6 +22,13 @@
#include <assert.h>
#include <math.h>
+/* Alpha threshold used in the reference implementation for
+ * un-pre-multiplication of color data:
+ *
+ * 0.01 / (2^16 - 1)
+ */
+#define BABL_ALPHA_THRESHOLD 0.000000152590219
+
#define BABL_PLANAR_SANITY \
{ \
assert(src_bands>0); \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]