00001
00019 #ifndef IMGTIFF_H
00020 #define IMGTIFF_H
00021
00022 #include "host.h"
00023 #include "bitstrm.h"
00024
00025 INT8 open_tif_image(
00026 int fd,
00027 INT32 *xsize,
00028 INT32 *ysize,
00029 INT8 *bpp,
00030 INT8 *photo,
00031 INT32 *res
00032 );
00033 INT8 read_tif_image(
00034 int fd,
00035 UINT8 *pixels,
00036 INT32 xsize,
00037 INT32 ysize,
00038 INT8 bpp,
00039 INT32
00040 );
00041 INT32 read_eol(
00042 R_BITSTREAM *bits,
00043 UINT16 &code
00044 );
00045 INT8 write_moto_tif(
00046 int fd,
00047 UINT8 *pixels,
00048 INT32 xsize,
00049 INT32 ysize,
00050 INT8 bpp,
00051 INT8 photo,
00052 INT32 res
00053 );
00054 INT8 write_intel_tif(
00055 int fd,
00056 UINT8 *pixels,
00057 INT32 xsize,
00058 INT32 ysize,
00059 INT8 bpp,
00060 INT8 photo,
00061 INT32 res
00062 );
00063 INT8 write_inverse_tif(
00064 int fd,
00065 UINT8 *pixels,
00066 INT32 xsize,
00067 INT32 ysize,
00068 INT8 bpp,
00069 INT8 photo,
00070 INT32 res
00071 );
00072 INT8 write_tif_image(
00073 int fd,
00074 UINT8 *pixels,
00075 INT32 xsize,
00076 INT32 ysize,
00077 INT8 bpp,
00078 INT32 res,
00079 INT16 type,
00080 INT16 photo
00081 );
00082
00083
00084
00085
00086
00087
00088 #endif