spandsp 3.0.0
t81_t82_arith_encode_state_s Struct Reference

Public Attributes

uint32_t a
 
uint32_t c
 
uint8_t st [4096]
 
int32_t sc
 
int ct
 
int buffer
 
void(* output_byte_handler )(void *, int)
 
void * user_data
 

Member Data Documentation

◆ a

uint32_t t81_t82_arith_encode_state_s::a

A register - see T.82 Table 23

◆ buffer

int t81_t82_arith_encode_state_s::buffer

Buffer for the most recent output byte which is not 0xFF

◆ c

uint32_t t81_t82_arith_encode_state_s::c

C register - see T.82 Table 23

◆ ct

int t81_t82_arith_encode_state_s::ct

Bit shift counter. This determines when the next byte will be written

◆ output_byte_handler

void(* t81_t82_arith_encode_state_s::output_byte_handler) (void *, int)

Callback function to deliver the encoded data, byte by byte

◆ sc

int32_t t81_t82_arith_encode_state_s::sc

Number of buffered 0xFF values that might still overflow

◆ st

uint8_t t81_t82_arith_encode_state_s::st[4096]

Probability status for contexts. MSB = MPS

◆ user_data

void* t81_t82_arith_encode_state_s::user_data

Opaque pointer passed to byte_out


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