Golomb‐Rice encode a value into a bit stream.
Synopsis
Declared in <util/golombrice.h>
template<typename OStream>
void
GolombRiceEncode(
BitStreamWriter<OStream>& bitwriter,
uint8_t P,
uint64_t x);
Parameters
Name |
Description |
bitwriter |
The bit stream writer to append to. |
P |
The Golomb‐Rice parameter (number of remainder bits). |
x |
The value to encode. |
Created with MrDocs