Public Member Functions | Private Member Functions | Private Attributes | List of all members
ArithmeticDecoder Class Reference

#include <arithmeticdecoder.hpp>

Inheritance diagram for ArithmeticDecoder:
Inheritance graph
[legend]

Public Member Functions

 ArithmeticDecoder ()
 
EntropyModel * createBitModel ()
 
EntropyModel * createSymbolModel (U32 n)
 
U32 decodeBit (EntropyModel *model)
 
U32 decodeSymbol (EntropyModel *model)
 
void destroyBitModel (EntropyModel *model)
 
void destroySymbolModel (EntropyModel *model)
 
void done ()
 
BOOL init (ByteStreamIn *instream)
 
void initBitModel (EntropyModel *model)
 
void initSymbolModel (EntropyModel *model, U32 *table=0)
 
U32 readBit ()
 
U32 readBits (U32 bits)
 
U8 readByte ()
 
F64 readDouble ()
 
F32 readFloat ()
 
U32 readInt ()
 
U64 readInt64 ()
 
U16 readShort ()
 
 ~ArithmeticDecoder ()
 
- Public Member Functions inherited from EntropyDecoder
virtual ~EntropyDecoder ()
 

Private Member Functions

void renorm_dec_interval ()
 

Private Attributes

U32 base
 
ByteStreamIninstream
 
U32 length
 
U32 value
 

Detailed Description

Definition at line 39 of file arithmeticdecoder.hpp.

Constructor & Destructor Documentation

◆ ArithmeticDecoder()

ArithmeticDecoder::ArithmeticDecoder ( )

Definition at line 77 of file arithmeticdecoder.cpp.

◆ ~ArithmeticDecoder()

ArithmeticDecoder::~ArithmeticDecoder ( )

Definition at line 290 of file arithmeticdecoder.cpp.

Member Function Documentation

◆ createBitModel()

EntropyModel * ArithmeticDecoder::createBitModel ( )
virtual

Implements EntropyDecoder.

Definition at line 99 of file arithmeticdecoder.cpp.

◆ createSymbolModel()

EntropyModel * ArithmeticDecoder::createSymbolModel ( U32  n)
virtual

Implements EntropyDecoder.

Definition at line 117 of file arithmeticdecoder.cpp.

◆ decodeBit()

U32 ArithmeticDecoder::decodeBit ( EntropyModel *  model)
virtual

Implements EntropyDecoder.

Definition at line 135 of file arithmeticdecoder.cpp.

◆ decodeSymbol()

U32 ArithmeticDecoder::decodeSymbol ( EntropyModel *  model)
virtual

Implements EntropyDecoder.

Definition at line 156 of file arithmeticdecoder.cpp.

◆ destroyBitModel()

void ArithmeticDecoder::destroyBitModel ( EntropyModel *  model)
virtual

Implements EntropyDecoder.

Definition at line 111 of file arithmeticdecoder.cpp.

◆ destroySymbolModel()

void ArithmeticDecoder::destroySymbolModel ( EntropyModel *  model)
virtual

Implements EntropyDecoder.

Definition at line 129 of file arithmeticdecoder.cpp.

◆ done()

void ArithmeticDecoder::done ( )
virtual

Implements EntropyDecoder.

Definition at line 94 of file arithmeticdecoder.cpp.

◆ init()

BOOL ArithmeticDecoder::init ( ByteStreamIn instream)
virtual

Implements EntropyDecoder.

Definition at line 82 of file arithmeticdecoder.cpp.

◆ initBitModel()

void ArithmeticDecoder::initBitModel ( EntropyModel *  model)
virtual

Implements EntropyDecoder.

Definition at line 105 of file arithmeticdecoder.cpp.

◆ initSymbolModel()

void ArithmeticDecoder::initSymbolModel ( EntropyModel *  model,
U32 table = 0 
)
virtual

Implements EntropyDecoder.

Definition at line 123 of file arithmeticdecoder.cpp.

◆ readBit()

U32 ArithmeticDecoder::readBit ( )
virtual

Implements EntropyDecoder.

Definition at line 208 of file arithmeticdecoder.cpp.

◆ readBits()

U32 ArithmeticDecoder::readBits ( U32  bits)
virtual

Implements EntropyDecoder.

Definition at line 218 of file arithmeticdecoder.cpp.

◆ readByte()

U8 ArithmeticDecoder::readByte ( )
virtual

Implements EntropyDecoder.

Definition at line 238 of file arithmeticdecoder.cpp.

◆ readDouble()

F64 ArithmeticDecoder::readDouble ( )
inlinevirtual

Implements EntropyDecoder.

Definition at line 283 of file arithmeticdecoder.cpp.

◆ readFloat()

F32 ArithmeticDecoder::readFloat ( )
inlinevirtual

Implements EntropyDecoder.

Definition at line 269 of file arithmeticdecoder.cpp.

◆ readInt()

U32 ArithmeticDecoder::readInt ( )
inlinevirtual

Implements EntropyDecoder.

Definition at line 262 of file arithmeticdecoder.cpp.

◆ readInt64()

U64 ArithmeticDecoder::readInt64 ( )
inlinevirtual

Implements EntropyDecoder.

Definition at line 276 of file arithmeticdecoder.cpp.

◆ readShort()

U16 ArithmeticDecoder::readShort ( )
virtual

Implements EntropyDecoder.

Definition at line 250 of file arithmeticdecoder.cpp.

◆ renorm_dec_interval()

void ArithmeticDecoder::renorm_dec_interval ( )
inlineprivate

Definition at line 295 of file arithmeticdecoder.cpp.

Member Data Documentation

◆ base

U32 ArithmeticDecoder::base
private

Definition at line 96 of file arithmeticdecoder.hpp.

◆ instream

ByteStreamIn* ArithmeticDecoder::instream
private

Definition at line 93 of file arithmeticdecoder.hpp.

◆ length

U32 ArithmeticDecoder::length
private

Definition at line 96 of file arithmeticdecoder.hpp.

◆ value

U32 ArithmeticDecoder::value
private

Definition at line 96 of file arithmeticdecoder.hpp.


The documentation for this class was generated from the following files:


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:26