Grok  9.5.0
Public Member Functions | Private Attributes | List of all members
QCC_marker Class Reference

#include <j2kmarkers.hpp>

Inheritance diagram for QCC_marker:
j2k_marker_io_base

Public Member Functions

 QCC_marker (uint16_t Csiz, uint16_t c, uint8_t number_of_guardbits, uint8_t dwt_levels, uint8_t transformation, bool is_derived, uint8_t RI, uint8_t use_ycc, uint8_t qfactor, uint8_t chroma_format)
 
 QCC_marker (j2c_src_memory &in, uint16_t Csiz)
 
int write (j2c_destination_base &dst)
 
uint16_t get_component_index () const
 
uint8_t get_quantization_style () const
 
uint8_t get_exponents (uint8_t nb)
 
uint16_t get_mantissas (uint8_t nb)
 
uint8_t get_number_of_guardbits () const
 
- Public Member Functions inherited from j2k_marker_io_base
 j2k_marker_io_base (uint16_t mar)
 
 ~j2k_marker_io_base ()=default
 
void set_buf (uint8_t *p)
 
uint16_t get_marker () const
 
uint16_t get_length () const
 
uint8_t * get_buf ()
 
uint8_t get_byte ()
 
uint16_t get_word ()
 
uint32_t get_dword ()
 

Private Attributes

uint16_t max_components
 
uint16_t Cqcc
 
uint8_t Sqcc
 
std::vector< uint16_t > SPqcc
 
bool is_reversible
 

Additional Inherited Members

- Protected Attributes inherited from j2k_marker_io_base
uint16_t code
 
uint16_t Lmar {}
 
uint8_t * buf
 
uint16_t pos
 
bool is_set
 

Constructor & Destructor Documentation

◆ QCC_marker() [1/2]

QCC_marker::QCC_marker ( uint16_t  Csiz,
uint16_t  c,
uint8_t  number_of_guardbits,
uint8_t  dwt_levels,
uint8_t  transformation,
bool  is_derived,
uint8_t  RI,
uint8_t  use_ycc,
uint8_t  qfactor,
uint8_t  chroma_format 
)

◆ QCC_marker() [2/2]

QCC_marker::QCC_marker ( j2c_src_memory in,
uint16_t  Csiz 
)

Member Function Documentation

◆ get_component_index()

uint16_t QCC_marker::get_component_index ( ) const

References Cqcc.

◆ get_exponents()

uint8_t QCC_marker::get_exponents ( uint8_t  nb)

References get_quantization_style(), and SPqcc.

◆ get_mantissas()

uint16_t QCC_marker::get_mantissas ( uint8_t  nb)

References get_quantization_style(), and SPqcc.

◆ get_number_of_guardbits()

uint8_t QCC_marker::get_number_of_guardbits ( ) const

References Sqcc.

◆ get_quantization_style()

uint8_t QCC_marker::get_quantization_style ( ) const

References Sqcc.

Referenced by get_exponents(), and get_mantissas().

◆ write()

int QCC_marker::write ( j2c_destination_base dst)

Member Data Documentation

◆ Cqcc

uint16_t QCC_marker::Cqcc
private

◆ is_reversible

bool QCC_marker::is_reversible
private

Referenced by QCC_marker(), and write().

◆ max_components

uint16_t QCC_marker::max_components
private

Referenced by QCC_marker(), and write().

◆ SPqcc

std::vector<uint16_t> QCC_marker::SPqcc
private

◆ Sqcc

uint8_t QCC_marker::Sqcc
private

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