switch_bitpack.h File Reference

BITPACKING code for RFC3551 and AAL2 packing. More...

#include <switch.h>

Include dependency graph for switch_bitpack.h:

Go to the source code of this file.

Functions

 DoxyDefine (void switch_bitpack_init(switch_bitpack_t *pack, int32_t bitlen, switch_byte_t *buf, uint32_t buflen, switch_bitpack_mode_t mode)) static inline int8_t switch_bitpack_init(switch_bitpack_t *pack
 Initialize a bitpack object.

Variables

static const uint8_t SWITCH_BITPACKED_MASKS [] = { 0, 1, 3, 7, 15, 31, 63, 127, 255 }
static const uint8_t SWITCH_REVERSE_BITPACKED_MASKS [] = { 255, 254, 252, 248, 240, 224, 192, 128 }
switch_byte_t bitlen
switch_byte_t switch_byte_tbuf
switch_byte_t switch_byte_t
uint32_t 
buflen


Detailed Description

BITPACKING code for RFC3551 and AAL2 packing.

Definition in file switch_bitpack.h.


Generated on Sun May 20 04:00:07 2012 for FreeSWITCH API Documentation by  doxygen 1.4.7