Dirac - A Video Codec
Created by the British Broadcasting Corporation.
golomb.h File Reference
#include <libdirac_common/bit_manager.h>
Include dependency graph for golomb.h:
Go to the source code of this file.
Namespaces
Functions
- void UnsignedGolombCode (BasicOutputManager &bitman, const unsigned int val)
- Code a value using unsigned exp-Golomb coding and output it.
- void UnsignedGolombCode (std::vector< bool > &bitvec, const unsigned int val)
- Code a value using unsigned exp-Golomb coding and output it to a vector.
- void GolombCode (BasicOutputManager &bitman, const int val)
- Code a value using signed exp-Golomb coding and output it.
- void GolombCode (std::vector< bool > &bitvec, const int val)
- Code a value using signed exp-Golomb coding and output it to a vector.
- unsigned int UnsignedGolombDecode (BitInputManager &bitman)
- Decode a value using unsigned exp-Golomb decoding and output it.
- unsigned int UnsignedGolombDecode (const std::vector< bool > &bitvec)
- Decode a value using unsigned exp-Golomb decoding and output it.
- int GolombDecode (BitInputManager &bitman)
- Decode a value using signed exp-Golomb decoding and output it.
- int GolombDecode (const std::vector< bool > &bitvec)
- Decode a value using signed exp-Golomb decoding and output it.
Function Documentation
void GolombCode |
( |
std::vector< bool > & |
bitvec, |
|
|
const int |
val |
|
) |
|
|
void GolombCode |
( |
BasicOutputManager & |
bitman, |
|
|
const int |
val |
|
) |
|
|
int GolombDecode |
( |
const std::vector< bool > & |
bitvec |
) |
|
|
int GolombDecode |
( |
BitInputManager & |
bitman |
) |
|
|
void UnsignedGolombCode |
( |
std::vector< bool > & |
bitvec, |
|
|
const unsigned int |
val |
|
) |
|
|
void UnsignedGolombCode |
( |
BasicOutputManager & |
bitman, |
|
|
const unsigned int |
val |
|
) |
|
|
unsigned int UnsignedGolombDecode |
( |
const std::vector< bool > & |
bitvec |
) |
|
|
unsigned int UnsignedGolombDecode |
( |
BitInputManager & |
bitman |
) |
|
|
© 2004 British Broadcasting Corporation.
Dirac code licensed under the Mozilla Public License (MPL) Version 1.1.
HTML documentation generated by Dimitri van Heesch's
excellent Doxygen tool.