2007.07.24 07:12 "[Tiff] TIFFSwapArrayOfLong", by Oliver Geisen

2007.07.24 09:26 "Re: [Tiff] TIFFSwapArrayOfLong", by Andrey Kiselev

On Tue, Jul 24, 2007 at 09:12:20AM +0200, Oliver Geisen wrote:

how does TIFFSwapArrayOfLong() work internally?

Does it use "hton" or some other "well-known-function", or is it ASM- boosted?


It doesn't use htonl/ntohl, because these ones not always available. And there is no any ASM in libtiff, it is C only.

Best regards,


We have an open source solution here. You can easily find implementation in tif_swab.c

Andrey V. Kiselev
ICQ# 26871517