Bug 800667 - typo wih NATIVE_OUTPUT in qcms. r=jmuizelaar
authorMakoto Kato <m_kato@ga2.so-net.ne.jp>
Mon, 15 Oct 2012 13:34:52 +0900
changeset 110379 8dd63acc9c4fbde8bc371c06b10adb81c132defa
parent 110378 ddac06746a2c5faf98c79ff8ecd1966df98e96b0
child 110380 ab00790e8fedd734508a739b982af34c08a1a238
push id93
push usernmatsakis@mozilla.com
push dateWed, 31 Oct 2012 21:26:57 +0000
reviewersjmuizelaar
bugs800667
milestone19.0a1
Bug 800667 - typo wih NATIVE_OUTPUT in qcms. r=jmuizelaar
gfx/qcms/qcmsint.h
--- a/gfx/qcms/qcmsint.h
+++ b/gfx/qcms/qcmsint.h
@@ -274,25 +274,25 @@ void qcms_transform_data_rgba_out_lut_ss
                                           size_t length);
 
 extern qcms_bool qcms_supports_iccv4;
 
 #ifdef NATIVE_OUTPUT
 # define RGB_OUTPUT_COMPONENTS 4
 # define RGBA_OUTPUT_COMPONENTS 4
 # ifdef IS_LITTLE_ENDIAN
-#  define OUTPUT_INDEX_A 3
-#  define OUTPUT_INDEX_R 2
-#  define OUTPUT_INDEX_G 1
-#  define OUTPUT_INDEX_B 0
+#  define OUTPUT_A_INDEX 3
+#  define OUTPUT_R_INDEX 2
+#  define OUTPUT_G_INDEX 1
+#  define OUTPUT_B_INDEX 0
 # else
-#  define OUTPUT_INDEX_A 0
-#  define OUTPUT_INDEX_R 1
-#  define OUTPUT_INDEX_G 2
-#  define OUTPUT_INDEX_B 3
+#  define OUTPUT_A_INDEX 0
+#  define OUTPUT_R_INDEX 1
+#  define OUTPUT_G_INDEX 2
+#  define OUTPUT_B_INDEX 3
 # endif
 #else
 # define RGB_OUTPUT_COMPONENTS 3
 # define RGBA_OUTPUT_COMPONENTS 4
 # define OUTPUT_R_INDEX 0
 # define OUTPUT_G_INDEX 1
 # define OUTPUT_B_INDEX 2
 # define OUTPUT_A_INDEX 3