AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2005.03.30 00:18 "[Tiff] RFC: fast 'copy free' tiff decoding", by Ron
2005.03.30 00:24 "Re: [Tiff] RFC: fast 'copy free' tiff decoding", by Andy Cave
2005.03.30 00:53 "Re: [Tiff] RFC: fast 'copy free' tiff decoding", by Ron
2005.03.30 03:30 "Re: [Tiff] RFC: fast 'copy free' tiff decoding", by Bob Friesenhahn
2005.03.30 04:51 "Re: [Tiff] RFC: fast 'copy free' tiff decoding", by Edward Lam
2005.03.30 09:20 "Re[2]: [Tiff] RFC: fast 'copy free' tiff decoding", by Jean-Yves Le Ridant
2005.03.30 15:00 "Re: [Tiff] RFC: fast 'copy free' tiff decoding", by Bob Friesenhahn
2005.03.30 05:55 "Re: [Tiff] RFC: fast 'copy free' tiff decoding", by Ron
2005.03.30 07:54 "Re: [Tiff] RFC: fast 'copy free' tiff decoding", by Joris Van Damme
2005.03.30 11:38 "Re: [Tiff] RFC: fast 'copy free' tiff decoding", by Ron
2005.03.30 15:17 "Re: [Tiff] RFC: fast 'copy free' tiff decoding", by Bob Friesenhahn
2005.03.30 10:19 "Re: [Tiff] RFC: fast 'copy free' tiff decoding", by Priyanshu Sharma
2005.03.30 10:45 "Re[2]: [Tiff] RFC: fast 'copy free' tiff decoding", by Jean-Yves Le Ridant
2005.03.30 13:40 "Re: [Tiff] RFC: fast 'copy free' tiff decoding", by Ron
2005.03.30 13:40 "Re[2]: [Tiff] RFC: fast 'copy free' tiff decoding", by Jean-Yves Le Ridant
2005.03.30 11:02 "Re: [Tiff] RFC: fast 'copy free' tiff decoding", by Joris Van Damme
2005.03.31 04:43 "Re: [Tiff] RFC: fast 'copy free' tiff decoding", by Priyanshu Sharma
2005.05.11 11:57 "[Tiff] How to compile Libtiff under Borland C++ Builder 6.0", by

2005.03.30 00:53 "Re: [Tiff] RFC: fast 'copy free' tiff decoding", by Ron

Obvious question - how do you cope with 'values' that need to be byte swapped?

Obvious answer - on demand :-) In C++ that's almost natural if you provide accessors to the members. In C we'd just move the accessor methods out of the structure where required. In some cases, like 'converting' packed ABGR to RGBA pixels, we can actually exploit the fact that things appear 'swapped' on some systems to once again simply 'recast' the data into a structure where the order appears more appropriate (or is named and hence irrelevant to the user).

The precise layout of some structures may depend on the byte sex of the host system, but the code that uses them should not need to care or know about that.

cheers,
Ron