|
libpgf 7.26.45
PGF - Progressive Graphics File
|
PGF definitions. More...
#include "PGFplatform.h"Go to the source code of this file.
Classes | |
| struct | pgf::PGFMagicVersion |
| PGF identification and version. More... | |
| struct | pgf::PGFPreHeader |
| PGF pre-header. More... | |
| struct | pgf::PGFVersionNumber |
| version number stored in header since major version 7 More... | |
| struct | pgf::PGFHeader |
| PGF header. More... | |
| struct | pgf::PGFPostHeader |
| Optional PGF post-header. More... | |
| union | pgf::ROIBlockHeader |
| Block header used with ROI coding scheme. More... | |
| struct | pgf::ROIBlockHeader::RBH |
| Named ROI block header (part of the union). More... | |
| struct | pgf::IOException |
| PGF exception. More... | |
| struct | pgf::PGFRect |
| Rectangle. More... | |
Namespaces | |
| namespace | pgf |
| namespace | pgf::Orient |
| namespace | pgf::UP |
Macros | |
| #define | PGFMajorNumber 7 |
| #define | PGFYear 26 |
| #define | PGFWeek 45 |
| #define | PPCAT_NX(A, B) |
| #define | PPCAT(A, B) |
| #define | STRINGIZE_NX(A) |
| #define | STRINGIZE(A) |
| #define | PGFCodecVersionID PPCAT(PPCAT(PPCAT(0x0, PGFMajorNumber), PGFYear), PGFWeek) |
| #define | PGFCodecVersion STRINGIZE(PPCAT(PPCAT(PPCAT(PPCAT(PGFMajorNumber, .), PGFYear), .), PGFWeek)) |
Typedefs | |
| using | pgf::Orient::Orientation = uint8_t |
| using | pgf::UP::Policy = uint32_t |
| typedef int32_t | pgf::DataT |
| typedef void(*) | pgf::RefreshCB(void *p) |
Enumerations | |
| enum class | pgf::ProgressMode { pgf::Relative , pgf::Absolute } |
Variables | |
| constexpr const char * | pgf::PGFMagic = "PGF" |
| PGF identification. | |
| constexpr int | pgf::MaxLevel = 30 |
| maximum number of transform levels | |
| constexpr int | pgf::NSubbands = 4 |
| number of subbands per level | |
| constexpr int | pgf::MaxChannels = 8 |
| maximum number of (color) channels | |
| constexpr int | pgf::DownsampleThreshold = 3 |
| if quality is larger than this threshold than downsampling is used | |
| constexpr int | pgf::ColorTableLen = 256 |
| size of color lookup table (clut) | |
| constexpr int | pgf::Version2 = 2 |
| data structure PGFHeader of major version 2 | |
| constexpr int | pgf::PGF32 = 4 |
| 32 bit values are used -> allows at maximum 30 input bits, otherwise 16 bit values are used -> allows at maximum 14 input bits | |
| constexpr int | pgf::PGFROI = 8 |
| supports Regions Of Interest | |
| constexpr int | pgf::Version5 = 16 |
| new coding scheme since major version 5 | |
| constexpr int | pgf::Version6 = 32 |
| hSize in PGFPreHeader uses 32 bits instead of 16 bits | |
| constexpr int | pgf::Version7 = 64 |
| Codec major and minor version number stored in PGFHeader. | |
| constexpr int | pgf::PGFVersion = (Version2 | PGF32 | Version5 | Version6 | Version7) |
| current standard version | |
| constexpr uint32_t | pgf::BufferSize = 16384 |
| must be a multiple of WordWidth, BufferSize <= UINT16_MAX | |
| constexpr uint32_t | pgf::BufferLen = BufferSize/WordWidth |
| number of words per buffer | |
| constexpr uint32_t | pgf::CodeBufferLen = BufferSize |
| number of words in code buffer (CodeBufferLen > BufferLen) | |
| constexpr int | pgf::RLblockSizeLen = 15 |
| block size length (< 16): ld(BufferSize) < RLblockSizeLen <= 2*ld(BufferSize) | |
| constexpr int | pgf::LinBlockSize = 8 |
| side length of a coefficient block in a HH or LL subband | |
| constexpr int | pgf::InterBlockSize = 4 |
| side length of a coefficient block in a HL or LH subband | |
| constexpr int | pgf::MaxBitPlanes = 31 |
| maximum number of bit planes of m_value: 32 minus sign bit | |
| constexpr int | pgf::MaxBitPlanesLog = 5 |
| number of bits to code the maximum number of bit planes (in 32 or 16 bit mode) | |
| constexpr int | pgf::MaxQuality = MaxBitPlanes |
| maximum quality | |
| constexpr Orientation | pgf::Orient::LL = 0 |
| constexpr Orientation | pgf::Orient::HL = 1 |
| constexpr Orientation | pgf::Orient::LH = 2 |
| constexpr Orientation | pgf::Orient::HH = 3 |
| constexpr Policy | pgf::UP::Skip = 0 |
| constexpr Policy | pgf::UP::CachePrefix = 1 |
| constexpr Policy | pgf::UP::CacheAll = 2 |
| constexpr size_t | pgf::MagicVersionSize = sizeof(pgf::PGFMagicVersion) |
| constexpr size_t | pgf::PreHeaderSize = sizeof(pgf::PGFPreHeader) |
| constexpr size_t | pgf::HeaderSize = sizeof(pgf::PGFHeader) |
| constexpr size_t | pgf::ColorTableSize = (ColorTableLen*sizeof(RGBQUAD)) |
| constexpr size_t | pgf::DataTSize = sizeof(pgf::DataT) |
| constexpr size_t | pgf::MaxUserDataSize = 0x7FFFFFFF |
PGF definitions.
Definition in file PGFtypes.h.
| #define PGFCodecVersion STRINGIZE(PPCAT(PPCAT(PPCAT(PPCAT(PGFMajorNumber, .), PGFYear), .), PGFWeek)) |
Definition at line 55 of file PGFtypes.h.
Definition at line 53 of file PGFtypes.h.
| #define PGFMajorNumber 7 |
Definition at line 43 of file PGFtypes.h.
| #define PGFWeek 45 |
Definition at line 45 of file PGFtypes.h.
| #define PGFYear 26 |
Definition at line 44 of file PGFtypes.h.
| #define PPCAT | ( | A, | |
| B ) |
Definition at line 48 of file PGFtypes.h.
| #define PPCAT_NX | ( | A, | |
| B ) |
Definition at line 47 of file PGFtypes.h.
| #define STRINGIZE | ( | A | ) |
Definition at line 50 of file PGFtypes.h.
| #define STRINGIZE_NX | ( | A | ) |
Definition at line 49 of file PGFtypes.h.