 |
libpgf
6.14.12
PGF - Progressive Graphics File
|
Go to the documentation of this file.
29 #ifndef PGF_PGFTYPES_H
30 #define PGF_PGFTYPES_H
48 #define PGFCodecVersion "6.14.12"
49 #define PGFCodecVersionID 0x061412
55 #define PGFMagic "PGF"
59 #define DownsampleThreshold 3
60 #define ColorTableLen 256
68 #ifdef __PGF32SUPPORT__
69 #define PGFVersion (Version2 | PGF32 | Version5 | Version6)
71 #define PGFVersion (Version2 | Version5 | Version6)
77 #define BufferSize 16384
78 #define RLblockSizeLen 15
79 #define LinBlockSize 8
80 #define InterBlockSize 4
81 #ifdef __PGF32SUPPORT__
82 #define MaxBitPlanes 31
84 #define MaxBitPlanes 15
86 #define MaxBitPlanesLog 5
87 #define MaxQuality MaxBitPlanes
163 #ifdef PGF_USE_BIG_ENDIAN
169 #endif // PGF_USE_BIG_ENDIAN
218 #ifdef __PGF32SUPPORT__
229 #define MagicVersionSize sizeof(PGFMagicVersion)
230 #define PreHeaderSize sizeof(PGFPreHeader)
231 #define HeaderSize sizeof(PGFHeader)
232 #define ColorTableSize ColorTableLen*sizeof(RGBQUAD)
233 #define DataTSize sizeof(DataT)
235 #endif //PGF_PGFTYPES_H
IOException()
Standard constructor.
PGFRect(UINT32 x, UINT32 y, UINT32 width, UINT32 height)
void(* RefreshCB)(void *p)
PGF identification and version.
#define RLblockSizeLen
block size length (< 16): ld(BufferSize) < RLblockSizeLen <= 2*ld(BufferSize)
UINT8 version
PGF version.
#define ColorTableLen
size of color lookup table (clut)
bool IsInside(UINT32 x, UINT32 y) const
PGFRect()
Standard constructor.
OSError error
operating system error code
char magic[3]
PGF identification = "PGF".