• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1@TEMPLATE encoder_tmpl.c
2Error Resiliency Features
3=========================
4~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ INTRODUCTION
5This is an example demonstrating how to enable the error resiliency
6features of the codec.
7~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ INTRODUCTION
8
9
10Configuration
11-------------
12Error resiliency is controlled by the g_error_resilient member of the
13configuration structure.
14~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ENC_SET_CFG2
15
16/* Enable error resilient mode */
17cfg.g_error_resilient = 1;
18~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ENC_SET_CFG2
19
20
21Observing The Effects
22---------------------
23Use the `decode_with_drops` example to decode with frames 5-10 dropped.
24Compare the output for a file encoded with this example versus one
25encoded with the `simple_encoder` example.
26