From: Boris L. <b.l...@gm...> - 2001-08-01 12:00:50
|
It is defined as: (COLORSPACE_SH(PT_RGB)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(1)|DOSWAP_SH( 1)) On input it use: Unroll4BytesSwap wIn[3] =3D RGB_8_TO_16(*accum); accum++; // K wIn[2] =3D RGB_8_TO_16(*accum); accum++; // C wIn[1] =3D RGB_8_TO_16(*accum); accum++; // M wIn[0] =3D RGB_8_TO_16(*accum); accum++; // Y On output it use: Pack3BytesAndSkip1Swap *output++ =3D RGB_16_TO_8(wOut[2]); *output++ =3D RGB_16_TO_8(wOut[1]); *output++ =3D RGB_16_TO_8(wOut[0]); output++; which is different functionality! one of them is wrong... From my position it is on input side because on Windows you have BGRA and not ABGR. Boris Letocha PS: May be I am wrong, but please prove it :-) |