idctdecode.h

来自「一个优化的H.263解码器,性能达到商用级」· C头文件 代码 · 共 36 行

H
36
字号
// IDCTDecode.h: interface for the CIDCTDecode class.

#ifndef __IDCTDECODE_H__
#define __IDCTDECODE_H__

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define W1 2841                 /* 2048*sqrt(2)*cos(1*pi/16) */
#define W2 2676                 /* 2048*sqrt(2)*cos(2*pi/16) */
#define W3 2408                 /* 2048*sqrt(2)*cos(3*pi/16) */
#define W5 1609                 /* 2048*sqrt(2)*cos(5*pi/16) */
#define W6 1108                 /* 2048*sqrt(2)*cos(6*pi/16) */
#define W7 565                  /* 2048*sqrt(2)*cos(7*pi/16) */

class CIDCTDecode  
{

public:
	void De_init_idct ();
	void De_idct (short *block);
	CIDCTDecode();
	virtual ~CIDCTDecode();
private:
//	void idctrow(short *blk);
//	void idctcol(short *blk);
private:

	short iclip[1024];       /* clipping table */
    short *iclp;

};

#endif // #ifndef __IDCTDECODE_H__

⌨️ 快捷键说明

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