xref: /aosp_15_r20/external/tflite-support/third_party/fft2d/fft.h (revision b16991f985baa50654c05c5adbb3c8bbcfb40082)
1*b16991f9SAndroid Build Coastguard Worker /* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
2*b16991f9SAndroid Build Coastguard Worker 
3*b16991f9SAndroid Build Coastguard Worker Licensed under the Apache License, Version 2.0 (the "License");
4*b16991f9SAndroid Build Coastguard Worker you may not use this file except in compliance with the License.
5*b16991f9SAndroid Build Coastguard Worker You may obtain a copy of the License at
6*b16991f9SAndroid Build Coastguard Worker 
7*b16991f9SAndroid Build Coastguard Worker     http://www.apache.org/licenses/LICENSE-2.0
8*b16991f9SAndroid Build Coastguard Worker 
9*b16991f9SAndroid Build Coastguard Worker Unless required by applicable law or agreed to in writing, software
10*b16991f9SAndroid Build Coastguard Worker distributed under the License is distributed on an "AS IS" BASIS,
11*b16991f9SAndroid Build Coastguard Worker WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12*b16991f9SAndroid Build Coastguard Worker See the License for the specific language governing permissions and
13*b16991f9SAndroid Build Coastguard Worker limitations under the License.
14*b16991f9SAndroid Build Coastguard Worker ==============================================================================*/
15*b16991f9SAndroid Build Coastguard Worker 
16*b16991f9SAndroid Build Coastguard Worker // Declarations for 1D FFT routines in third_party/fft2d/fft2d.
17*b16991f9SAndroid Build Coastguard Worker 
18*b16991f9SAndroid Build Coastguard Worker #ifndef FFT2D_FFT_H__
19*b16991f9SAndroid Build Coastguard Worker #define FFT2D_FFT_H__
20*b16991f9SAndroid Build Coastguard Worker 
21*b16991f9SAndroid Build Coastguard Worker #ifdef __cplusplus
22*b16991f9SAndroid Build Coastguard Worker extern "C" {
23*b16991f9SAndroid Build Coastguard Worker #endif
24*b16991f9SAndroid Build Coastguard Worker 
25*b16991f9SAndroid Build Coastguard Worker extern void cdft(int, int, double *, int *, double *);
26*b16991f9SAndroid Build Coastguard Worker extern void rdft(int, int, double *, int *, double *);
27*b16991f9SAndroid Build Coastguard Worker extern void ddct(int, int, double *, int *, double *);
28*b16991f9SAndroid Build Coastguard Worker extern void ddst(int, int, double *, int *, double *);
29*b16991f9SAndroid Build Coastguard Worker extern void dfct(int, double *, double *, int *, double *);
30*b16991f9SAndroid Build Coastguard Worker extern void dfst(int, double *, double *, int *, double *);
31*b16991f9SAndroid Build Coastguard Worker 
32*b16991f9SAndroid Build Coastguard Worker #ifdef __cplusplus
33*b16991f9SAndroid Build Coastguard Worker }
34*b16991f9SAndroid Build Coastguard Worker #endif
35*b16991f9SAndroid Build Coastguard Worker 
36*b16991f9SAndroid Build Coastguard Worker #endif  // FFT2D_FFT_H__
37