![]() |
![]() |
00001 /* ======================================================================= */ 00002 /* TEXAS INSTRUMENTS, INC. */ 00003 /* */ 00004 /* FFTLIB FFT Library */ 00005 /* */ 00006 /* Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ */ 00007 /* */ 00008 /* */ 00009 /* Redistribution and use in source and binary forms, with or without */ 00010 /* modification, are permitted provided that the following conditions */ 00011 /* are met: */ 00012 /* */ 00013 /* Redistributions of source code must retain the above copyright */ 00014 /* notice, this list of conditions and the following disclaimer. */ 00015 /* */ 00016 /* Redistributions in binary form must reproduce the above copyright */ 00017 /* notice, this list of conditions and the following disclaimer in the */ 00018 /* documentation and/or other materials provided with the */ 00019 /* distribution. */ 00020 /* */ 00021 /* Neither the name of Texas Instruments Incorporated nor the names of */ 00022 /* its contributors may be used to endorse or promote products derived */ 00023 /* from this software without specific prior written permission. */ 00024 /* */ 00025 /* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS */ 00026 /* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT */ 00027 /* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR */ 00028 /* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT */ 00029 /* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, */ 00030 /* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT */ 00031 /* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, */ 00032 /* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY */ 00033 /* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT */ 00034 /* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE */ 00035 /* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ 00036 /* */ 00037 /* ======================================================================= */ 00038 00039 #include <ti/fftlib/src/common/fft_common.h> 00040 00041 #ifndef IFFT_OMP_SP_2D_C2C_H_ 00042 #define IFFT_OMP_SP_2D_C2C_H_ 1 00043 #define IFFT_OMP_SP_2D_C2C_NUMOFLINEBUFS 8 00044 00046 /* @{ */ 00047 00050 /* @{ */ 00051 00052 #define IFFT_OMP_SP_2D_C2C_MIN_SIZE ( 16) 00053 #define IFFT_OMP_SP_2D_C2C_MAX_SIZE (128*1024) 00054 00064 /* IFFT plan 2D SP API */ 00065 fft_plan_t ifft_omp_sp_plan_2d_c2c ( 00066 int N1, /* FFT size */ 00067 int N2, /* FFT size */ 00068 int mode, /* FFT_DIRECT or FFT_ECPY */ 00069 fft_callout_t fxns 00070 ); 00071 00111 /* IFFT execute 2D SP ecpy mode API */ 00112 int ifft_omp_sp_2d_c2c_ecpy ( 00113 /* int N1; FFT size */ 00114 /* int N2; FFT size */ 00115 /* fft_para_mix_bs_t para1; */ 00116 /* fft_para_mix_bs_t para2; */ 00117 /* float *data; input/output pointer */ 00118 /* float *workbuf; working pointer */ 00119 /* float *data_w; input/output buffer pointer */ 00120 /* float *workbuf_w; working buffer pointer */ 00121 /* float *workbuf_t; working buffer pointer */ 00122 /* float *tw; twiddle pointer */ 00123 /* float *tw_w; twiddle buffer pointer */ 00124 /* float *Bn; Bluestein pointer */ 00125 /* float *Bn_w; Bluestein buffer pointer */ 00126 /* float *workbuf_bn; Bluestein scratch pointer */ 00127 fft_param_u u, 00128 void *edmaState 00129 ); 00130 00131 /* }@ */ /* ingroup */ 00132 /* }@ */ /* ingroup */ 00133 00134 #endif /* IFFT_OMP_SP_2D_C2C_H_ */ 00135 00136 /* ======================================================================== */ 00137 /* End of file: ifft_omp_sp_2d_c2c.h */ 00138 /* ------------------------------------------------------------------------ */ 00139 /* Copyright (c) 2013 Texas Instruments, Incorporated. */ 00140 /* All Rights Reserved. */ 00141 /* ======================================================================== */ 00142 00143