FD.io VPP  v19.01.3-6-g70449b9b9
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

◆ coding_max_n_bits()

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:

◆ format_zvec_coding()

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:

◆ get_data()

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:

◆ put_data()

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:

◆ zvec_coding_bits()

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:

◆ zvec_decode()

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:

◆ zvec_decode_inline()

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:

◆ zvec_encode()

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:

◆ zvec_encode_inline()

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: