|
libpgf 7.26.45
PGF - Progressive Graphics File
|
PGF platform specific definitions. More...
#include <cassert>#include <cmath>#include <cstdlib>#include <cstdint>Go to the source code of this file.
Macros | |
| #define | __PGFROISUPPORT__ |
| #define | __PGF32SUPPORT__ |
| #define | __min(x, y) |
| #define | __max(x, y) |
| #define | __VAL(x) |
Functions | |
| constexpr uint32_t | DWWIDTHBITS (uint32_t bits) |
| < aligns scanline width in bits to DWORD value | |
| constexpr uint32_t | DWWIDTH (uint32_t bytes) |
| DWWIDTH(bytes) - bytes. | |
| constexpr uint32_t | DWWIDTHREST (uint32_t bytes) |
Variables | |
| constexpr uint32_t | WordWidth = 32 |
| WordBytes*8. | |
| constexpr uint32_t | WordWidthLog = 5 |
| ld of WordWidth | |
| constexpr uint32_t | WordMask = 0xFFFFFFE0 |
| least WordWidthLog bits are zero | |
| constexpr uint32_t | WordBytes = 4 |
| sizeof(uint32_t) | |
| constexpr uint32_t | WordBytesMask = 0xFFFFFFFC |
| least WordBytesLog bits are zero | |
| constexpr uint32_t | WordBytesLog = 2 |
| ld of WordBytes | |
| constexpr uint8_t | ImageModeBitmap = 0 |
| constexpr uint8_t | ImageModeGrayScale = 1 |
| constexpr uint8_t | ImageModeIndexedColor = 2 |
| constexpr uint8_t | ImageModeRGBColor = 3 |
| constexpr uint8_t | ImageModeCMYKColor = 4 |
| constexpr uint8_t | ImageModeHSLColor = 5 |
| constexpr uint8_t | ImageModeHSBColor = 6 |
| constexpr uint8_t | ImageModeMultichannel = 7 |
| constexpr uint8_t | ImageModeDuotone = 8 |
| constexpr uint8_t | ImageModeLabColor = 9 |
| constexpr uint8_t | ImageModeGray16 = 10 |
| constexpr uint8_t | ImageModeRGB48 = 11 |
| constexpr uint8_t | ImageModeLab48 = 12 |
| constexpr uint8_t | ImageModeCMYK64 = 13 |
| constexpr uint8_t | ImageModeDeepMultichannel = 14 |
| constexpr uint8_t | ImageModeDuotone16 = 15 |
| constexpr uint8_t | ImageModeRGBA = 17 |
| constexpr uint8_t | ImageModeGray32 = 18 |
| constexpr uint8_t | ImageModeRGB12 = 19 |
| constexpr uint8_t | ImageModeRGB16 = 20 |
| constexpr uint8_t | ImageModeUnknown = 255 |
PGF platform specific definitions.
Definition in file PGFplatform.h.
| #define __max | ( | x, | |
| y ) |
Definition at line 107 of file PGFplatform.h.
| #define __min | ( | x, | |
| y ) |
Definition at line 106 of file PGFplatform.h.
| #define __PGF32SUPPORT__ |
Definition at line 67 of file PGFplatform.h.
| #define __PGFROISUPPORT__ |
Definition at line 60 of file PGFplatform.h.
| #define __VAL | ( | x | ) |
Definition at line 591 of file PGFplatform.h.
|
constexpr |
DWWIDTH(bytes) - bytes.
Definition at line 93 of file PGFplatform.h.
|
constexpr |
< aligns scanline width in bits to DWORD value
aligns scanline width in bytes to DWORD value
Definition at line 88 of file PGFplatform.h.
|
constexpr |
Definition at line 98 of file PGFplatform.h.
|
constexpr |
Definition at line 113 of file PGFplatform.h.
|
constexpr |
Definition at line 126 of file PGFplatform.h.
|
constexpr |
Definition at line 117 of file PGFplatform.h.
|
constexpr |
Definition at line 127 of file PGFplatform.h.
|
constexpr |
Definition at line 121 of file PGFplatform.h.
|
constexpr |
Definition at line 128 of file PGFplatform.h.
|
constexpr |
Definition at line 123 of file PGFplatform.h.
|
constexpr |
Definition at line 131 of file PGFplatform.h.
|
constexpr |
Definition at line 114 of file PGFplatform.h.
|
constexpr |
Definition at line 119 of file PGFplatform.h.
|
constexpr |
Definition at line 118 of file PGFplatform.h.
|
constexpr |
Definition at line 115 of file PGFplatform.h.
|
constexpr |
Definition at line 125 of file PGFplatform.h.
|
constexpr |
Definition at line 122 of file PGFplatform.h.
|
constexpr |
Definition at line 120 of file PGFplatform.h.
|
constexpr |
Definition at line 132 of file PGFplatform.h.
|
constexpr |
Definition at line 133 of file PGFplatform.h.
|
constexpr |
Definition at line 124 of file PGFplatform.h.
|
constexpr |
Definition at line 130 of file PGFplatform.h.
|
constexpr |
Definition at line 116 of file PGFplatform.h.
|
constexpr |
Definition at line 134 of file PGFplatform.h.
|
constexpr |
sizeof(uint32_t)
Definition at line 76 of file PGFplatform.h.
|
constexpr |
ld of WordBytes
Definition at line 78 of file PGFplatform.h.
|
constexpr |
least WordBytesLog bits are zero
Definition at line 77 of file PGFplatform.h.
|
constexpr |
least WordWidthLog bits are zero
Definition at line 75 of file PGFplatform.h.
|
constexpr |
WordBytes*8.
Definition at line 73 of file PGFplatform.h.
|
constexpr |
ld of WordWidth
Definition at line 74 of file PGFplatform.h.