#include "contributors.h"
#include "global.h"
#include "elements.h"

Go to the source code of this file.
Functions | |
| int | set_ec_flag (int se) |
| void | reset_ec_flags () |
| int | get_concealed_element (SyntaxElement *sym) |
Variables | |
| static int | ec_flag [SE_MAX_ELEMENTS] |
Definition in file errorconcealment.c.
| int get_concealed_element | ( | SyntaxElement * | sym | ) |
get error concealed element in dependence of syntax element se.
This function implements the error concealment.
Definition at line 173 of file errorconcealment.c.
References ec_flag, EC_REQ, syntaxelement::inf, syntaxelement::len, NO_EC, SE_HEADER, and syntaxelement::type.
| void reset_ec_flags | ( | void | ) |
resets EC_Flags called at the start of each slice
Definition at line 154 of file errorconcealment.c.
References ec_flag, NO_EC, and SE_MAX_ELEMENTS.
| int set_ec_flag | ( | int | se | ) |
set concealment for all elements in same partition and dependend syntax elements
| se | type of syntax element to conceal |
Definition at line 73 of file errorconcealment.c.
References ec_flag, EC_REQ, and SE_HEADER.
Referenced by init_picture().
int ec_flag[SE_MAX_ELEMENTS] [static] |
array to set errorconcealment
Definition at line 36 of file errorconcealment.c.
Referenced by get_concealed_element(), reset_ec_flags(), and set_ec_flag().