Thread: [Lcms-user] Test fail on sgi with 1.07m
An ICC-based CMM for color management
Brought to you by:
mm2
From: Robert M. <eg...@ce...> - 2001-05-24 20:33:58
|
On the Sgi I have USE_BIG_ENDIAN defined. When I run testcms with USE_C little cms testbed. ver 1.2 build May 24 2001 13:28:13 Testing fixed point: 2.8848960205 = 2.8848 0.437499269828536 = 0.4375 Testing fixed scaling...Ok! Testing linear interpolation ...Ok! 1600000 tics Testing descending tables (linear interpolation) ...Ok! Emulating sRGB from primaries & White point: sRGB final matrix is: [ 0.436066 0.385147 0.143066 ] [ 0.222488 0.716873 0.060608 ] [ 0.013916 0.097076 0.714096 ] lcms calculated matrix is: [ 0.436066 0.385114 0.143105 ] [ 0.222493 0.716923 0.060627 ] [ 0.0139346 0.0970567 0.714108 ] Testing CIELab conversion: 1=IEC 61966-2.1 Default RGB colour space - sRGB - IEC http://www.iec.ch 2=sRGB ColorSpace Conversion Profile 00:Coarse error: In=(0,202,f9f9) Out1=(0,-128,-16.6055) Out2=(0,-128,-34.3438) When I run testcms with USE_FLOAT little cms testbed. ver 1.2 build May 24 2001 13:29:37 Testing fixed point: 2.8848960205 = 2.8848 0.437499269828536 = 0.4375 Testing fixed scaling...Ok! Testing linear interpolation ...Ok! 1690000 tics Testing descending tables (linear interpolation) ...Ok! Testing 3D interpolation...Ok! Emulating sRGB from primaries & White point: sRGB final matrix is: [ 0.436066 0.385147 0.143066 ] [ 0.222488 0.716873 0.060608 ] [ 0.013916 0.097076 0.714096 ] lcms calculated matrix is: [ 0.436066 0.385114 0.143105 ] [ 0.222493 0.716923 0.060627 ] [ 0.0139346 0.0970567 0.714108 ] Testing CIELab conversion: 1=IEC 61966-2.1 Default RGB colour space - sRGB - IEC http://www.iec.ch 2=sRGB ColorSpace Conversion Profile Ok!. Out of encodeable representation=0 Error Induced by the CMM due to roundoff (dE) Testing little cms Relative L*a*b* identity profile: 00:Coarse error! : In=(0,0,c0c) Out=(c0b,0,0) -- Robert Minsk Centropolis Effects, LLC. eg...@ce... 10950 Washington Blvd., Studio B Culver City, Ca. 90232-4025 |
From: <ma...@li...> - 2001-05-25 08:53:41
|
Hi, Do you have NON_WINDOWS defined? Assuming that, could you detail the compiler & settings you are using? I'm specially interested on alignment & optimization degree. I'm unable to check directly USE_BIG_ENDIAN, but seemed to work on other users. Regards, Martí. ----- Original Message ----- From: "Robert Minsk" <eg...@ce...> To: <lcm...@li...> Sent: Thursday, May 24, 2001 10:30 PM Subject: [Lcms-user] Test fail on sgi with 1.07m > On the Sgi I have USE_BIG_ENDIAN defined. > > When I run testcms with USE_C > > little cms testbed. ver 1.2 build May 24 2001 13:28:13 > > Testing fixed point: 2.8848960205 = 2.8848 > 0.437499269828536 = 0.4375 > Testing fixed scaling...Ok! > Testing linear interpolation ...Ok! 1600000 tics > Testing descending tables (linear interpolation) ...Ok! > Emulating sRGB from primaries & White point: > > sRGB final matrix is: > [ 0.436066 0.385147 0.143066 ] > [ 0.222488 0.716873 0.060608 ] > [ 0.013916 0.097076 0.714096 ] > > lcms calculated matrix is: > [ 0.436066 0.385114 0.143105 ] > [ 0.222493 0.716923 0.060627 ] > [ 0.0139346 0.0970567 0.714108 ] > > Testing CIELab conversion: > 1=IEC 61966-2.1 Default RGB colour space - sRGB - IEC http://www.iec.ch > 2=sRGB ColorSpace Conversion Profile > 00:Coarse error: In=(0,202,f9f9) Out1=(0,-128,-16.6055) > Out2=(0,-128,-34.3438) > > When I run testcms with USE_FLOAT > little cms testbed. ver 1.2 build May 24 2001 13:29:37 > > Testing fixed point: 2.8848960205 = 2.8848 > 0.437499269828536 = 0.4375 > Testing fixed scaling...Ok! > Testing linear interpolation ...Ok! 1690000 tics > Testing descending tables (linear interpolation) ...Ok! > Testing 3D interpolation...Ok! > Emulating sRGB from primaries & White point: > > sRGB final matrix is: > [ 0.436066 0.385147 0.143066 ] > [ 0.222488 0.716873 0.060608 ] > [ 0.013916 0.097076 0.714096 ] > > lcms calculated matrix is: > [ 0.436066 0.385114 0.143105 ] > [ 0.222493 0.716923 0.060627 ] > [ 0.0139346 0.0970567 0.714108 ] > > Testing CIELab conversion: > 1=IEC 61966-2.1 Default RGB colour space - sRGB - IEC http://www.iec.ch > 2=sRGB ColorSpace Conversion Profile > Ok!. Out of encodeable representation=0 > > Error Induced by the CMM due to roundoff (dE) > Testing little cms Relative L*a*b* identity profile: > 00:Coarse error! : In=(0,0,c0c) Out=(c0b,0,0) > -- > Robert Minsk Centropolis Effects, LLC. > eg...@ce... 10950 Washington Blvd., Studio B > Culver City, Ca. 90232-4025 > > _______________________________________________ > Lcms-user mailing list > Lcm...@li... > http://lists.sourceforge.net/lists/listinfo/lcms-user > > |
From: Robert M. <eg...@ce...> - 2001-05-25 19:15:14
|
USE_C 1 USE_TRILINEAR 1 NON_WINDOWS 1 USE_INT64 1 #pragma pack() is not valid on the sgi. What sort of alignment were you after? pack(0)? Actually after more testing last night. -O0 works -O1 works -O2 does not work -O3 does not work -O1 and -O2 should do the same thing with math optimizations. I'll keep digging. Mart=ED Maria wrote: >=20 > Hi, >=20 > Do you have NON_WINDOWS defined? > Assuming that, could you detail the compiler & settings > you are using? I'm specially interested on alignment > & optimization degree. >=20 > I'm unable to check directly USE_BIG_ENDIAN, but > seemed to work on other users. >=20 > Regards, > Mart=ED. >=20 > ----- Original Message ----- > From: "Robert Minsk" <eg...@ce...> > To: <lcm...@li...> > Sent: Thursday, May 24, 2001 10:30 PM > Subject: [Lcms-user] Test fail on sgi with 1.07m >=20 > > On the Sgi I have USE_BIG_ENDIAN defined. > > > > When I run testcms with USE_C > > > > little cms testbed. ver 1.2 build May 24 2001 13:28:13 > > > > Testing fixed point: 2.8848960205 =3D 2.8848 > > 0.437499269828536 =3D 0.4375 > > Testing fixed scaling...Ok! > > Testing linear interpolation ...Ok! 1600000 tics > > Testing descending tables (linear interpolation) ...Ok! > > Emulating sRGB from primaries & White point: > > > > sRGB final matrix is: > > [ 0.436066 0.385147 0.143066 ] > > [ 0.222488 0.716873 0.060608 ] > > [ 0.013916 0.097076 0.714096 ] > > > > lcms calculated matrix is: > > [ 0.436066 0.385114 0.143105 ] > > [ 0.222493 0.716923 0.060627 ] > > [ 0.0139346 0.0970567 0.714108 ] > > > > Testing CIELab conversion: > > 1=3DIEC 61966-2.1 Default RGB colour space - sRGB - IEC http://www.ie= c.ch > > 2=3DsRGB ColorSpace Conversion Profile > > 00:Coarse error: In=3D(0,202,f9f9) Out1=3D(0,-128,-16.6055) > > Out2=3D(0,-128,-34.3438) > > > > When I run testcms with USE_FLOAT > > little cms testbed. ver 1.2 build May 24 2001 13:29:37 > > > > Testing fixed point: 2.8848960205 =3D 2.8848 > > 0.437499269828536 =3D 0.4375 > > Testing fixed scaling...Ok! > > Testing linear interpolation ...Ok! 1690000 tics > > Testing descending tables (linear interpolation) ...Ok! > > Testing 3D interpolation...Ok! > > Emulating sRGB from primaries & White point: > > > > sRGB final matrix is: > > [ 0.436066 0.385147 0.143066 ] > > [ 0.222488 0.716873 0.060608 ] > > [ 0.013916 0.097076 0.714096 ] > > > > lcms calculated matrix is: > > [ 0.436066 0.385114 0.143105 ] > > [ 0.222493 0.716923 0.060627 ] > > [ 0.0139346 0.0970567 0.714108 ] > > > > Testing CIELab conversion: > > 1=3DIEC 61966-2.1 Default RGB colour space - sRGB - IEC http://www.ie= c.ch > > 2=3DsRGB ColorSpace Conversion Profile > > Ok!. Out of encodeable representation=3D0 > > > > Error Induced by the CMM due to roundoff (dE) > > Testing little cms Relative L*a*b* identity profile: > > 00:Coarse error! : In=3D(0,0,c0c) Out=3D(c0b,0,0) > > -- > > Robert Minsk Centropolis Effects, LLC. > > eg...@ce... 10950 Washington Blvd., Studi= o B > > Culver City, Ca. 90232-4025 > > > > _______________________________________________ > > Lcms-user mailing list > > Lcm...@li... > > http://lists.sourceforge.net/lists/listinfo/lcms-user > > > > >=20 > _______________________________________________ > Lcms-user mailing list > Lcm...@li... > http://lists.sourceforge.net/lists/listinfo/lcms-user -- Robert Minsk Centropolis Effects, LLC. eg...@ce... 10950 Washington Blvd., Studio B Culver City, Ca. 90232-4025 |
From: <ma...@li...> - 2001-05-26 08:23:56
|
Hi, >#pragma pack() is not valid on the sgi. What sort of alignment were you >after? pack(0)? Yep, that is! The idea is, lcms.h does need byte-alignment. This don't mean your whole application does need to be byte-aligned, only lcms.h. On end of lcms.h pack() is supposed to restore original alignment.Then, each compiler implements this sort of thing differently. Some does use pack(0), some pack() and others are using arcane #pragma. If you can obtain somehow byte alignment on lcms.h, all will work fine ... hopefully! :) Regards, Martí. |