libpgf 7.26.45
PGF - Progressive Graphics File
Loading...
Searching...
No Matches
BitStream.h File Reference
#include "PGFtypes.h"

Go to the source code of this file.

Namespaces

namespace  pgf

Macros

#define MAKEU64(a, b)
 Make 64 bit unsigned integer from two 32 bit unsigned integers.

Functions

void pgf::SetBit (uint32_t *stream, uint32_t pos)
void pgf::ClearBit (uint32_t *stream, uint32_t pos)
bool pgf::GetBit (uint32_t *stream, uint32_t pos)
bool pgf::CompareBitBlock (uint32_t *stream, uint32_t pos, uint32_t k, uint32_t val)
void pgf::SetValueBlock (uint32_t *stream, uint32_t pos, uint32_t val, uint32_t k)
uint32_t pgf::GetValueBlock (uint32_t *stream, uint32_t pos, uint32_t k)
void pgf::ClearBitBlock (uint32_t *stream, uint32_t pos, uint32_t len)
void pgf::SetBitBlock (uint32_t *stream, uint32_t pos, uint32_t len)
uint32_t pgf::SeekBitRange (uint32_t *stream, uint32_t pos, uint32_t len)
uint32_t pgf::SeekBit1Range (uint32_t *stream, uint32_t pos, uint32_t len)
uint32_t pgf::AlignWordPos (uint32_t pos)
uint32_t pgf::NumberOfWords (uint32_t pos)

Variables

static const uint32_t pgf::Filled = 0xFFFFFFFF

Macro Definition Documentation

◆ MAKEU64

#define MAKEU64 ( a,
b )
Value:
((uint64_t) (((uint32_t) (a)) | ((uint64_t) ((uint32_t) (b))) << 32))

Make 64 bit unsigned integer from two 32 bit unsigned integers.

Definition at line 41 of file BitStream.h.