/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009 * * by the Xiph.Org Foundation https://xiph.org/ * * * ******************************************************************** function: window functions ********************************************************************/ #include <stdlib.h> #include <math.h> #include "os.h" #include "misc.h" #include "window.h" static const float vwin64[32] = …; static const float vwin128[64] = …; static const float vwin256[128] = …; static const float vwin512[256] = …; static const float vwin1024[512] = …; static const float vwin2048[1024] = …; static const float vwin4096[2048] = …; static const float vwin8192[4096] = …; static const float *const vwin[8] = …; const float *_vorbis_window_get(int n){ … } void _vorbis_apply_window(float *d,int *winno,long *blocksizes, int lW,int W,int nW){ … }