SPRAAK
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
SprCoderCommon Struct Reference
+ Collaboration diagram for SprCoderCommon:

Data Fields

const uint8_t *restrict src
 src & dst buffers More...
 
const uint8_t *restrict src_end
 
uint8_t *restrict dst
 
const uint8_t *restrict dst_end
 
int rv
 copy of last return value of the (de)compressor More...
 
int err
 error flags (errno) More...
 
SprEncodeFunc encode
 the encoder function More...
 
SprDecodeFunc decode
 the decoder function More...
 
SprCoderFiniFunc fini
 stop (free resources) More...
 

Detailed Description

Information shared by all (en/de)coders according to the framework define in sphere.c.

Field Documentation

const uint8_t* restrict SprCoderCommon::src

src & dst buffers

const uint8_t* restrict SprCoderCommon::src_end
uint8_t* restrict SprCoderCommon::dst
const uint8_t* restrict SprCoderCommon::dst_end
int SprCoderCommon::rv

copy of last return value of the (de)compressor

int SprCoderCommon::err

error flags (errno)

SprEncodeFunc SprCoderCommon::encode

the encoder function

SprDecodeFunc SprCoderCommon::decode

the decoder function

SprCoderFiniFunc SprCoderCommon::fini

stop (free resources)