00001 /*This file is prepared for Doxygen automatic documentation generation.*/ 00017 /* Copyright (c) 2009 Atmel Corporation. All rights reserved. 00018 * 00019 * Redistribution and use in source and binary forms, with or without 00020 * modification, are permitted provided that the following conditions are met: 00021 * 00022 * 1. Redistributions of source code must retain the above copyright notice, this 00023 * list of conditions and the following disclaimer. 00024 * 00025 * 2. Redistributions in binary form must reproduce the above copyright notice, 00026 * this list of conditions and the following disclaimer in the documentation 00027 * and/or other materials provided with the distribution. 00028 * 00029 * 3. The name of Atmel may not be used to endorse or promote products derived 00030 * from this software without specific prior written permission. 00031 * 00032 * 4. This software may only be redistributed and used in connection with an Atmel 00033 * AVR product. 00034 * 00035 * THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED 00036 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 00037 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 00038 * EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR 00039 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 00040 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 00041 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 00042 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 00043 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 00044 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE 00045 * 00046 */ 00047 /* - \ref Rectangular 00048 * - \ref Bartlett 00049 * - \ref Blackman 00050 * - \ref Hamming 00051 * - \ref Gauss 00052 * - \ref Hann 00053 * - \ref Kaiser 00054 * - \ref Welch 00055 * 00056 * \htmlonly 00057 * <hr /> 00058 * \endhtmlonly 00059 */ 00060 00061 00062 #ifndef __DSP_WINDOWING_H__ 00063 #define __DSP_WINDOWING_H__ 00064 00065 #ifdef __AVR32_ABI_COMPILER__ 00066 00087 void dsp16_win_rect(dsp16_t *vect1, int size); 00093 void dsp32_win_rect(dsp32_t *vect1, int size); 00094 00116 void dsp16_win_bart(dsp16_t *vect1, int size); 00122 void dsp32_win_bart(dsp32_t *vect1, int size); 00123 00144 void dsp16_win_black(dsp16_t *vect1, int size); 00150 void dsp32_win_black(dsp32_t *vect1, int size); 00151 00172 void dsp16_win_hamm(dsp16_t *vect1, int size); 00178 void dsp32_win_hamm(dsp32_t *vect1, int size); 00179 00202 void dsp16_win_gauss(dsp16_t *vect1, int size); 00208 void dsp32_win_gauss(dsp32_t *vect1, int size); 00209 00230 void dsp16_win_hann(dsp16_t *vect1, int size); 00236 void dsp32_win_hann(dsp32_t *vect1, int size); 00237 00259 void dsp16_win_kaiser(dsp16_t *vect1, int size, int alpha); 00266 void dsp32_win_kaiser(dsp32_t *vect1, int size, int alpha); 00267 00289 void dsp16_win_welch(dsp16_t *vect1, int size); 00295 void dsp32_win_welch(dsp32_t *vect1, int size); 00296 00297 #endif // __AVR32_ABI_COMPILER__ 00298 #endif // __DSP_WINDOWING_H__