RawSpeed
fast raw decoding library
Loading...
Searching...
No Matches
rawspeed::BitStreamCacheBase Struct Reference

#include "bitstreams/BitStream.h"

Inheritance diagram for rawspeed::BitStreamCacheBase:
[legend]
Collaboration diagram for rawspeed::BitStreamCacheBase:
[legend]

Public Member Functions

void establishClassInvariants () const noexcept

Public Attributes

uint64_t cache = 0
int fillLevel = 0

Static Public Attributes

static constexpr int Size = bitwidth<decltype(cache)>()
static constexpr int MaxGetBits = bitwidth<uint32_t>()

Detailed Description

Definition at line 41 of file BitStream.h.

Member Function Documentation

◆ establishClassInvariants()

void rawspeed::BitStreamCacheBase::establishClassInvariants ( ) const
noexcept

References rawspeed::__attribute__(), establishClassInvariants(), fillLevel, invariant, and Size.

Referenced by establishClassInvariants(), rawspeed::BitStreamCacheRightInLeftOut::peek(), rawspeed::BitStreamCacheRightInLeftOut::push(), and rawspeed::BitStreamCacheRightInLeftOut::skip().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ cache

◆ fillLevel

◆ MaxGetBits

int rawspeed::BitStreamCacheBase::MaxGetBits = bitwidth<uint32_t>()
staticconstexpr

◆ Size

int rawspeed::BitStreamCacheBase::Size = bitwidth<decltype(cache)>()
staticconstexpr

The documentation for this struct was generated from the following file: