ROHC compression/decompression library
|
The ROHC compression context. More...
#include <rohc_comp_internals.h>
Data Fields | |
int | used |
unsigned int | latest_used |
unsigned int | first_used |
int | cid |
struct rohc_comp * | compressor |
struct c_profile * | profile |
void * | specific |
rohc_mode | mode |
rohc_c_state | state |
rohc_packet_t | packet_type |
int | total_uncompressed_size |
int | total_compressed_size |
int | header_uncompressed_size |
int | header_compressed_size |
int | total_last_uncompressed_size |
int | total_last_compressed_size |
int | header_last_uncompressed_size |
int | header_last_compressed_size |
int | num_sent_packets |
int | num_sent_ir |
int | num_sent_ir_dyn |
int | num_recv_feedbacks |
struct c_wlsb * | total_16_uncompressed |
struct c_wlsb * | total_16_compressed |
struct c_wlsb * | header_16_uncompressed |
struct c_wlsb * | header_16_compressed |
The ROHC compression context.
int c_context::cid |
The context unique ID (CID)
Referenced by code_IR_DYN_packet(), code_IR_packet(), code_UO0_packet(), code_UO1_packet(), code_UO2_packet(), and rohc_c_context().
struct rohc_comp* c_context::compressor |
The associated compressor
Referenced by c_generic_create(), c_generic_encode(), c_generic_feedback(), c_rtp_create(), c_udp_create(), c_udp_lite_create(), code_IR_DYN_packet(), code_IR_packet(), code_UO0_packet(), code_UO1_packet(), code_UO2_packet(), and periodic_down_transition().
unsigned int c_context::first_used |
The time when the context was last used
Referenced by rohc_c_context().
The size of the last 16 compressed headers
Referenced by rohc_c_context(), and rohc_compress().
The size of the last 16 uncompressed headers
Referenced by rohc_c_context(), and rohc_compress().
The average size of the compressed headers
Referenced by rohc_c_context(), and rohc_compress().
The header size of the last compressed packet
Referenced by rohc_comp_get_last_packet_info(), and rohc_compress().
The header size of the last uncompressed packet
Referenced by rohc_comp_get_last_packet_info(), and rohc_compress().
The average size of the uncompressed headers
Referenced by rohc_c_context(), and rohc_compress().
unsigned int c_context::latest_used |
The time when the context was created
Referenced by rohc_c_context(), and rohc_compress().
The operation mode in which the context operates: U_MODE, O_MODE, R_MODE
Referenced by change_mode(), code_EXT3_packet(), decide_state(), rohc_c_context(), rohc_comp_get_last_packet_info(), rtp_code_dynamic_rtp_part(), and rtp_header_flags_and_fields().
The number of received feedbacks
Referenced by c_deliver_feedback(), and rohc_c_context().
The number of sent IR packets
Referenced by c_generic_encode(), and rohc_c_context().
The number of sent IR-DYN packets
Referenced by c_generic_encode(), and rohc_c_context().
The number of sent packets
Referenced by rohc_c_context(), and rohc_compress().
Referenced by rohc_comp_get_last_packet_info(), and rohc_compress().
struct c_profile* c_context::profile |
The associated profile
Referenced by c_deliver_feedback(), code_EXT3_packet(), code_IR_DYN_packet(), code_IR_packet(), code_UO1_packet(), code_UO2_packet(), rohc_c_context(), and rohc_compress().
void* c_context::specific |
Profile-specific data, defined by the profiles
Referenced by c_generic_create(), c_generic_destroy(), c_generic_encode(), c_generic_feedback(), c_ip_check_context(), c_ip_code_ir_remainder(), c_ip_decide_FO_packet(), c_ip_decide_SO_packet(), c_ip_get_next_sn(), c_rtp_check_context(), c_rtp_create(), c_rtp_destroy(), c_rtp_encode(), c_udp_check_context(), c_udp_create(), c_udp_encode(), c_udp_lite_check_context(), c_udp_lite_create(), c_udp_lite_encode(), change_state(), changed_dynamic_both_hdr(), changed_dynamic_one_hdr(), changed_static_both_hdr(), changed_static_one_hdr(), code_EXT0_packet(), code_EXT1_packet(), code_EXT2_packet(), code_EXT3_packet(), code_IR_DYN_packet(), code_IR_packet(), code_packet(), code_UO0_packet(), code_UO1_packet(), code_UO2_packet(), code_uo_remainder(), code_UOR2_bytes(), code_UOR2_ID_bytes(), code_UOR2_RTP_bytes(), code_UOR2_TS_bytes(), decide_extension(), decide_state(), periodic_down_transition(), rohc_get_ipid_bits(), rtp_changed_rtp_dynamic(), rtp_code_dynamic_rtp_part(), rtp_decide_state(), rtp_header_flags_and_fields(), udp_changed_udp_dynamic(), udp_code_dynamic_udp_part(), udp_decide_state(), udp_lite_build_cce_packet(), udp_lite_code_uo_remainder(), and udp_lite_init_cc().
The operation state in which the context operates: IR, FO, SO
Referenced by c_generic_feedback(), change_state(), decide_state(), periodic_down_transition(), rohc_c_context(), rohc_comp_get_last_packet_info(), and rtp_decide_state().
struct c_wlsb* c_context::total_16_compressed |
The size of the last 16 compressed packets
Referenced by rohc_c_context(), and rohc_compress().
The size of the last 16 uncompressed packets
Referenced by rohc_c_context(), and rohc_compress().
The average size of the compressed packets
Referenced by rohc_c_context(), and rohc_compress().
The total size of the last compressed packet
Referenced by rohc_comp_get_last_packet_info(), and rohc_compress().
The total size of the last uncompressed packet
Referenced by rohc_comp_get_last_packet_info(), and rohc_compress().
The average size of the uncompressed packets
Referenced by rohc_c_context(), and rohc_compress().
int c_context::used |
Whether the context is in use or not
Referenced by rohc_c_context(), and rohc_compress().