ifft_dp_1d_c2r.h
Go to the documentation of this file.
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_DP_1D_C2R_H_
00042 #define IFFT_DP_1D_C2R_H_ 1
00043 
00045 /* @{ */
00046 
00049 /* @{ */
00050 
00051 
00052 #define IFFT_DP_1D_C2R_4STEP_MIN_SIZE  (   4*1024)
00053 #define IFFT_DP_1D_C2R_4STEP_MAX_SIZE  (1024*1024)
00054 
00059 #define IFFT_DP_1D_C2R_NUMOFLINEBUFS 2
00060 
00067 /* IFFT plan 1D DP API */
00068 fft_plan_t ifft_dp_plan_1d_c2r (
00069     int   N,        /* IFFT size */
00070     int   mode,     /* FFT_DIRECT or FFT_ECPY */
00071     fft_callout_t fxns
00072 );
00073 
00105 /* IFFT execute 1D DP direct mode API */
00106 int ifft_dp_1d_c2r_direct (
00107     /* int     N;       IFFT size        */
00108     /* double *in;      input pointer    */
00109     /* double *out;     output pointer   */
00110     /* double *tw;      twiddle pointer  */
00111     fft_param_u u,
00112     void  *edmaState
00113 );
00114 
00151 /* IFFT execute 1D DP ecpy mode API */
00152 int ifft_dp_1d_c2r_ecpy (
00153     /* int     N;       IFFT size                        */
00154     /* int     n1;      stage1 IFFT size                 */
00155     /* int     n2;      stage2 IFFT size                 */
00156     /* double *data;    data pointer                     */
00157     /* double *work;    working buffer pointer           */
00158     /* double *data_w;  data internal pointer            */
00159     /* double *work_w;  working buffer internal pointer  */
00160     /* double *tw;      twiddle pointer                  */
00161     /* double *tw_w;    twiddle internal pointer         */
00162     fft_param_u u,
00163     void *edmaState
00164 );
00165 
00201 /* IFFT execute 1D DP 4-step ecpy mode API */
00202 int ifft_dp_1d_c2r_4step_ecpy (
00203     /* int     N;       IFFT size                        */
00204     /* int     n1;      stage1 IFFT size                 */
00205     /* int     n2;      stage2 IFFT size                 */
00206     /* double *data;    data pointer                     */
00207     /* double *work;    working buffer pointer           */
00208     /* double *data_w;  data internal pointer            */
00209     /* double *work_w;  working buffer internal pointer  */
00210     /* double *tw;      twiddle pointer                  */
00211     /* double *tw_w;    twiddle internal pointer         */
00212     fft_param_u u,
00213     void *edmaState
00214 );
00215 
00216  /* }@ */ /* ingroup */
00217  /* }@ */ /* ingroup */
00218  
00219 #endif /* IFFT_DP_1D_C2R_H_ */
00220 
00221 /* ======================================================================== */
00222 /*  End of file:  ifft_dp_1d_c2r.h                                          */
00223 /* ------------------------------------------------------------------------ */
00224 /*            Copyright (c) 2013 Texas Instruments, Incorporated.           */
00225 /*                           All Rights Reserved.                           */
00226 /* ======================================================================== */
00227 
00228 

Copyright 2014, Texas Instruments Incorporated