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

📄 rad4fft.h

📁 在ADSP-2126x上编写的优化过的FFT程序(用c和汇编编写)。
💻 H
字号:
/*******************************************************************************
*
* Header File:  Rad4FFT.h
*            
* Description:
*		This file should be included when using the Rad4FFT
*
* Author:	
*				Darrel Judd
*				Judd Labs, Inc.
*				801-756-2057
*				drjudd@ieee.org
*
* Revisions:
*					Created June, 2003 Darrel Judd
*******************************************************************************/
//==============================================================================
// include files
//==============================================================================
// C definitions
#include "ctypes.h"
//==============================================================================
// definitions
//==============================================================================
// This type is used to represent the FFT size.
// Using this type will guarantee that the size is a power of 4 
typedef enum {
	N64 = 64,
	N256 = 256,
	N1024 = 1024,
	N4096 = 4096
}TCFFT4_simd_size;
//==============================================================================
// prototypes
//==============================================================================
void Rad4FFT();
void Rad4_Twiddle_Calc(
								TCFFT4_simd_size length,	// Size of FFT
								float *tc,						// pointer to cosine array (real)
								float pm *ts);					// pointer to sine array (imaginary)

void _Rad4FFTInit(
							TCFFT4_simd_size N,	// size of fft (power of 4)
							float *reinput,		// real input array
							float *iminput,		// imaginary input array
							float *reoutput,		// real output array
							float *imoutput);		// imaginary output array

⌨️ 快捷键说明

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