Collaboration diagram for Bitpacking:
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_t * | buf |
| switch_byte_t switch_byte_t uint32_t | buflen |
| DoxyDefine | ( | 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.
| 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) |
Definition at line 76 of file switch_bitpack.h.
Definition at line 76 of file switch_bitpack.h.
Referenced by collect_thread_run(), do_stun_ping(), handle_ice(), ice_out(), inband_dtmf_generate_callback(), main(), play_and_collect(), preprocess(), preprocess_exec(), read_displace_callback(), switch_channel_event_set_extended_data(), switch_console_complete(), switch_console_stream_write(), switch_core_asr_open(), switch_core_set_serial(), switch_core_speech_open(), switch_escape_string_pool(), switch_event_serialize(), switch_ivr_eavesdrop_session(), switch_ivr_originate(), switch_loadable_module_get_codecs_sorted(), switch_mux_channels(), switch_nat_multicast_runtime(), switch_say_file(), switch_simple_email(), switch_stream_system_fork(), switch_stream_write_file_contents(), switch_stun_host_lookup(), switch_stun_lookup(), switch_uuid_format(), switch_vasprintf(), switch_xml_parse_section_string(), vxprintf(), and write_displace_callback().
| switch_byte_t switch_byte_t uint32_t buflen |
const uint8_t SWITCH_BITPACKED_MASKS[] = { 0, 1, 3, 7, 15, 31, 63, 127, 255 } [static] |
Definition at line 64 of file switch_bitpack.h.
const uint8_t SWITCH_REVERSE_BITPACKED_MASKS[] = { 255, 254, 252, 248, 240, 224, 192, 128 } [static] |
Definition at line 65 of file switch_bitpack.h.
1.4.7