[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Christoph Bauer <Christoph.Bauer@l...> |
| Subject: | bigarray & int24 |
Hi, my program should read unaligned 3 byte integers. (A real world example for such a format would be an RGB image). What is the best approach? - extend bigarray for the int24 format and send the patch to INRIA - write a C-function, which converts the data to an int32-array - read an 1-byte-bigarray and construct an int-bigarray - ??? It should be a bigarray solution, because my program reads other (supported) formats as well. Speed matters, because there are a lot of data. Thanks, Christoph Bauer -- c++; /* this makes c bigger but returns the old value */ (Unknown)