Main Page | Modules | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

Bitpacking
[Core Library]


Functions

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

void switch_byte_t bitlen
void switch_byte_t switch_byte_tbuf
void switch_byte_t switch_byte_t
uint32_t 
buflen


Function Documentation

void switch_bitpack_init switch_bitpack_t pack,
int32_t  bitlen,
switch_byte_t buf,
uint32_t  buflen,
switch_bitpack_mode_t  mode
 

Initialize a bitpack object.

Parameters:
pack the pack object
bitlen the number of bits per packet
buf the buffer to use for storage
buflen the length of the storage buffer
mode RFC3551 or AAL2 mode (curse you backwards folks)


Variable Documentation

void switch_byte_t bitlen
 

void switch_byte_t switch_byte_t* buf
 

void switch_byte_t switch_byte_t uint32_t buflen
 


Generated on Fri Oct 10 11:24:23 2008 for FreeSWITCH by  doxygen 1.3.9.1