mdct.h

Go to the documentation of this file.
00001 /*
00002  * WMA compatible decoder
00003  * Copyright (c) 2002 The FFmpeg Project.
00004  *
00005  * This library is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU Lesser General Public
00007  * License as published by the Free Software Foundation; either
00008  * version 2 of the License, or (at your option) any later version.
00009  *
00010  * This library is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013  * Lesser General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU Lesser General Public
00016  * License along with this library; if not, write to the Free Software
00017  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00018  */
00019 
00020 #ifndef WMA_MDCT_H
00021 #define WMA_MDCT_H 1
00022 
00023 #include "fft.h"
00024 
00025 typedef struct MDCTContext
00026 {
00027     int n;     /* size of MDCT (i.e. number of input data * 2) */
00028     int nbits; /* n = 2^nbits */
00029     /* pre/post rotation tables */
00030     int32_t *tcos;
00031     int32_t *tsin;
00032     FFTContext fft;
00033 }
00034 MDCTContext;
00035 
00036 int ff_mdct_init(MDCTContext *s, int nbits, int inverse);
00037 void ff_imdct_calc(MDCTContext *s, int32_t *output, int32_t *input);
00038 int mdct_init_global(void);
00039 
00040 #endif

Generated on Tue May 25 08:04:54 2010 for VLC by  doxygen 1.5.6