error_resilience.h File Reference
#include <stdint.h>
#include "avcodec.h"
#include "dsputil.h"
Include dependency graph for error_resilience.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ERContext
 

Macros

#define VP_START   1
 < current MB is the first after a resync marker More...
 
#define ER_AC_ERROR   2
 
#define ER_DC_ERROR   4
 
#define ER_MV_ERROR   8
 
#define ER_AC_END   16
 
#define ER_DC_END   32
 
#define ER_MV_END   64
 
#define ER_MB_ERROR   (ER_AC_ERROR|ER_DC_ERROR|ER_MV_ERROR)
 
#define ER_MB_END   (ER_AC_END|ER_DC_END|ER_MV_END)
 

Typedefs

typedef struct ERContext ERContext
 

Functions

void ff_er_frame_start (ERContext *s)
 
void ff_er_frame_end (ERContext *s)
 
void ff_er_add_slice (ERContext *s, int startx, int starty, int endx, int endy, int status)
 Add a slice. More...
 

Macro Definition Documentation

#define ER_AC_END   16
#define ER_AC_ERROR   2
#define VP_START   1

< current MB is the first after a resync marker

Definition at line 29 of file error_resilience.h.

Referenced by decode_slice(), ff_er_add_slice(), ff_er_frame_end(), and ff_er_frame_start().

Typedef Documentation

typedef struct ERContext ERContext

Function Documentation

void ff_er_add_slice ( ERContext s,
int  startx,
int  starty,
int  endx,
int  endy,
int  status 
)

Add a slice.

Parameters
endxx component of the last macroblock, can be -1 for the last of the previous line
statusthe status at the end (ER_MV_END, ER_AC_ERROR, ...), it is assumed that no earlier end or error of the same type occurred

Definition at line 772 of file error_resilience.c.

Referenced by decode_chunks(), decode_slice(), er_add_slice(), ff_intrax8_decode_picture(), ff_mpeg4_decode_partitions(), rv10_decode_packet(), rv34_decode_slice(), slice_decode_thread(), vc1_decode_b_blocks(), vc1_decode_i_blocks(), vc1_decode_i_blocks_adv(), vc1_decode_p_blocks(), and vc1_decode_skip_blocks().

void ff_er_frame_start ( ERContext s)

Definition at line 754 of file error_resilience.c.

Referenced by ff_MPV_report_decode_progress(), and h264_frame_start().