digiKam
CABAC_encoder Class Referenceabstract
+ Inheritance diagram for CABAC_encoder:

Public Member Functions

virtual void add_trailing_bits ()
 
 CABAC_encoder ()
 
virtual void flush_CABAC ()
 
virtual void flush_VLC ()
 
virtual void init_CABAC ()
 
virtual bool modifies_context () const =0
 
virtual int number_free_bits_in_byte () const =0
 
float RDBits_for_CABAC_bin (int modelIdx, int bit)
 
virtual void reset ()=0
 
void set_context_models (context_model_table *models)
 
virtual int size () const =0
 
virtual void skip_bits (int nBits)=0
 
virtual void write_bit (int bit)
 
virtual void write_bits (uint32_t bits, int n)=0
 
virtual void write_CABAC_bit (int modelIdx, int bit)=0
 
virtual void write_CABAC_bypass (int bit)=0
 
void write_CABAC_EGk (int absolute_symbol, int k)
 
virtual void write_CABAC_FL_bypass (int value, int nBits)
 
virtual void write_CABAC_term_bit (int bit)=0
 
virtual void write_CABAC_TU_bypass (int value, int cMax)
 
virtual void write_startcode ()=0
 
virtual void write_svlc (int value)
 
virtual void write_uvlc (int value)
 
virtual ~CABAC_encoder ()
 

Protected Attributes

context_model_tablemCtxModels
 

Constructor & Destructor Documentation

◆ CABAC_encoder()

CABAC_encoder::CABAC_encoder ( )
inline

◆ ~CABAC_encoder()

virtual CABAC_encoder::~CABAC_encoder ( )
inlinevirtual

Member Function Documentation

◆ add_trailing_bits()

virtual void CABAC_encoder::add_trailing_bits ( )
virtual

◆ flush_CABAC()

virtual void CABAC_encoder::flush_CABAC ( )
inlinevirtual

Reimplemented in CABAC_encoder_bitstream.

◆ flush_VLC()

virtual void CABAC_encoder::flush_VLC ( )
inlinevirtual

Reimplemented in CABAC_encoder_bitstream.

◆ init_CABAC()

virtual void CABAC_encoder::init_CABAC ( )
inlinevirtual

Reimplemented in CABAC_encoder_bitstream.

◆ modifies_context()

virtual bool CABAC_encoder::modifies_context ( ) const
pure virtual

◆ number_free_bits_in_byte()

virtual int CABAC_encoder::number_free_bits_in_byte ( ) const
pure virtual

◆ RDBits_for_CABAC_bin()

float CABAC_encoder::RDBits_for_CABAC_bin ( int  modelIdx,
int  bit 
)

◆ reset()

virtual void CABAC_encoder::reset ( )
pure virtual

◆ set_context_models()

void CABAC_encoder::set_context_models ( context_model_table models)
inline

References mCtxModels.

◆ size()

virtual int CABAC_encoder::size ( ) const
pure virtual

◆ skip_bits()

virtual void CABAC_encoder::skip_bits ( int  nBits)
pure virtual

◆ write_bit()

virtual void CABAC_encoder::write_bit ( int  bit)
inlinevirtual

Reimplemented in CABAC_encoder_estim.

References write_bits().

◆ write_bits()

virtual void CABAC_encoder::write_bits ( uint32_t  bits,
int  n 
)
pure virtual

Implemented in CABAC_encoder_estim, and CABAC_encoder_bitstream.

Referenced by write_bit().

◆ write_CABAC_bit()

virtual void CABAC_encoder::write_CABAC_bit ( int  modelIdx,
int  bit 
)
pure virtual

◆ write_CABAC_bypass()

virtual void CABAC_encoder::write_CABAC_bypass ( int  bit)
pure virtual

◆ write_CABAC_EGk()

void CABAC_encoder::write_CABAC_EGk ( int  absolute_symbol,
int  k 
)

◆ write_CABAC_FL_bypass()

virtual void CABAC_encoder::write_CABAC_FL_bypass ( int  value,
int  nBits 
)
virtual

Reimplemented in CABAC_encoder_estim.

◆ write_CABAC_term_bit()

virtual void CABAC_encoder::write_CABAC_term_bit ( int  bit)
pure virtual

◆ write_CABAC_TU_bypass()

virtual void CABAC_encoder::write_CABAC_TU_bypass ( int  value,
int  cMax 
)
virtual

◆ write_startcode()

virtual void CABAC_encoder::write_startcode ( )
pure virtual

◆ write_svlc()

virtual void CABAC_encoder::write_svlc ( int  value)
virtual

◆ write_uvlc()

virtual void CABAC_encoder::write_uvlc ( int  value)
virtual

Member Data Documentation

◆ mCtxModels

context_model_table* CABAC_encoder::mCtxModels
protected

Referenced by set_context_models().


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