mc_prediction.h
资源名称:chapter15.rar [点击查看]
上传用户:hjq518
上传日期:2021-12-09
资源大小:5084k
文件大小:1k
源码类别:
Audio
开发平台:
Visual C++
- /*!
- *************************************************************************************
- * file mc_prediction.h
- *
- * brief
- * definitions for motion compensated prediction
- *
- * author
- * Main contributors (see contributors.h for copyright,
- * address and affiliation details)
- * - Alexis Michael Tourapis <alexismt@ieee.org>
- *
- *************************************************************************************
- */
- #ifndef _MC_PREDICTION_H_
- #define _MC_PREDICTION_H_
- #include "global.h"
- #include "mbuffer.h"
- extern StorablePicture *dec_picture;
- extern void get_block_luma(ColorPlane pl, 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]);
- extern void get_block_chroma(int uv, 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]);
- extern void intra_cr_decoding(Macroblock *currMB, int yuv, ImageParameters *img, int smb);
- extern void prepare_direct_params(Macroblock *currMB, StorablePicture *dec_picture, ImageParameters *img, short pmvl0[2], short pmvl1[2],char *l0_rFrame, char *l1_rFrame);
- extern void perform_mc(ColorPlane pl, StorablePicture *dec_picture, ImageParameters *img, int pred_dir, int i, int j, int list_offset, int block_size_x, int block_size_y, int curr_mb_field);
- #endif