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

Test RTP TS encoding/decoding at wraparound. More...

#include "ts_sc_comp.h"
#include "ts_sc_decomp.h"
#include <stdio.h>
#include <stdbool.h>
#include <string.h>
#include <assert.h>
Include dependency graph for test_rtp_ts_wraparound.c:

Defines

#define ROHC_WLSB_WINDOW_WIDTH   4U
#define ROHC_INIT_TS_STRIDE_MIN   3U
#define trace(is_verbose, format,...)

Functions

int main (int argc, char *argv[])
 Test RTP TS encoding/decoding at wraparound.

Detailed Description

Test RTP TS encoding/decoding at wraparound.

Author:
Didier Barvaux <didier@barvaux.org>

Define Documentation

#define ROHC_INIT_TS_STRIDE_MIN   3U

The number of TS_STRIDE transmissions

#define ROHC_WLSB_WINDOW_WIDTH   4U

The width of the W-LSB sliding window

#define trace (   is_verbose,
  format,
  ... 
)
Value:
do { \
                if(is_verbose) { \
                        fprintf(stderr, format, ##__VA_ARGS__); \
                } \
        } while(0)

Print trace on stdout only in verbose mode

Referenced by main().


Function Documentation

int main ( int  argc,
char *  argv[] 
)

Test RTP TS encoding/decoding at wraparound.

Parameters:
argcThe number of command line arguments
argvThe command line arguments
Returns:
0 if test succeeds, non-zero if test fails

References trace.