comparison src/aac/libfaad2/fixed.h @ 691:e6c5fdae6e88 trunk

[svn] - oh yes, commit mplayer patches as well
author nenolod
date Tue, 20 Feb 2007 06:38:03 -0800
parents 1d8b08df98c3
children f1b6f1b2cdb3
comparison
equal deleted inserted replaced
690:0305b3165a01 691:e6c5fdae6e88
1 /* 1 /*
2 ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding 2 ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding
3 ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com 3 ** Copyright (C) 2003-2004 M. Bakker, Ahead Software AG, http://www.nero.com
4 ** 4 **
5 ** This program is free software; you can redistribute it and/or modify 5 ** This program is free software; you can redistribute it and/or modify
6 ** it under the terms of the GNU General Public License as published by 6 ** it under the terms of the GNU General Public License as published by
7 ** the Free Software Foundation; either version 2 of the License, or 7 ** the Free Software Foundation; either version 2 of the License, or
8 ** (at your option) any later version. 8 ** (at your option) any later version.
17 ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 17 ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 ** 18 **
19 ** Any non-GPL usage of this software or parts of this software is strictly 19 ** Any non-GPL usage of this software or parts of this software is strictly
20 ** forbidden. 20 ** forbidden.
21 ** 21 **
22 ** Software using this code must display the following message visibly in or 22 ** Commercial non-GPL licensing of this software is possible.
23 ** on each copy of the software: 23 ** For more info contact Ahead Software through Mpeg4AAClicense@nero.com.
24 ** "FAAD2 AAC/HE-AAC/HE-AACv2/DRM decoder (c) Nero AG, www.nero.com"
25 ** in, for example, the about-box or help/startup screen.
26 ** 24 **
27 ** Commercial non-GPL licensing of this software is possible. 25 ** $Id: fixed.h,v 1.26 2004/09/04 14:56:28 menno Exp $
28 ** For more info contact Nero AG through Mpeg4AAClicense@nero.com.
29 **
30 ** $Id: fixed.h,v 1.28 2006/05/07 18:09:00 menno Exp $
31 **/ 26 **/
32 27
33 #ifndef __FIXED_H__ 28 #ifndef __FIXED_H__
34 #define __FIXED_H__ 29 #define __FIXED_H__
35 30
38 #endif 33 #endif
39 34
40 #if defined(_WIN32_WCE) && defined(_ARM_) 35 #if defined(_WIN32_WCE) && defined(_ARM_)
41 #include <cmnintrin.h> 36 #include <cmnintrin.h>
42 #endif 37 #endif
43
44 38
45 #define COEF_BITS 28 39 #define COEF_BITS 28
46 #define COEF_PRECISION (1 << COEF_BITS) 40 #define COEF_PRECISION (1 << COEF_BITS)
47 #define REAL_BITS 14 // MAXIMUM OF 14 FOR FIXED POINT SBR 41 #define REAL_BITS 14 // MAXIMUM OF 14 FOR FIXED POINT SBR
48 #define REAL_PRECISION (1 << REAL_BITS) 42 #define REAL_PRECISION (1 << REAL_BITS)