summaryrefslogtreecommitdiff
path: root/libjava/java/awt/color
diff options
context:
space:
mode:
authorupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
committerupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
commit554fd8c5195424bdbcabf5de30fdc183aba391bd (patch)
tree976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/java/awt/color
downloadcbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2
cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig; imported gcc-4.6.4 source tree from verified upstream tarball. downloading a git-generated archive based on the 'upstream' tag should provide you with a source tree that is binary identical to the one extracted from the above tarball. if you have obtained the source via the command 'git clone', however, do note that line-endings of files in your working directory might differ from line-endings of the respective files in the upstream repository.
Diffstat (limited to 'libjava/java/awt/color')
-rw-r--r--libjava/java/awt/color/CMMException.h35
-rw-r--r--libjava/java/awt/color/ColorSpace.h88
-rw-r--r--libjava/java/awt/color/ICC_ColorSpace.h71
-rw-r--r--libjava/java/awt/color/ICC_Profile.h217
-rw-r--r--libjava/java/awt/color/ICC_ProfileGray.h43
-rw-r--r--libjava/java/awt/color/ICC_ProfileRGB.h52
-rw-r--r--libjava/java/awt/color/ProfileDataException.h35
7 files changed, 541 insertions, 0 deletions
diff --git a/libjava/java/awt/color/CMMException.h b/libjava/java/awt/color/CMMException.h
new file mode 100644
index 000000000..b6ee5337a
--- /dev/null
+++ b/libjava/java/awt/color/CMMException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_color_CMMException__
+#define __java_awt_color_CMMException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace color
+ {
+ class CMMException;
+ }
+ }
+ }
+}
+
+class java::awt::color::CMMException : public ::java::lang::RuntimeException
+{
+
+public:
+ CMMException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 5775558044142994965LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_color_CMMException__
diff --git a/libjava/java/awt/color/ColorSpace.h b/libjava/java/awt/color/ColorSpace.h
new file mode 100644
index 000000000..cb8ec13c3
--- /dev/null
+++ b/libjava/java/awt/color/ColorSpace.h
@@ -0,0 +1,88 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_color_ColorSpace__
+#define __java_awt_color_ColorSpace__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace color
+ {
+ class ColorSpace;
+ }
+ }
+ }
+}
+
+class java::awt::color::ColorSpace : public ::java::lang::Object
+{
+
+public: // actually protected
+ ColorSpace(jint, jint);
+public:
+ static ::java::awt::color::ColorSpace * getInstance(jint);
+ virtual jboolean isCS_sRGB();
+ virtual JArray< jfloat > * toRGB(JArray< jfloat > *) = 0;
+ virtual JArray< jfloat > * fromRGB(JArray< jfloat > *) = 0;
+ virtual JArray< jfloat > * toCIEXYZ(JArray< jfloat > *) = 0;
+ virtual JArray< jfloat > * fromCIEXYZ(JArray< jfloat > *) = 0;
+ virtual jint getType();
+ virtual jint getNumComponents();
+ virtual ::java::lang::String * getName(jint);
+ virtual jfloat getMinValue(jint);
+ virtual jfloat getMaxValue(jint);
+private:
+ static const jlong serialVersionUID = -409452704308689724LL;
+public:
+ static const jint TYPE_XYZ = 0;
+ static const jint TYPE_Lab = 1;
+ static const jint TYPE_Luv = 2;
+ static const jint TYPE_YCbCr = 3;
+ static const jint TYPE_Yxy = 4;
+ static const jint TYPE_RGB = 5;
+ static const jint TYPE_GRAY = 6;
+ static const jint TYPE_HSV = 7;
+ static const jint TYPE_HLS = 8;
+ static const jint TYPE_CMYK = 9;
+ static const jint TYPE_CMY = 11;
+ static const jint TYPE_2CLR = 12;
+ static const jint TYPE_3CLR = 13;
+ static const jint TYPE_4CLR = 14;
+ static const jint TYPE_5CLR = 15;
+ static const jint TYPE_6CLR = 16;
+ static const jint TYPE_7CLR = 17;
+ static const jint TYPE_8CLR = 18;
+ static const jint TYPE_9CLR = 19;
+ static const jint TYPE_ACLR = 20;
+ static const jint TYPE_BCLR = 21;
+ static const jint TYPE_CCLR = 22;
+ static const jint TYPE_DCLR = 23;
+ static const jint TYPE_ECLR = 24;
+ static const jint TYPE_FCLR = 25;
+ static const jint CS_sRGB = 1000;
+ static const jint CS_LINEAR_RGB = 1004;
+ static const jint CS_CIEXYZ = 1001;
+ static const jint CS_PYCC = 1002;
+ static const jint CS_GRAY = 1003;
+private:
+ static const jint CS_BASE = 1000;
+ static const jint CS_END = 1005;
+ static const jint CS_COUNT = 5;
+ static JArray< ::java::awt::color::ColorSpace * > * INSTANCES;
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) type;
+ jint numComponents;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_color_ColorSpace__
diff --git a/libjava/java/awt/color/ICC_ColorSpace.h b/libjava/java/awt/color/ICC_ColorSpace.h
new file mode 100644
index 000000000..6dd211791
--- /dev/null
+++ b/libjava/java/awt/color/ICC_ColorSpace.h
@@ -0,0 +1,71 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_color_ICC_ColorSpace__
+#define __java_awt_color_ICC_ColorSpace__
+
+#pragma interface
+
+#include <java/awt/color/ColorSpace.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace color
+ {
+ class ColorSpaceConverter;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace color
+ {
+ class ICC_ColorSpace;
+ class ICC_Profile;
+ }
+ }
+ }
+}
+
+class java::awt::color::ICC_ColorSpace : public ::java::awt::color::ColorSpace
+{
+
+public:
+ ICC_ColorSpace(::java::awt::color::ICC_Profile *);
+ virtual ::java::awt::color::ICC_Profile * getProfile();
+ virtual JArray< jfloat > * toRGB(JArray< jfloat > *);
+ virtual JArray< jfloat > * fromRGB(JArray< jfloat > *);
+ virtual JArray< jfloat > * toCIEXYZ(JArray< jfloat > *);
+ virtual JArray< jfloat > * fromCIEXYZ(JArray< jfloat > *);
+ virtual jboolean isCS_sRGB();
+ virtual jfloat getMinValue(jint);
+ virtual jfloat getMaxValue(jint);
+private:
+ ::gnu::java::awt::color::ColorSpaceConverter * getConverter(::java::awt::color::ICC_Profile *);
+ void makeArrays();
+ void readObject(::java::io::ObjectInputStream *);
+ static const jlong serialVersionUID = 3455889114070431483LL;
+ ::java::awt::color::ICC_Profile * __attribute__((aligned(__alignof__( ::java::awt::color::ColorSpace)))) thisProfile;
+ JArray< jfloat > * minVal;
+ JArray< jfloat > * maxVal;
+ JArray< jfloat > * diffMinMax;
+ JArray< jfloat > * invDiffMinMax;
+ jboolean needScaleInit;
+ jint type;
+ jint nComponents;
+ ::gnu::java::awt::color::ColorSpaceConverter * converter;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_color_ICC_ColorSpace__
diff --git a/libjava/java/awt/color/ICC_Profile.h b/libjava/java/awt/color/ICC_Profile.h
new file mode 100644
index 000000000..d6a406e03
--- /dev/null
+++ b/libjava/java/awt/color/ICC_Profile.h
@@ -0,0 +1,217 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_color_ICC_Profile__
+#define __java_awt_color_ICC_Profile__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace color
+ {
+ class ProfileHeader;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace color
+ {
+ class ICC_Profile;
+ }
+ }
+ }
+}
+
+class java::awt::color::ICC_Profile : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ICC_Profile(jint);
+ ICC_Profile(::gnu::java::awt::color::ProfileHeader *, ::java::util::Hashtable *);
+ ICC_Profile(JArray< jbyte > *);
+public: // actually protected
+ virtual void finalize();
+public:
+ static ::java::awt::color::ICC_Profile * getInstance(JArray< jbyte > *);
+ static ::java::awt::color::ICC_Profile * getInstance(jint);
+ static ::java::awt::color::ICC_Profile * getInstance(::java::lang::String *);
+ static ::java::awt::color::ICC_Profile * getInstance(::java::io::InputStream *);
+ virtual jint getMajorVersion();
+ virtual jint getMinorVersion();
+ virtual jint getProfileClass();
+ virtual jint getColorSpaceType();
+ virtual jint getPCSType();
+ virtual void write(::java::lang::String *);
+ virtual void write(::java::io::OutputStream *);
+ virtual JArray< jbyte > * getData();
+ virtual JArray< jbyte > * getData(jint);
+ virtual void setData(jint, JArray< jbyte > *);
+ virtual jint getNumComponents();
+public: // actually protected
+ virtual ::java::lang::Object * readResolve();
+private:
+ void readObject(::java::io::ObjectInputStream *);
+ void writeObject(::java::io::ObjectOutputStream *);
+ static ::java::util::Hashtable * createTagTable(JArray< jbyte > *);
+ jint getSize();
+ JArray< jbyte > * getTagTable();
+ static jboolean isRGBProfile(::gnu::java::awt::color::ProfileHeader *, ::java::util::Hashtable *);
+ static jboolean isGrayProfile(::gnu::java::awt::color::ProfileHeader *, ::java::util::Hashtable *);
+public: // actually package-private
+ virtual JArray< jshort > * getCurve(jint);
+ virtual JArray< jfloat > * getXYZData(jint);
+ virtual jint isPredefined();
+private:
+ JArray< jbyte > * makeXYZData(JArray< jfloat > *);
+ JArray< jbyte > * makeTextTag(::java::lang::String *);
+ JArray< jbyte > * makeDescTag(::java::lang::String *);
+ JArray< jbyte > * makeTRC();
+ JArray< jbyte > * makeTRC(jfloat);
+ JArray< jbyte > * makeTRC(JArray< jfloat > *);
+ JArray< jbyte > * makeIdentityClut();
+ void createProfile(jint);
+ void createRGBProfile();
+ void createLinearRGBProfile();
+ void createCIEProfile();
+ void createGrayProfile();
+ void createPyccProfile();
+ static const jlong serialVersionUID = -3938515861990936766LL;
+public:
+ static const jint CLASS_INPUT = 0;
+ static const jint CLASS_DISPLAY = 1;
+ static const jint CLASS_OUTPUT = 2;
+ static const jint CLASS_DEVICELINK = 3;
+ static const jint CLASS_COLORSPACECONVERSION = 4;
+ static const jint CLASS_ABSTRACT = 5;
+ static const jint CLASS_NAMEDCOLOR = 6;
+ static const jint icSigInputClass = 1935896178;
+ static const jint icSigDisplayClass = 1835955314;
+ static const jint icSigOutputClass = 1886549106;
+ static const jint icSigLinkClass = 1818848875;
+ static const jint icSigColorSpaceClass = 1936744803;
+ static const jint icSigAbstractClass = 1633842036;
+ static const jint icSigNamedColorClass = 1852662636;
+ static const jint icSigXYZData = 1482250784;
+ static const jint icSigLabData = 1281450528;
+ static const jint icSigLuvData = 1282766368;
+ static const jint icSigYCbCrData = 1497588338;
+ static const jint icSigYxyData = 1501067552;
+ static const jint icSigRgbData = 1380401696;
+ static const jint icSigGrayData = 1196573017;
+ static const jint icSigHsvData = 1213421088;
+ static const jint icSigHlsData = 1212961568;
+ static const jint icSigCmykData = 1129142603;
+ static const jint icSigCmyData = 1129142560;
+ static const jint icSigSpace2CLR = 843271250;
+ static const jint icSigSpace3CLR = 860048466;
+ static const jint icSigSpace4CLR = 876825682;
+ static const jint icSigSpace5CLR = 893602898;
+ static const jint icSigSpace6CLR = 910380114;
+ static const jint icSigSpace7CLR = 927157330;
+ static const jint icSigSpace8CLR = 943934546;
+ static const jint icSigSpace9CLR = 960711762;
+ static const jint icSigSpaceACLR = 1094929490;
+ static const jint icSigSpaceBCLR = 1111706706;
+ static const jint icSigSpaceCCLR = 1128483922;
+ static const jint icSigSpaceDCLR = 1145261138;
+ static const jint icSigSpaceECLR = 1162038354;
+ static const jint icSigSpaceFCLR = 1178815570;
+ static const jint icPerceptual = 0;
+ static const jint icRelativeColorimetric = 1;
+ static const jint icSaturation = 2;
+ static const jint icAbsoluteColorimetric = 3;
+ static const jint icSigAToB0Tag = 1093812784;
+ static const jint icSigAToB1Tag = 1093812785;
+ static const jint icSigAToB2Tag = 1093812786;
+ static const jint icSigBlueColorantTag = 1649957210;
+ static const jint icSigBlueTRCTag = 1649693251;
+ static const jint icSigBToA0Tag = 1110589744;
+ static const jint icSigBToA1Tag = 1110589745;
+ static const jint icSigBToA2Tag = 1110589746;
+ static const jint icSigCalibrationDateTimeTag = 1667329140;
+ static const jint icSigCharTargetTag = 1952543335;
+ static const jint icSigCopyrightTag = 1668313716;
+ static const jint icSigCrdInfoTag = 1668441193;
+ static const jint icSigDeviceMfgDescTag = 1684893284;
+ static const jint icSigDeviceModelDescTag = 1684890724;
+ static const jint icSigDeviceSettingsTag = 1684371059;
+ static const jint icSigGamutTag = 1734438260;
+ static const jint icSigGrayTRCTag = 1800688195;
+ static const jint icSigGreenColorantTag = 1733843290;
+ static const jint icSigGreenTRCTag = 1733579331;
+ static const jint icSigLuminanceTag = 1819635049;
+ static const jint icSigMeasurementTag = 1835360627;
+ static const jint icSigMediaBlackPointTag = 1651208308;
+ static const jint icSigMediaWhitePointTag = 2004119668;
+ static const jint icSigNamedColor2Tag = 1852009522;
+ static const jint icSigOutputResponseTag = 1919251312;
+ static const jint icSigPreview0Tag = 1886545200;
+ static const jint icSigPreview1Tag = 1886545201;
+ static const jint icSigPreview2Tag = 1886545202;
+ static const jint icSigProfileDescriptionTag = 1684370275;
+ static const jint icSigProfileSequenceDescTag = 1886610801;
+ static const jint icSigPs2CRD0Tag = 1886610480;
+ static const jint icSigPs2CRD1Tag = 1886610481;
+ static const jint icSigPs2CRD2Tag = 1886610482;
+ static const jint icSigPs2CRD3Tag = 1886610483;
+ static const jint icSigPs2CSATag = 1886597747;
+ static const jint icSigPs2RenderingIntentTag = 1886597737;
+ static const jint icSigRedColorantTag = 1918392666;
+ static const jint icSigRedTRCTag = 1918128707;
+ static const jint icSigScreeningDescTag = 1935897188;
+ static const jint icSigScreeningTag = 1935897198;
+ static const jint icSigTechnologyTag = 1952801640;
+ static const jint icSigUcrBgTag = 1650877472;
+ static const jint icSigViewingCondDescTag = 1987405156;
+ static const jint icSigViewingConditionsTag = 1986618743;
+ static const jint icSigChromaticityTag = 1667789421;
+ static const jint icSigHead = 1751474532;
+ static const jint icHdrSize = 0;
+ static const jint icHdrCmmId = 4;
+ static const jint icHdrVersion = 8;
+ static const jint icHdrDeviceClass = 12;
+ static const jint icHdrColorSpace = 16;
+ static const jint icHdrPcs = 20;
+ static const jint icHdrDate = 24;
+ static const jint icHdrMagic = 36;
+ static const jint icHdrPlatform = 40;
+ static const jint icHdrFlags = 44;
+ static const jint icHdrManufacturer = 48;
+ static const jint icHdrModel = 52;
+ static const jint icHdrAttributes = 56;
+ static const jint icHdrRenderingIntent = 64;
+ static const jint icHdrIlluminant = 68;
+ static const jint icHdrCreator = 80;
+ static const jint icTagType = 0;
+ static const jint icTagReserved = 4;
+ static const jint icCurveCount = 8;
+ static const jint icCurveData = 12;
+ static const jint icXYZNumberX = 8;
+private:
+ static const jint tagTableOffset = 128;
+ static const jint iccProfileSerializedDataVersion = 1;
+ static ::java::lang::String * copyrightNotice;
+ static const jint TRC_POINTS = 1024;
+ static JArray< jfloat > * D50;
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) profileID;
+ ::gnu::java::awt::color::ProfileHeader * header;
+ ::java::util::Hashtable * tagTable;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_color_ICC_Profile__
diff --git a/libjava/java/awt/color/ICC_ProfileGray.h b/libjava/java/awt/color/ICC_ProfileGray.h
new file mode 100644
index 000000000..9ebeef8de
--- /dev/null
+++ b/libjava/java/awt/color/ICC_ProfileGray.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_color_ICC_ProfileGray__
+#define __java_awt_color_ICC_ProfileGray__
+
+#pragma interface
+
+#include <java/awt/color/ICC_Profile.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace color
+ {
+ class ICC_ProfileGray;
+ }
+ }
+ }
+}
+
+class java::awt::color::ICC_ProfileGray : public ::java::awt::color::ICC_Profile
+{
+
+public: // actually package-private
+ ICC_ProfileGray(jint);
+ ICC_ProfileGray(JArray< jbyte > *);
+public:
+ virtual JArray< jfloat > * getMediaWhitePoint();
+ virtual jfloat getGamma();
+ virtual JArray< jshort > * getTRC();
+private:
+ static const jlong serialVersionUID = -1124721290732002649LL;
+ JArray< jfloat > * __attribute__((aligned(__alignof__( ::java::awt::color::ICC_Profile)))) whitePoint;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_color_ICC_ProfileGray__
diff --git a/libjava/java/awt/color/ICC_ProfileRGB.h b/libjava/java/awt/color/ICC_ProfileRGB.h
new file mode 100644
index 000000000..7520d8af6
--- /dev/null
+++ b/libjava/java/awt/color/ICC_ProfileRGB.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_color_ICC_ProfileRGB__
+#define __java_awt_color_ICC_ProfileRGB__
+
+#pragma interface
+
+#include <java/awt/color/ICC_Profile.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace color
+ {
+ class ICC_ProfileRGB;
+ }
+ }
+ }
+}
+
+class java::awt::color::ICC_ProfileRGB : public ::java::awt::color::ICC_Profile
+{
+
+public: // actually package-private
+ ICC_ProfileRGB(jint);
+ ICC_ProfileRGB(JArray< jbyte > *);
+public:
+ virtual JArray< jfloat > * getMediaWhitePoint();
+ virtual JArray< JArray< jfloat > * > * getMatrix();
+ virtual jfloat getGamma(jint);
+ virtual JArray< jshort > * getTRC(jint);
+private:
+ JArray< JArray< jfloat > * > * createMatrix();
+ static const jlong serialVersionUID = 8505067385152579334LL;
+public:
+ static const jint REDCOMPONENT = 0;
+ static const jint GREENCOMPONENT = 1;
+ static const jint BLUECOMPONENT = 2;
+private:
+ JArray< JArray< jfloat > * > * __attribute__((aligned(__alignof__( ::java::awt::color::ICC_Profile)))) matrix;
+ JArray< jfloat > * gamma;
+ JArray< jfloat > * whitePoint;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_color_ICC_ProfileRGB__
diff --git a/libjava/java/awt/color/ProfileDataException.h b/libjava/java/awt/color/ProfileDataException.h
new file mode 100644
index 000000000..593bf1326
--- /dev/null
+++ b/libjava/java/awt/color/ProfileDataException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_color_ProfileDataException__
+#define __java_awt_color_ProfileDataException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace color
+ {
+ class ProfileDataException;
+ }
+ }
+ }
+}
+
+class java::awt::color::ProfileDataException : public ::java::lang::RuntimeException
+{
+
+public:
+ ProfileDataException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 7286140888240322498LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_color_ProfileDataException__