libosmocore  0.9.3.20160317
Osmocom core library
bitcomp.h File Reference

Osmocom bit compression routines. More...

#include <stdint.h>
#include <stdbool.h>
#include <osmocom/core/bitvec.h>

Go to the source code of this file.

Functions

int osmo_t4_encode (struct bitvec *bv)
 encode bit vector in-place using T4 encoding Assumes MSB first encoding. More...
 
int osmo_t4_decode (const struct bitvec *in, bool cc, struct bitvec *out)
 decode T4-encoded bit vector Assumes MSB first encoding. More...
 

Detailed Description

Osmocom bit compression routines.