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

Audio

开发平台:

Visual C++

  1. /*!
  2.  *************************************************************************************
  3.  * file errdo_mc_prediction.h
  4.  *
  5.  * brief
  6.  *    definitions for motion compensated prediction
  7.  *
  8.  * author
  9.  *      Main contributors (see contributors.h for copyright, 
  10.  *                         address and affiliation details)
  11.  *      - Alexis Michael Tourapis  <alexismt@ieee.org>
  12.  *      - Modified for use in hypothetical decoders at encoder
  13.  *           by Peshala V. Pahalawatta <pesh@ieee.org>
  14.  *
  15.  *************************************************************************************
  16.  */
  17. #ifndef _ERRDO_MC_PREDICTION_H_
  18. #define _ERRDO_MC_PREDICTION_H_
  19. #include "global.h"
  20. #include "mbuffer.h"
  21. //extern StorablePicture *enc_picture;
  22. extern void get_block_luma(int decoder, ColorPlane pl, StorablePicture *dec_picture, StorablePicture *list, int x_pos, int y_pos, int ver_block_size, int hor_block_size, ImageParameters *img, imgpel block[MB_BLOCK_SIZE][MB_BLOCK_SIZE]);
  23. extern void get_block_chroma(int decoder, int uv, StorablePicture *dec_picture, StorablePicture *list, int x_pos, int y_pos, int hor_block_size, int ver_block_size, ImageParameters *img, imgpel block[MB_BLOCK_SIZE][MB_BLOCK_SIZE]);
  24. //extern void intra_cr_decoding(Macroblock *currMB, int yuv, ImageParameters *img, int smb);
  25. //extern void prepare_direct_params(Macroblock *currMB, StorablePicture *dec_picture, ImageParameters *img, short pmvl0[2], short pmvl1[2],char *l0_rFrame, char *l1_rFrame);
  26. extern void perform_mc(int decoder, ColorPlane pl, StorablePicture *dec_picture, ImageParameters *img, int pred_dir, int l0_mode, int l1_mode, int i, int j, int list_offset, int block_size_x, int block_size_y, int curr_mb_field);
  27. extern void perform_mc_concealment(int decoder, ColorPlane pl, StorablePicture *dec_picture, ImageParameters *img, int pred_dir, int i, int j, int block_size_x, int block_size_y);
  28. #endif