GolombRiceDecode

Golomb-Rice decode a value from a bit stream.

Synopsis

Declared in <util/golombrice.h>

template<typename IStream>
uint64_t
GolombRiceDecode(
    BitStreamReader<IStream>& bitreader,
    uint8_t P);

Return Value

The decoded value.

Parameters

NameDescription
bitreaderThe bit stream reader to read from.
PThe Golomb-Rice parameter (number of remainder bits).