00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef _ERRDO_H_
00015 #define _ERRDO_H_
00016
00017
00018 struct decoders
00019 {
00020 imgpel ***dec_mbY_best;
00021 imgpel ****dec_mbY_best8x8;
00022 imgpel ****dec_mb_pred_best8x8;
00023 imgpel ***dec_mb_pred;
00024 int ***res_img;
00025 };
00026
00027 typedef struct decoders Decoders;
00028
00029
00030
00031 extern void init_error_conceal (ImageParameters *p_Img, int concealment_type);
00032 extern void compute_residue_block (Macroblock *currMB, imgpel **imgY, int **res_img, imgpel **mb_pred, int b8block, int block_size);
00033 extern void decode_one_b8block (Macroblock* currMB, StorablePicture *enc_pic, int decoder, int block8x8, short mv_mode, int pred_dir);
00034 extern void errdo_store_best_block (InputParameters *p_Inp, imgpel*** mbY, imgpel*** dec_img, int block_i, int block_j, int img_i, int img_j, int block_size);
00035 extern void decode_one_mb (Macroblock* currMB, StorablePicture *enc, int decoder);
00036 extern void UpdateDecoders (ImageParameters *p_Img, InputParameters *p_Inp, StorablePicture *enc_pic);
00037 extern void copy_conceal_picture (ImageParameters *p_Img, StorablePicture *enc_pic, int decoder);
00038 extern void errdo_get_best_block (Macroblock *currMB, imgpel*** dec_img, imgpel*** mbY, int j0, int block_size);
00039 extern int allocate_errdo_mem (ImageParameters *p_Img, InputParameters *p_Inp);
00040 extern void free_errdo_mem (ImageParameters *p_Img);
00041
00042 #endif
00043