ROHC compression/decompression library
Defines | Functions | Variables
d_rtp.c File Reference

ROHC decompression context for the RTP profile. More...

#include "d_rtp.h"
#include "rohc_traces_internal.h"
#include "rohc_bit_ops.h"
#include "rohc_debug.h"
#include "rohc_utils.h"
#include "ts_sc_decomp.h"
#include "sdvl.h"
#include "crc.h"
#include "decode.h"
#include "rohc_decomp_internals.h"
#include "protocols/udp.h"
#include "protocols/rtp.h"
#include <assert.h>
Include dependency graph for d_rtp.c:

Defines

#define RTP_CONST_DYN_PART_SIZE   9
 The size (in bytes) of the constant RTP dynamic part.

Functions

void * d_rtp_create (const struct d_context *const context)
 Create the RTP decompression context.

Variables

struct d_profile d_rtp_profile
 Define the decompression part of the RTP profile as described in the RFC 3095.

Detailed Description

ROHC decompression context for the RTP profile.

Author:
David Moreau from TAS
Didier Barvaux <didier.barvaux@toulouse.viveris.com>
Didier Barvaux <didier@barvaux.org>

Define Documentation

#define RTP_CONST_DYN_PART_SIZE   9

The size (in bytes) of the constant RTP dynamic part.

According to RFC3095 section 5.7.7.6: 1 (flags V, P, RX, CC) + 1 (flags M, PT) + 2 (RTP SN) + 4 (RTP TS) + 1 (CSRC list) = 9 bytes

The size of the Generic CSRC list field is considered constant because generic CSRC list is not supported yet and thus 1 byte of zero is used.


Function Documentation

void* d_rtp_create ( const struct d_context *const  context)

Variable Documentation

Initial value:
{
        ROHC_PROFILE_RTP,       
        "RTP / Decompressor",   
        d_generic_decode,       
        d_rtp_create,
        d_rtp_destroy,
        d_generic_get_sn,
}

Define the decompression part of the RTP profile as described in the RFC 3095.