errdo.h
上传用户:hjq518
上传日期:2021-12-09
资源大小:5084k
文件大小:2k
源码类别:

Audio

开发平台:

Visual C++

  1. /*!
  2.  **************************************************************************
  3.  *  file errdo.h
  4.  *  brief  Header file for error resilient RDO (name of file should change)
  5.  *
  6.  *  author 
  7.  *    Main contributors (see contributors.h for copyright, address and affiliation details)
  8.  *    - Peshala Pahalawatta                     <ppaha@dolby.com>
  9.  *    - Alexis Michael Tourapis                 <atour@ieee.org>
  10.  *
  11.  **************************************************************************
  12.  */
  13. #ifndef _ERRDO_H_
  14. #define _ERRDO_H_
  15. //============= rate-distortion opt with packet losses ===========
  16. void init_error_conceal(int concealment_type);
  17. void compute_residue_block (ImageParameters *image, imgpel **imgY, int res_img[16][16], imgpel mb_pred[16][16], int b8block, int block_size);
  18. void decode_one_b8block (ImageParameters *image, StorablePicture *enc_pic, int decoder, int mbmode, int block8x8, short mv_mode, short b8ref);
  19. void decode_one_mb  (ImageParameters *image, StorablePicture *enc, int decoder, Macroblock* currMB);
  20. void UpdateDecoders (InputParameters *params, ImageParameters *image, StorablePicture *enc_pic);
  21. void (*error_conceal_picture)(ImageParameters *image, StorablePicture *enc_pic, int decoder);
  22. void copy_conceal_picture(ImageParameters *image, StorablePicture *enc_pic, int decoder);
  23. void errdo_store_best_block(ImageParameters* image, imgpel*** mbY, imgpel*** dec_img, int j0, int i0, int block_size);
  24. void errdo_get_best_block(ImageParameters* image, imgpel*** dec_img, imgpel*** mbY, int j0, int block_size);
  25. #endif