29 #ifndef ROHC_DECOMP_SCHEMES_SCALED_RTP_TS_H    30 #define ROHC_DECOMP_SCHEMES_SCALED_RTP_TS_H    99                void *
const trace_cb_priv)
   100         __attribute__((nonnull(1)));
   110                              const uint32_t ts_unscaled_bits,
   111                              const size_t ts_unscaled_bits_nr,
   112                              uint32_t *
const decoded_ts)
   113         __attribute__((warn_unused_result));
   116                            const uint32_t ts_scaled_bits,
   117                            const size_t ts_scaled_bits_nr,
   118                            uint32_t *
const decoded_ts)
   119         __attribute__((warn_unused_result));
   123         __attribute__((warn_unused_result));
 void d_record_ts_stride(struct ts_sc_decomp *const ts_sc, const uint32_t ts_stride)
Store the newly-parsed TS_STRIDE value. 
Definition: decomp_scaled_rtp_ts.c:146
 
uint32_t ts_scaled
The last computed or received TS_SCALED value (validated by CRC) 
Definition: decomp_scaled_rtp_ts.h:56
 
uint32_t old_ts
The previous timestamp value. 
Definition: decomp_scaled_rtp_ts.h:68
 
uint32_t new_ts_stride
The last computed or received TS_STRIDE value (not validated by CRC) 
Definition: decomp_scaled_rtp_ts.h:80
 
struct rohc_lsb_decode lsb_ts_unscaled
Definition: decomp_scaled_rtp_ts.h:66
 
bool ts_decode_unscaled_bits(struct ts_sc_decomp *const ts_sc, const uint32_t ts_unscaled_bits, const size_t ts_unscaled_bits_nr, uint32_t *const decoded_ts)
Decode timestamp (TS) value with some LSB bits of the unscaled value. 
Definition: decomp_scaled_rtp_ts.c:167
 
The scaled RTP Timestamp decoding context. 
Definition: decomp_scaled_rtp_ts.h:50
 
The Least Significant Bits (LSB) decoding object. 
Definition: decomp_wlsb.h:57
 
void(* rohc_trace_callback2_t)(void *const priv_ctxt, const rohc_trace_level_t level, const rohc_trace_entity_t entity, const int profile, const char *const format,...)
The function prototype for the trace callback. 
Definition: rohc_traces.h:118
 
uint16_t old_sn
The previous sequence number. 
Definition: decomp_scaled_rtp_ts.h:73
 
void * trace_callback_priv
Definition: decomp_scaled_rtp_ts.h:89
 
void ts_update_context(struct ts_sc_decomp *const ts_sc, const uint32_t ts, const uint16_t sn)
Store a new timestamp. 
Definition: decomp_scaled_rtp_ts.c:84
 
Window-based Least Significant Bits (W-LSB) decoding. 
 
void d_init_sc(struct ts_sc_decomp *const ts_scaled, rohc_trace_callback2_t trace_cb, void *const trace_cb_priv)
Initialize the scaled RTP Timestamp decoding context. 
Definition: decomp_scaled_rtp_ts.c:52
 
rohc_trace_callback2_t trace_callback
Definition: decomp_scaled_rtp_ts.h:87
 
uint32_t new_ts_scaled
The last computed or received TS_SCALED value (not validated by CRC) 
Definition: decomp_scaled_rtp_ts.h:82
 
uint32_t ts
Definition: decomp_scaled_rtp_ts.h:64
 
uint16_t sn
The sequence number (SN) 
Definition: decomp_scaled_rtp_ts.h:71
 
uint32_t ts_stride
The last computed or received TS_STRIDE value (validated by CRC) 
Definition: decomp_scaled_rtp_ts.h:53
 
bool ts_decode_scaled_bits(struct ts_sc_decomp *const ts_sc, const uint32_t ts_scaled_bits, const size_t ts_scaled_bits_nr, uint32_t *const decoded_ts)
Decode timestamp (TS) value with some LSB bits of the TS_SCALED value. 
Definition: decomp_scaled_rtp_ts.c:259
 
ROHC definitions for traces. 
 
uint32_t ts_offset
The last computed or received TS_OFFSET value (validated by CRC) 
Definition: decomp_scaled_rtp_ts.h:61
 
uint32_t ts_deduce_from_sn(struct ts_sc_decomp *const ts_sc, const uint16_t sn)
Deduct timestamp (TS) from Sequence Number (SN) 
Definition: decomp_scaled_rtp_ts.c:340
 
struct rohc_lsb_decode lsb_ts_scaled
The LSB-encoded TS_SCALED value. 
Definition: decomp_scaled_rtp_ts.h:58
 
uint32_t new_ts_offset
The last computed or received TS_OFFSET value (not validated by CRC) 
Definition: decomp_scaled_rtp_ts.h:84