block.h
资源名称:chapter15.rar [点击查看]
上传用户:hjq518
上传日期:2021-12-09
资源大小:5084k
文件大小:2k
源码类别:
Audio
开发平台:
Visual C++
- /*!
- ************************************************************************
- * file block.h
- *
- * brief
- * definitions for block decoding functions
- *
- * author
- * Inge Lille-Langoy <inge.lille-langoy@telenor.com> n
- * Telenor Satellite Services n
- * P.O.Box 6914 St.Olavs plass n
- * N-0130 Oslo, Norway
- *
- ************************************************************************
- */
- #ifndef _BLOCK_H_
- #define _BLOCK_H_
- #include "global.h"
- extern const byte QP_SCALE_CR[52] ;
- extern const unsigned char subblk_offset_x[3][8][4];
- extern const unsigned char subblk_offset_y[3][8][4];
- extern void iMBtrans4x4(ColorPlane pl, ImageParameters *img, int smb);
- extern void iMBtrans8x8(ImageParameters *img, Macroblock *currMB, ColorPlane pl);
- extern void itrans_sp_cr(ImageParameters *img, int uv);
- void (*itrans_4x4)(ImageParameters *img, ColorPlane pl, int ioff, int joff);
- void (*itrans_8x8)(ImageParameters *img, Macroblock *currMB, ColorPlane pl, int ioff, int joff);
- extern void Inv_Residual_trans_4x4(ImageParameters *img, ColorPlane pl, int ioff, int joff);
- extern void Inv_Residual_trans_8x8(ImageParameters *img, Macroblock *currMB, ColorPlane pl, int ioff,int joff);
- extern void itrans8x8 (ImageParameters *img, Macroblock *currMB, ColorPlane pl, int ioff, int joff);
- extern void itrans4x4 (ImageParameters *img, ColorPlane pl, int ioff, int joff);
- extern void itrans4x4_ls(ImageParameters *img, ColorPlane pl, int ioff, int joff);
- extern void itrans_sp (ImageParameters *img, ColorPlane pl, int ioff, int joff);
- extern int intrapred (ImageParameters *img, Macroblock *currMB, ColorPlane pl, int ioff,int joff,int i4,int j4);
- extern void itrans_2 (ImageParameters *img, Macroblock *currMB, ColorPlane pl);
- extern void iTransform (ImageParameters *img, Macroblock *currMB, ColorPlane pl, int need_4x4_transform, int smb);
- #endif