[Rawstudio-commit] r2035 - trunk/src
Anders Brander
anders at brander.dk
Mon Sep 29 01:16:57 CEST 2008
Author: abrander
Date: 2008-09-29 01:16:56 +0200 (Mon, 29 Sep 2008)
New Revision: 2035
Modified:
trunk/src/rawstudio.h
trunk/src/rs-image.c
Log:
Moved PITCH() and SWAP() macros from rawstudio.h to rs-image.c.
Modified: trunk/src/rawstudio.h
===================================================================
--- trunk/src/rawstudio.h 2008-09-28 23:14:44 UTC (rev 2034)
+++ trunk/src/rawstudio.h 2008-09-28 23:16:56 UTC (rev 2035)
@@ -34,10 +34,6 @@
#error GLib was not compiled with thread support, Rawstudio needs threads - sorry.
#endif
-#define PITCH(width) ((((width)+15)/16)*16)
-
-#define SWAP( a, b ) a ^= b ^= a ^= b
-
#define DOTDIR ".rawstudio"
#define HISTOGRAM_DATASET_WIDTH (250)
Modified: trunk/src/rs-image.c
===================================================================
--- trunk/src/rs-image.c 2008-09-28 23:14:44 UTC (rev 2034)
+++ trunk/src/rs-image.c 2008-09-28 23:16:56 UTC (rev 2035)
@@ -29,6 +29,9 @@
#include "rawstudio.h"
#include "rs-image.h"
+#define PITCH(width) ((((width)+15)/16)*16)
+#define SWAP( a, b ) a ^= b ^= a ^= b
+
struct struct_program {
gint divisor;
gint scale[9];
More information about the Rawstudio-commit
mailing list