1b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org/* 2b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. 3b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * 4b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * Use of this source code is governed by a BSD-style license 5b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * that can be found in the LICENSE file in the root of the source 6b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * tree. An additional intellectual property rights grant can be found 7b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * in the file PATENTS. All contributing project authors may 8b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * be found in the AUTHORS file in the root of the source tree. 9b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org */ 10b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org 11b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org/*--------------------------------*-C-*---------------------------------* 12b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * File: 13b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * fft.h 14b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * ---------------------------------------------------------------------* 15b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * Re[]: real value array 16b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * Im[]: imaginary value array 17b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * nTotal: total number of complex values 18b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * nPass: number of elements involved in this pass of transform 19b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * nSpan: nspan/nPass = number of bytes to increment pointer 20b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * in Re[] and Im[] 21b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * isign: exponent: +1 = forward -1 = reverse 22b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * scaling: normalizing constant by which the final result is *divided* 23b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * scaling == -1, normalize by total dimension of the transform 24b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * scaling < -1, normalize by the square-root of the total dimension 25b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * 26b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * ---------------------------------------------------------------------- 27b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * See the comments in the code for correct usage! 28b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org */ 29b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org 30b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org#ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_FFT_H_ 31b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org#define WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_FFT_H_ 32b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org 33b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org 34b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org#include "structs.h" 35b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org 36b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org 37fbda0fcf2f9e82c82bcaac138f44d4e5144f6e0dpbos@webrtc.orgint16_t WebRtcIsacfix_FftRadix16Fastest(int16_t RexQx[], int16_t ImxQx[], int16_t iSign); 38b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org 39b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org 40b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org 41b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org#endif /* WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_FFT_H_ */ 42