errorconcealment.h File Reference

Header file for errorconcealment.c. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int set_ec_flag (ImageParameters *p_Img, int se)
void reset_ec_flags (ImageParameters *p_Img)
int get_concealed_element (ImageParameters *p_Img, SyntaxElement *sym)


Detailed Description

Header file for errorconcealment.c.

Definition in file errorconcealment.h.


Function Documentation

int get_concealed_element ( ImageParameters *  p_Img,
SyntaxElement sym 
)

get error concealed element in dependence of syntax element se.
This function implements the error concealment.

Returns:
NO_EC if no error concealment required
EC_REQ if element requires error concealment

Definition at line 151 of file errorconcealment.c.

References EC_REQ, syntaxelement::inf, syntaxelement::len, NO_EC, SE_HEADER, and syntaxelement::type.

void reset_ec_flags ( ImageParameters *  p_Img  ) 

resets EC_Flags called at the start of each slice

Definition at line 132 of file errorconcealment.c.

References NO_EC, and SE_MAX_ELEMENTS.

int set_ec_flag ( ImageParameters *  p_Img,
int  se 
)

set concealment for all elements in same partition and dependend syntax elements

Parameters:
p_Img image encoding parameters for current picture
se type of syntax element to conceal
Returns:
EC_REQ, elements of same type or depending type need error concealment.
EX_SYNC sync on next header

Definition at line 52 of file errorconcealment.c.

References EC_REQ, and SE_HEADER.

Referenced by init_picture().


Documentation generated with DoxyGen