ROHC compression/decompression library
|
The ROHC compression context. More...
#include <rohc_comp.h>
Public Attributes | |
int | used |
Whether the context is in use or not. | |
unsigned int | latest_used |
The time when the context was created. | |
unsigned int | first_used |
The time when the context was last used. | |
int | cid |
The context unique ID (CID) | |
struct rohc_comp * | compressor |
The associated compressor. | |
struct c_profile * | profile |
The associated profile. | |
void * | specific |
Profile-specific data, defined by the profiles. | |
rohc_mode | mode |
The operation mode in which the context operates: U_MODE, O_MODE, R_MODE. | |
rohc_c_state | state |
The operation state in which the context operates: IR, FO, SO. | |
int | total_uncompressed_size |
The average size of the uncompressed packets. | |
int | total_compressed_size |
The average size of the compressed packets. | |
int | header_uncompressed_size |
The average size of the uncompressed headers. | |
int | header_compressed_size |
The average size of the compressed headers. | |
int | total_last_uncompressed_size |
The total size of the last uncompressed packet. | |
int | total_last_compressed_size |
The total size of the last compressed packet. | |
int | header_last_uncompressed_size |
The header size of the last uncompressed packet. | |
int | header_last_compressed_size |
The header size of the last compressed packet. | |
int | num_sent_packets |
The number of sent packets. | |
int | num_sent_ir |
The number of sent IR packets. | |
int | num_sent_ir_dyn |
The number of sent IR-DYN packets. | |
int | num_recv_feedbacks |
The number of received feedbacks. | |
struct c_wlsb * | total_16_uncompressed |
The size of the last 16 uncompressed packets. | |
struct c_wlsb * | total_16_compressed |
The size of the last 16 compressed packets. | |
struct c_wlsb * | header_16_uncompressed |
The size of the last 16 uncompressed headers. | |
struct c_wlsb * | header_16_compressed |
The size of the last 16 compressed headers. |
The ROHC compression context.
int c_context::cid |
The context unique ID (CID)
Referenced by c_create_context(), c_find_context(), c_get_context(), code_cid_values(), code_IR_DYN_packet(), code_IR_packet(), code_UO0_packet(), code_UO1_packet(), code_UO2_packet(), rohc_c_context(), uncompressed_code_IR_packet(), and uncompressed_code_normal_packet().
struct rohc_comp* c_context::compressor |
The associated compressor.
Referenced by c_create_context(), code_cid_values(), decide_algo(), and decide_packet().
unsigned int c_context::first_used |
The time when the context was last used.
Referenced by c_create_context(), and rohc_c_context().
The size of the last 16 compressed headers.
Referenced by c_alloc_contexts(), c_destroy_contexts(), rohc_c_context(), and rohc_compress().
The size of the last 16 uncompressed headers.
Referenced by c_alloc_contexts(), c_destroy_contexts(), rohc_c_context(), and rohc_compress().
The average size of the compressed headers.
Referenced by c_create_context(), rohc_c_context(), and rohc_compress().
The header size of the last compressed packet.
Referenced by c_create_context(), and rohc_compress().
The header size of the last uncompressed packet.
Referenced by c_create_context(), and rohc_compress().
The average size of the uncompressed headers.
Referenced by c_create_context(), rohc_c_context(), and rohc_compress().
unsigned int c_context::latest_used |
The time when the context was created.
Referenced by c_create_context(), rohc_c_context(), and rohc_compress().
The operation mode in which the context operates: U_MODE, O_MODE, R_MODE.
Referenced by c_create_context(), change_mode(), code_EXT3_packet(), decide_state(), rohc_c_context(), rtp_code_dynamic_rtp_part(), rtp_header_flags_and_fields(), uncompressed_change_mode(), and uncompressed_decide_state().
The number of received feedbacks.
Referenced by c_create_context(), c_deliver_feedback(), and rohc_c_context().
The number of sent IR packets.
Referenced by c_create_context(), c_generic_encode(), and rohc_c_context().
The number of sent IR-DYN packets.
Referenced by c_create_context(), c_generic_encode(), and rohc_c_context().
The number of sent packets.
Referenced by c_create_context(), rohc_c_context(), and rohc_compress().
struct c_profile* c_context::profile |
The associated profile.
Referenced by c_assessment_size(), c_create_context(), c_deliver_feedback(), c_destroy_contexts(), c_find_context(), c_generic_create(), c_generic_encode(), code_EXT3_packet(), code_IR_DYN_packet(), code_IR_packet(), code_UO1_packet(), code_UO2_packet(), decide_algo(), decide_extension(), decide_FO_packet(), decide_SO_packet(), rohc_c_context(), rohc_compress(), and update_variables().
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_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(), c_uncompressed_create(), c_uncompressed_destroy(), 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_packet_tail(), code_UOR2_bytes(), code_UOR2_ID_bytes(), code_UOR2_RTP_bytes(), code_UOR2_TS_bytes(), decide_algo(), decide_extension(), decide_FO_packet(), decide_packet(), decide_SO_packet(), decide_state(), periodic_down_transition(), 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_packet_tail(), udp_lite_init_cc(), udp_lite_send_cce_packet(), uncompressed_change_state(), uncompressed_code_packet(), uncompressed_decide_state(), uncompressed_periodic_down_transition(), and update_variables().
The operation state in which the context operates: IR, FO, SO.
Referenced by c_create_context(), c_generic_feedback(), change_state(), decide_packet(), decide_state(), periodic_down_transition(), rohc_c_context(), rtp_decide_state(), uncompressed_change_state(), uncompressed_code_packet(), uncompressed_decide_state(), and uncompressed_periodic_down_transition().
struct c_wlsb* c_context::total_16_compressed |
The size of the last 16 compressed packets.
Referenced by c_alloc_contexts(), c_destroy_contexts(), rohc_c_context(), and rohc_compress().
The size of the last 16 uncompressed packets.
Referenced by c_alloc_contexts(), c_destroy_contexts(), rohc_c_context(), and rohc_compress().
The average size of the compressed packets.
Referenced by c_create_context(), rohc_c_context(), and rohc_compress().
The total size of the last compressed packet.
Referenced by c_create_context(), and rohc_compress().
The total size of the last uncompressed packet.
Referenced by c_create_context(), and rohc_compress().
The average size of the uncompressed packets.
Referenced by c_create_context(), rohc_c_context(), and rohc_compress().
int c_context::used |
Whether the context is in use or not.
Referenced by c_create_context(), c_destroy_contexts(), c_find_context(), c_get_context(), rohc_c_context(), and rohc_compress().