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

📄 dctc.h

📁 arm ads1.2 with crack.rar
💻 H
字号:
/*
 * Discrete Cosine Transform C definitions and prototypes
 * Copyright (C) ARM Limited 1998-1999. All rights reserved.
 */

#ifndef _DCT_C_
#define _DCT_C_

#ifndef PIMI
	#define PIMI	3.14159265358
	/* definition is platform independent, always same value, used for PI */
#endif	/* PIMI */

#ifndef PIMD
	#define PIMD	4.0*atan( 1.0 )
	/* machine dependent difinition */
#endif	/* PIMD */

#ifndef	PI
	#define	PI	PIMI
#endif	/* PI */

#ifndef BLOCKSIZE
	#define	BLOCKSIZE	8
#endif	/* BLOCKSIZE */

typedef int		DCTArray[ BLOCKSIZE ][ BLOCKSIZE ] ;
/* define the array that holds a block of data to be DCT'd */
typedef double	DCTCosArray[ BLOCKSIZE ][ BLOCKSIZE ] ;
/* define the array that will hold the cosine lookup table for real DCT */

unsigned int DCTCosArrayInit( DCTCosArray dctCosArray ) ;
unsigned int FDCTReal( DCTCosArray dctCosArray, DCTArray dctIn, DCTArray dctOut ) ;
unsigned int RDCTReal( DCTCosArray dctCosArray, DCTArray dctIn, DCTArray dctOut ) ;

#endif	/* _DCT_C_ */

⌨️ 快捷键说明

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