misc/libtremor/tremor/mdct.h
changeset 7849 a12155461b34
parent 7697 767d3c4153a1
equal deleted inserted replaced
7848:775a72905708 7849:a12155461b34
     4  *                                                                  *
     4  *                                                                  *
     5  * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *
     5  * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *
     6  * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
     6  * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
     7  * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *
     7  * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *
     8  *                                                                  *
     8  *                                                                  *
     9  * THE OggVorbis 'TREMOR' SOURCE CODE IS (C) COPYRIGHT 1994-2003    *
     9  * THE OggVorbis 'TREMOR' SOURCE CODE IS (C) COPYRIGHT 1994-2002    *
    10  * BY THE Xiph.Org FOUNDATION http://www.xiph.org/                  *
    10  * BY THE Xiph.Org FOUNDATION http://www.xiph.org/                  *
    11  *                                                                  *
    11  *                                                                  *
    12  ********************************************************************
    12  ********************************************************************
    13 
    13 
    14  function: modified discrete cosine transform prototypes
    14  function: modified discrete cosine transform prototypes
    32 #define cPI3_8 (0x30fbc54d)
    32 #define cPI3_8 (0x30fbc54d)
    33 #define cPI2_8 (0x5a82799a)
    33 #define cPI2_8 (0x5a82799a)
    34 #define cPI1_8 (0x7641af3d)
    34 #define cPI1_8 (0x7641af3d)
    35 #endif
    35 #endif
    36 
    36 
    37 extern void mdct_backward(int n, DATA_TYPE *in);
    37 extern void mdct_forward(int n, DATA_TYPE *in, DATA_TYPE *out);
    38 extern void mdct_shift_right(int n, DATA_TYPE *in, DATA_TYPE *right);
    38 extern void mdct_backward(int n, DATA_TYPE *in, DATA_TYPE *out);
    39 extern void mdct_unroll_lap(int n0,int n1,
       
    40 			    int lW,int W,
       
    41 			    DATA_TYPE *in,DATA_TYPE *right,
       
    42 			    LOOKUP_T *w0,LOOKUP_T *w1,
       
    43 			    ogg_int16_t *out,
       
    44 			    int step,
       
    45 			    int start,int end /* samples, this frame */);
       
    46 
    39 
    47 #endif
    40 #endif
    48 
    41 
    49 
    42 
    50 
    43