rohc_comp_set_wlsb_window_width

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS
STRUCTURES
RETURN VALUE
NOTES
SEE ALSO

NAME

rohc_comp_set_wlsb_window_width − Set the window width for the W-LSB encoding scheme.

SYNOPSIS

#include <rohc/rohc_comp.h>

bool rohc_comp_set_wlsb_window_width(
struct rohc_comp *const comp
,
const size_t width

);

DESCRIPTION

Set the window width for the Window−based Least Significant Bits (W−LSB) encoding. See section 4.5.2 of RFC 3095 for more details about the encoding scheme.

The width of the W−LSB window is set to 4 by default.

PARAMETERS

comp

The ROHC compressor

width

The width of the W−LSB sliding window

STRUCTURES

RETURN VALUE

true in case of success, false in case of failure

NOTES

The value must be a power of 2

The value can not be modified after library initialization

SEE ALSO

rohc_comp.h(3)