| 12345678910111213141516171819202122232425262728 |
- /******************************************************************************
- 版权所有:
- 文件名称: fourier.h
- 文件版本: 01.01
- 创建作者: sunxi
- 创建日期: 2008-07-28
- 功能说明: 傅立叶算法头文件。
- 其它说明:
- 修改记录:
- */
- #ifndef _FOURIER_H
- #define _FOURIER_H
- #include "rt_types.h"
- extern const int g_fourier_coefficient[3][2][16];
- #define FOURIER_HARMONIC_1 ((unsigned int )g_fourier_coefficient)//基波
- #define FOURIER_HARMONIC_2 ((unsigned int )g_fourier_coefficient + 1*sizeof(g_fourier_coefficient[0])) //2次谐波
- #define FOURIER_HARMONIC_5 ((unsigned int )g_fourier_coefficient + 2*sizeof(g_fourier_coefficient[0])) //5次谐波
- //void fourier32(short *dots,struct ri_s16 * ri,unsigned int harmonic);
- void fourier32(short *dots,short * real_image_pair,unsigned int harmonic);
- void fourier32_half(short *dots,struct ri_s16 * ri,unsigned int harmonic);
- int fourier_test(void);
- #endif
|