FD.io VPP  v18.01-8-g0eacf49
Vector Packet Processing
zvec.c File Reference
+ Include dependency graph for zvec.c:

Go to the source code of this file.

Functions

uword zvec_decode (uword coding, uword zdata, uword *n_zdata_bits)
 
uword zvec_encode (uword coding, uword data, uword *n_result_bits)
 
static uword get_data (void *data, uword data_bytes, uword is_signed)
 
static void put_data (void *data, uword data_bytes, uword is_signed, uword x)
 
static uwordzvec_encode_inline (uword *zvec, uword *zvec_n_bits, uword coding, void *data, uword data_stride, uword n_data, uword data_bytes, uword is_signed)
 
static uword coding_max_n_bits (uword coding)
 
static void zvec_decode_inline (uword *zvec, uword *zvec_n_bits, uword coding, void *data, uword data_stride, uword n_data, uword data_bytes, uword is_signed)
 
static uword zvec_coding_bits (uword coding, uword *histogram_counts, uword min_bits)
 
u8format_zvec_coding (u8 *s, va_list *args)
 

Function Documentation

static uword coding_max_n_bits ( uword  coding)
inlinestatic

Definition at line 244 of file zvec.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u8* format_zvec_coding ( u8 s,
va_list *  args 
)

Definition at line 427 of file zvec.c.

+ Here is the call graph for this function:

static uword get_data ( void *  data,
uword  data_bytes,
uword  is_signed 
)
inlinestatic

Definition at line 132 of file zvec.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void put_data ( void *  data,
uword  data_bytes,
uword  is_signed,
uword  x 
)
inlinestatic

Definition at line 153 of file zvec.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static uword zvec_coding_bits ( uword  coding,
uword histogram_counts,
uword  min_bits 
)
static

Definition at line 305 of file zvec.c.

+ Here is the call graph for this function:

uword zvec_decode ( uword  coding,
uword  zdata,
uword n_zdata_bits 
)

Definition at line 64 of file zvec.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void zvec_decode_inline ( uword zvec,
uword zvec_n_bits,
uword  coding,
void *  data,
uword  data_stride,
uword  n_data,
uword  data_bytes,
uword  is_signed 
)
inlinestatic

Definition at line 252 of file zvec.c.

+ Here is the call graph for this function:

uword zvec_encode ( uword  coding,
uword  data,
uword n_result_bits 
)

Definition at line 97 of file zvec.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static uword* zvec_encode_inline ( uword zvec,
uword zvec_n_bits,
uword  coding,
void *  data,
uword  data_stride,
uword  n_data,
uword  data_bytes,
uword  is_signed 
)
inlinestatic

Definition at line 190 of file zvec.c.

+ Here is the call graph for this function: