|
libpgf 7.21.2
PGF - Progressive Graphics File
|
#include "PGFtypes.h"Go to the source code of this file.
Macros | |
| #define | MAKEU64(a, b) |
| Make 64 bit unsigned integer from two 32 bit unsigned integers. | |
Functions | |
| void | SetBit (UINT32 *stream, UINT32 pos) |
| void | ClearBit (UINT32 *stream, UINT32 pos) |
| bool | GetBit (UINT32 *stream, UINT32 pos) |
| bool | CompareBitBlock (UINT32 *stream, UINT32 pos, UINT32 k, UINT32 val) |
| void | SetValueBlock (UINT32 *stream, UINT32 pos, UINT32 val, UINT32 k) |
| UINT32 | GetValueBlock (UINT32 *stream, UINT32 pos, UINT32 k) |
| void | ClearBitBlock (UINT32 *stream, UINT32 pos, UINT32 len) |
| void | SetBitBlock (UINT32 *stream, UINT32 pos, UINT32 len) |
| UINT32 | SeekBitRange (UINT32 *stream, UINT32 pos, UINT32 len) |
| UINT32 | SeekBit1Range (UINT32 *stream, UINT32 pos, UINT32 len) |
| UINT32 | AlignWordPos (UINT32 pos) |
| UINT32 | NumberOfWords (UINT32 pos) |
Variables | |
| static const UINT32 | Filled = 0xFFFFFFFF |
| #define MAKEU64 | ( | a, | |
| b ) |
Make 64 bit unsigned integer from two 32 bit unsigned integers.
Definition at line 41 of file BitStream.h.
|
inline |
Compute bit position of the next 32-bit word
| pos | current bit stream position |
Definition at line 328 of file BitStream.h.
|
inline |
Set one bit of a bit stream to 0
| stream | A bit stream stored in array of unsigned integers |
| pos | A valid zero-based position in the bit stream |
Definition at line 70 of file BitStream.h.
|
inline |
Clear block of size at least len at position pos in stream
| stream | A bit stream stored in array of unsigned integers |
| pos | A valid zero-based position in the bit stream |
| len | Number of bits set to 0 |
Definition at line 169 of file BitStream.h.
|
inline |
Compare k-bit binary representation of stream at position pos with val
| stream | A bit stream stored in array of unsigned integers |
| pos | A valid zero-based position in the bit stream |
| k | Number of bits to compare |
| val | Value to compare with |
Definition at line 91 of file BitStream.h.
|
inline |
Return one bit of a bit stream
| stream | A bit stream stored in array of unsigned integers |
| pos | A valid zero-based position in the bit stream |
Definition at line 79 of file BitStream.h.
|
inline |
Read k-bit number from stream at position pos
| stream | A bit stream stored in array of unsigned integers |
| pos | A valid zero-based position in the bit stream |
| k | Number of bits to read: 1 <= k <= 32 |
Definition at line 142 of file BitStream.h.
|
inline |
Compute number of the 32-bit words
| pos | Current bit stream position |
Definition at line 337 of file BitStream.h.
|
inline |
Returns the distance to the next 0 in stream at position pos. If no 0 is found within len bits, then len is returned.
| stream | A bit stream stored in array of unsigned integers |
| pos | A valid zero-based position in the bit stream |
| len | size of search area (in bits) return The distance to the next 0 in stream at position pos |
Definition at line 249 of file BitStream.h.
|
inline |
Returns the distance to the next 1 in stream at position pos. If no 1 is found within len bits, then len is returned.
| stream | A bit stream stored in array of unsigned integers |
| pos | A valid zero-based position in the bit stream |
| len | size of search area (in bits) return The distance to the next 1 in stream at position pos |
Definition at line 220 of file BitStream.h.
|
inline |
Set one bit of a bit stream to 1
| stream | A bit stream stored in array of unsigned integers |
| pos | A valid zero-based position in the bit stream |
Definition at line 62 of file BitStream.h.
|
inline |
Set block of size at least len at position pos in stream
| stream | A bit stream stored in array of unsigned integers |
| pos | A valid zero-based position in the bit stream |
| len | Number of bits set to 1 |
Definition at line 193 of file BitStream.h.
|
inline |
Store k-bit binary representation of val in stream at position pos
| stream | A bit stream stored in array of unsigned integers |
| pos | A valid zero-based position in the bit stream |
| val | Value to store in stream at position pos |
| k | Number of bits of integer representation of val |
Definition at line 116 of file BitStream.h.
|
static |
Definition at line 38 of file BitStream.h.