⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 idctdecode.h

📁 一个优化的H.263解码器,性能达到商用级
💻 H
字号:
// 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -