block.h

来自「H.264编码实现」· C头文件 代码 · 共 45 行

H
45
字号

/*!
 ************************************************************************
 * \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

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?