ROHC compression/decompression library
Functions
test_lsb_decode.c File Reference

Test Least Significant Bits (LSB) encoding/decoding at wraparound. More...

#include "wlsb.h"
#include "lsb.h"
#include <stdio.h>
#include <stdbool.h>
#include <string.h>
#include <assert.h>
Include dependency graph for test_lsb_decode.c:

Functions

int main (int argc, char *argv[])
 Test LSB encoding/decoding at wraparound.

Detailed Description

Test Least Significant Bits (LSB) encoding/decoding at wraparound.

Author:
Didier Barvaux <didier@barvaux.org>

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Test LSB encoding/decoding at wraparound.

Parameters:
argcThe number of command line arguments
argvThe command line arguments
Returns:
0 if test succeeds, non-zero if test fails

References c_add_wlsb(), c_create_wlsb(), c_destroy_wlsb(), c_get_k_wlsb(), C_WINDOW_WIDTH, d_lsb_decode16(), d_lsb_init(), d_lsb_update(), and d_lsb_decode::p.