ex

Fork of mbed-os-example-mbed5-blinky by mbed-os-examples

Committer:
TMBOY
Date:
Tue Jul 18 16:54:45 2017 +0800
Revision:
47:9e361da97763
?

Who changed what in which revision?

UserRevisionLine numberNew contents of line
TMBOY 47:9e361da97763 1 /********************************************************************
TMBOY 47:9e361da97763 2 * *
TMBOY 47:9e361da97763 3 * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
TMBOY 47:9e361da97763 4 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
TMBOY 47:9e361da97763 5 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
TMBOY 47:9e361da97763 6 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
TMBOY 47:9e361da97763 7 * *
TMBOY 47:9e361da97763 8 * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 *
TMBOY 47:9e361da97763 9 * by the XIPHOPHORUS Company http://www.xiph.org/ *
TMBOY 47:9e361da97763 10 * *
TMBOY 47:9e361da97763 11 ********************************************************************
TMBOY 47:9e361da97763 12
TMBOY 47:9e361da97763 13 function: fft transform
TMBOY 47:9e361da97763 14 last mod: $Id: smallft.h,v 1.3 2003/09/16 18:35:45 jm Exp $
TMBOY 47:9e361da97763 15
TMBOY 47:9e361da97763 16 ********************************************************************/
TMBOY 47:9e361da97763 17 /**
TMBOY 47:9e361da97763 18 @file smallft.h
TMBOY 47:9e361da97763 19 @brief Discrete Rotational Fourier Transform (DRFT)
TMBOY 47:9e361da97763 20 */
TMBOY 47:9e361da97763 21
TMBOY 47:9e361da97763 22 #ifndef _V_SMFT_H_
TMBOY 47:9e361da97763 23 #define _V_SMFT_H_
TMBOY 47:9e361da97763 24
TMBOY 47:9e361da97763 25
TMBOY 47:9e361da97763 26 #ifdef __cplusplus
TMBOY 47:9e361da97763 27 extern "C" {
TMBOY 47:9e361da97763 28 #endif
TMBOY 47:9e361da97763 29
TMBOY 47:9e361da97763 30 /** Discrete Rotational Fourier Transform lookup */
TMBOY 47:9e361da97763 31 struct drft_lookup{
TMBOY 47:9e361da97763 32 int n;
TMBOY 47:9e361da97763 33 float *trigcache;
TMBOY 47:9e361da97763 34 int *splitcache;
TMBOY 47:9e361da97763 35 };
TMBOY 47:9e361da97763 36
TMBOY 47:9e361da97763 37 extern void spx_drft_forward(struct drft_lookup *l,float *data);
TMBOY 47:9e361da97763 38 extern void spx_drft_backward(struct drft_lookup *l,float *data);
TMBOY 47:9e361da97763 39 extern void spx_drft_init(struct drft_lookup *l,int n);
TMBOY 47:9e361da97763 40 extern void spx_drft_clear(struct drft_lookup *l);
TMBOY 47:9e361da97763 41
TMBOY 47:9e361da97763 42 #ifdef __cplusplus
TMBOY 47:9e361da97763 43 }
TMBOY 47:9e361da97763 44 #endif
TMBOY 47:9e361da97763 45
TMBOY 47:9e361da97763 46 #endif