annotate libfaad2/sbr_dct.c @ 20337:fccb66884d60

Avoid crash after "AVI: No audio stream found -> no sound." message, audio was not correctly disabled.
author reimar
date Sat, 21 Oct 2006 20:48:41 +0000
parents 59b6fa5b4201
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1 /*
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
2 ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding
12527
4a370c80fe5c update to the 2.0 release of faad, patch by adland
diego
parents: 10989
diff changeset
3 ** Copyright (C) 2003-2004 M. Bakker, Ahead Software AG, http://www.nero.com
4a370c80fe5c update to the 2.0 release of faad, patch by adland
diego
parents: 10989
diff changeset
4 **
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
5 ** This program is free software; you can redistribute it and/or modify
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
6 ** it under the terms of the GNU General Public License as published by
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
7 ** the Free Software Foundation; either version 2 of the License, or
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
8 ** (at your option) any later version.
12527
4a370c80fe5c update to the 2.0 release of faad, patch by adland
diego
parents: 10989
diff changeset
9 **
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
10 ** This program is distributed in the hope that it will be useful,
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
11 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
12 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
13 ** GNU General Public License for more details.
12527
4a370c80fe5c update to the 2.0 release of faad, patch by adland
diego
parents: 10989
diff changeset
14 **
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
15 ** You should have received a copy of the GNU General Public License
12527
4a370c80fe5c update to the 2.0 release of faad, patch by adland
diego
parents: 10989
diff changeset
16 ** along with this program; if not, write to the Free Software
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
17 ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
18 **
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
19 ** Any non-GPL usage of this software or parts of this software is strictly
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
20 ** forbidden.
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
21 **
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
22 ** Commercial non-GPL licensing of this software is possible.
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
23 ** For more info contact Ahead Software through Mpeg4AAClicense@nero.com.
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
24 **
18141
59b6fa5b4201 Update to faad2 cvs 20040915+MPlayer fixes
rtognimp
parents: 14727
diff changeset
25 ** $Id: sbr_dct.c,v 1.15 2004/09/04 14:56:28 menno Exp $
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
26 **/
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
27
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
28 #include "common.h"
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
29
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
30 #ifdef SBR_DEC
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
31
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
32 #ifdef _MSC_VER
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
33 #pragma warning(disable:4305)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
34 #pragma warning(disable:4244)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
35 #endif
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
36
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
37
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
38 #include "sbr_dct.h"
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
39
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
40 void DCT4_32(real_t *y, real_t *x)
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
41 {
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
42 real_t f0, f1, f2, f3, f4, f5, f6, f7, f8, f9, f10;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
43 real_t f11, f12, f13, f14, f15, f16, f17, f18, f19, f20;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
44 real_t f21, f22, f23, f24, f25, f26, f27, f28, f29, f30;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
45 real_t f31, f32, f33, f34, f35, f36, f37, f38, f39, f40;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
46 real_t f41, f42, f43, f44, f45, f46, f47, f48, f49, f50;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
47 real_t f51, f52, f53, f54, f55, f56, f57, f58, f59, f60;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
48 real_t f61, f62, f63, f64, f65, f66, f67, f68, f69, f70;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
49 real_t f71, f72, f73, f74, f75, f76, f77, f78, f79, f80;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
50 real_t f81, f82, f83, f84, f85, f86, f87, f88, f89, f90;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
51 real_t f91, f92, f93, f94, f95, f96, f97, f98, f99, f100;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
52 real_t f101, f102, f103, f104, f105, f106, f107, f108, f109, f110;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
53 real_t f111, f112, f113, f114, f115, f116, f117, f118, f119, f120;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
54 real_t f121, f122, f123, f124, f125, f126, f127, f128, f129, f130;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
55 real_t f131, f132, f133, f134, f135, f136, f137, f138, f139, f140;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
56 real_t f141, f142, f143, f144, f145, f146, f147, f148, f149, f150;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
57 real_t f151, f152, f153, f154, f155, f156, f157, f158, f159, f160;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
58 real_t f161, f162, f163, f164, f165, f166, f167, f168, f169, f170;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
59 real_t f171, f172, f173, f174, f175, f176, f177, f178, f179, f180;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
60 real_t f181, f182, f183, f184, f185, f186, f187, f188, f189, f190;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
61 real_t f191, f192, f193, f194, f195, f196, f197, f198, f199, f200;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
62 real_t f201, f202, f203, f204, f205, f206, f207, f208, f209, f210;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
63 real_t f211, f212, f213, f214, f215, f216, f217, f218, f219, f220;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
64 real_t f221, f222, f223, f224, f225, f226, f227, f228, f229, f230;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
65 real_t f231, f232, f233, f234, f235, f236, f237, f238, f239, f240;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
66 real_t f241, f242, f243, f244, f245, f246, f247, f248, f249, f250;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
67 real_t f251, f252, f253, f254, f255, f256, f257, f258, f259, f260;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
68 real_t f261, f262, f263, f264, f265, f266, f267, f268, f269, f270;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
69 real_t f271, f272, f273, f274, f275, f276, f277, f278, f279, f280;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
70 real_t f281, f282, f283, f284, f285, f286, f287, f288, f289, f290;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
71 real_t f291, f292, f293, f294, f295, f296, f297, f298, f299, f300;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
72 real_t f301, f302, f303, f304, f305, f306, f307, f310, f311, f312;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
73 real_t f313, f316, f317, f318, f319, f322, f323, f324, f325, f328;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
74 real_t f329, f330, f331, f334, f335, f336, f337, f340, f341, f342;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
75 real_t f343, f346, f347, f348, f349, f352, f353, f354, f355, f358;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
76 real_t f359, f360, f361, f364, f365, f366, f367, f370, f371, f372;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
77 real_t f373, f376, f377, f378, f379, f382, f383, f384, f385, f388;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
78 real_t f389, f390, f391, f394, f395, f396, f397;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
79
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
80 f0 = x[15] - x[16];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
81 f1 = x[15] + x[16];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
82 f2 = MUL_F(FRAC_CONST(0.7071067811865476), f1);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
83 f3 = MUL_F(FRAC_CONST(0.7071067811865476), f0);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
84 f4 = x[8] - x[23];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
85 f5 = x[8] + x[23];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
86 f6 = MUL_F(FRAC_CONST(0.7071067811865476), f5);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
87 f7 = MUL_F(FRAC_CONST(0.7071067811865476), f4);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
88 f8 = x[12] - x[19];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
89 f9 = x[12] + x[19];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
90 f10 = MUL_F(FRAC_CONST(0.7071067811865476), f9);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
91 f11 = MUL_F(FRAC_CONST(0.7071067811865476), f8);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
92 f12 = x[11] - x[20];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
93 f13 = x[11] + x[20];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
94 f14 = MUL_F(FRAC_CONST(0.7071067811865476), f13);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
95 f15 = MUL_F(FRAC_CONST(0.7071067811865476), f12);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
96 f16 = x[14] - x[17];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
97 f17 = x[14] + x[17];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
98 f18 = MUL_F(FRAC_CONST(0.7071067811865476), f17);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
99 f19 = MUL_F(FRAC_CONST(0.7071067811865476), f16);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
100 f20 = x[9] - x[22];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
101 f21 = x[9] + x[22];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
102 f22 = MUL_F(FRAC_CONST(0.7071067811865476), f21);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
103 f23 = MUL_F(FRAC_CONST(0.7071067811865476), f20);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
104 f24 = x[13] - x[18];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
105 f25 = x[13] + x[18];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
106 f26 = MUL_F(FRAC_CONST(0.7071067811865476), f25);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
107 f27 = MUL_F(FRAC_CONST(0.7071067811865476), f24);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
108 f28 = x[10] - x[21];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
109 f29 = x[10] + x[21];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
110 f30 = MUL_F(FRAC_CONST(0.7071067811865476), f29);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
111 f31 = MUL_F(FRAC_CONST(0.7071067811865476), f28);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
112 f32 = x[0] - f2;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
113 f33 = x[0] + f2;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
114 f34 = x[31] - f3;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
115 f35 = x[31] + f3;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
116 f36 = x[7] - f6;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
117 f37 = x[7] + f6;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
118 f38 = x[24] - f7;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
119 f39 = x[24] + f7;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
120 f40 = x[3] - f10;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
121 f41 = x[3] + f10;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
122 f42 = x[28] - f11;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
123 f43 = x[28] + f11;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
124 f44 = x[4] - f14;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
125 f45 = x[4] + f14;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
126 f46 = x[27] - f15;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
127 f47 = x[27] + f15;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
128 f48 = x[1] - f18;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
129 f49 = x[1] + f18;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
130 f50 = x[30] - f19;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
131 f51 = x[30] + f19;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
132 f52 = x[6] - f22;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
133 f53 = x[6] + f22;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
134 f54 = x[25] - f23;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
135 f55 = x[25] + f23;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
136 f56 = x[2] - f26;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
137 f57 = x[2] + f26;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
138 f58 = x[29] - f27;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
139 f59 = x[29] + f27;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
140 f60 = x[5] - f30;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
141 f61 = x[5] + f30;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
142 f62 = x[26] - f31;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
143 f63 = x[26] + f31;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
144 f64 = f39 + f37;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
145 f65 = MUL_F(FRAC_CONST(-0.5411961001461969), f39);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
146 f66 = MUL_F(FRAC_CONST(0.9238795325112867), f64);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
147 f67 = MUL_C(COEF_CONST(1.3065629648763766), f37);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
148 f68 = f65 + f66;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
149 f69 = f67 - f66;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
150 f70 = f38 + f36;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
151 f71 = MUL_C(COEF_CONST(1.3065629648763770), f38);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
152 f72 = MUL_F(FRAC_CONST(-0.3826834323650904), f70);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
153 f73 = MUL_F(FRAC_CONST(0.5411961001461961), f36);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
154 f74 = f71 + f72;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
155 f75 = f73 - f72;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
156 f76 = f47 + f45;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
157 f77 = MUL_F(FRAC_CONST(-0.5411961001461969), f47);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
158 f78 = MUL_F(FRAC_CONST(0.9238795325112867), f76);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
159 f79 = MUL_C(COEF_CONST(1.3065629648763766), f45);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
160 f80 = f77 + f78;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
161 f81 = f79 - f78;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
162 f82 = f46 + f44;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
163 f83 = MUL_C(COEF_CONST(1.3065629648763770), f46);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
164 f84 = MUL_F(FRAC_CONST(-0.3826834323650904), f82);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
165 f85 = MUL_F(FRAC_CONST(0.5411961001461961), f44);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
166 f86 = f83 + f84;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
167 f87 = f85 - f84;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
168 f88 = f55 + f53;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
169 f89 = MUL_F(FRAC_CONST(-0.5411961001461969), f55);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
170 f90 = MUL_F(FRAC_CONST(0.9238795325112867), f88);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
171 f91 = MUL_C(COEF_CONST(1.3065629648763766), f53);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
172 f92 = f89 + f90;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
173 f93 = f91 - f90;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
174 f94 = f54 + f52;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
175 f95 = MUL_C(COEF_CONST(1.3065629648763770), f54);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
176 f96 = MUL_F(FRAC_CONST(-0.3826834323650904), f94);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
177 f97 = MUL_F(FRAC_CONST(0.5411961001461961), f52);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
178 f98 = f95 + f96;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
179 f99 = f97 - f96;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
180 f100 = f63 + f61;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
181 f101 = MUL_F(FRAC_CONST(-0.5411961001461969), f63);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
182 f102 = MUL_F(FRAC_CONST(0.9238795325112867), f100);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
183 f103 = MUL_C(COEF_CONST(1.3065629648763766), f61);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
184 f104 = f101 + f102;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
185 f105 = f103 - f102;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
186 f106 = f62 + f60;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
187 f107 = MUL_C(COEF_CONST(1.3065629648763770), f62);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
188 f108 = MUL_F(FRAC_CONST(-0.3826834323650904), f106);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
189 f109 = MUL_F(FRAC_CONST(0.5411961001461961), f60);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
190 f110 = f107 + f108;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
191 f111 = f109 - f108;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
192 f112 = f33 - f68;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
193 f113 = f33 + f68;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
194 f114 = f35 - f69;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
195 f115 = f35 + f69;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
196 f116 = f32 - f74;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
197 f117 = f32 + f74;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
198 f118 = f34 - f75;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
199 f119 = f34 + f75;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
200 f120 = f41 - f80;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
201 f121 = f41 + f80;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
202 f122 = f43 - f81;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
203 f123 = f43 + f81;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
204 f124 = f40 - f86;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
205 f125 = f40 + f86;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
206 f126 = f42 - f87;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
207 f127 = f42 + f87;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
208 f128 = f49 - f92;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
209 f129 = f49 + f92;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
210 f130 = f51 - f93;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
211 f131 = f51 + f93;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
212 f132 = f48 - f98;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
213 f133 = f48 + f98;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
214 f134 = f50 - f99;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
215 f135 = f50 + f99;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
216 f136 = f57 - f104;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
217 f137 = f57 + f104;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
218 f138 = f59 - f105;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
219 f139 = f59 + f105;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
220 f140 = f56 - f110;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
221 f141 = f56 + f110;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
222 f142 = f58 - f111;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
223 f143 = f58 + f111;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
224 f144 = f123 + f121;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
225 f145 = MUL_F(FRAC_CONST(-0.7856949583871021), f123);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
226 f146 = MUL_F(FRAC_CONST(0.9807852804032304), f144);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
227 f147 = MUL_C(COEF_CONST(1.1758756024193588), f121);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
228 f148 = f145 + f146;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
229 f149 = f147 - f146;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
230 f150 = f127 + f125;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
231 f151 = MUL_F(FRAC_CONST(0.2758993792829431), f127);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
232 f152 = MUL_F(FRAC_CONST(0.5555702330196022), f150);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
233 f153 = MUL_C(COEF_CONST(1.3870398453221475), f125);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
234 f154 = f151 + f152;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
235 f155 = f153 - f152;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
236 f156 = f122 + f120;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
237 f157 = MUL_C(COEF_CONST(1.1758756024193591), f122);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
238 f158 = MUL_F(FRAC_CONST(-0.1950903220161287), f156);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
239 f159 = MUL_F(FRAC_CONST(0.7856949583871016), f120);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
240 f160 = f157 + f158;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
241 f161 = f159 - f158;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
242 f162 = f126 + f124;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
243 f163 = MUL_C(COEF_CONST(1.3870398453221473), f126);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
244 f164 = MUL_F(FRAC_CONST(-0.8314696123025455), f162);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
245 f165 = MUL_F(FRAC_CONST(-0.2758993792829436), f124);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
246 f166 = f163 + f164;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
247 f167 = f165 - f164;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
248 f168 = f139 + f137;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
249 f169 = MUL_F(FRAC_CONST(-0.7856949583871021), f139);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
250 f170 = MUL_F(FRAC_CONST(0.9807852804032304), f168);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
251 f171 = MUL_C(COEF_CONST(1.1758756024193588), f137);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
252 f172 = f169 + f170;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
253 f173 = f171 - f170;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
254 f174 = f143 + f141;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
255 f175 = MUL_F(FRAC_CONST(0.2758993792829431), f143);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
256 f176 = MUL_F(FRAC_CONST(0.5555702330196022), f174);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
257 f177 = MUL_C(COEF_CONST(1.3870398453221475), f141);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
258 f178 = f175 + f176;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
259 f179 = f177 - f176;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
260 f180 = f138 + f136;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
261 f181 = MUL_C(COEF_CONST(1.1758756024193591), f138);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
262 f182 = MUL_F(FRAC_CONST(-0.1950903220161287), f180);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
263 f183 = MUL_F(FRAC_CONST(0.7856949583871016), f136);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
264 f184 = f181 + f182;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
265 f185 = f183 - f182;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
266 f186 = f142 + f140;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
267 f187 = MUL_C(COEF_CONST(1.3870398453221473), f142);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
268 f188 = MUL_F(FRAC_CONST(-0.8314696123025455), f186);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
269 f189 = MUL_F(FRAC_CONST(-0.2758993792829436), f140);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
270 f190 = f187 + f188;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
271 f191 = f189 - f188;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
272 f192 = f113 - f148;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
273 f193 = f113 + f148;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
274 f194 = f115 - f149;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
275 f195 = f115 + f149;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
276 f196 = f117 - f154;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
277 f197 = f117 + f154;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
278 f198 = f119 - f155;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
279 f199 = f119 + f155;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
280 f200 = f112 - f160;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
281 f201 = f112 + f160;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
282 f202 = f114 - f161;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
283 f203 = f114 + f161;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
284 f204 = f116 - f166;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
285 f205 = f116 + f166;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
286 f206 = f118 - f167;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
287 f207 = f118 + f167;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
288 f208 = f129 - f172;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
289 f209 = f129 + f172;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
290 f210 = f131 - f173;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
291 f211 = f131 + f173;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
292 f212 = f133 - f178;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
293 f213 = f133 + f178;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
294 f214 = f135 - f179;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
295 f215 = f135 + f179;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
296 f216 = f128 - f184;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
297 f217 = f128 + f184;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
298 f218 = f130 - f185;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
299 f219 = f130 + f185;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
300 f220 = f132 - f190;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
301 f221 = f132 + f190;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
302 f222 = f134 - f191;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
303 f223 = f134 + f191;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
304 f224 = f211 + f209;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
305 f225 = MUL_F(FRAC_CONST(-0.8971675863426361), f211);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
306 f226 = MUL_F(FRAC_CONST(0.9951847266721968), f224);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
307 f227 = MUL_C(COEF_CONST(1.0932018670017576), f209);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
308 f228 = f225 + f226;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
309 f229 = f227 - f226;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
310 f230 = f215 + f213;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
311 f231 = MUL_F(FRAC_CONST(-0.4105245275223571), f215);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
312 f232 = MUL_F(FRAC_CONST(0.8819212643483549), f230);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
313 f233 = MUL_C(COEF_CONST(1.3533180011743529), f213);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
314 f234 = f231 + f232;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
315 f235 = f233 - f232;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
316 f236 = f219 + f217;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
317 f237 = MUL_F(FRAC_CONST(0.1386171691990915), f219);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
318 f238 = MUL_F(FRAC_CONST(0.6343932841636455), f236);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
319 f239 = MUL_C(COEF_CONST(1.4074037375263826), f217);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
320 f240 = f237 + f238;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
321 f241 = f239 - f238;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
322 f242 = f223 + f221;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
323 f243 = MUL_F(FRAC_CONST(0.6666556584777466), f223);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
324 f244 = MUL_F(FRAC_CONST(0.2902846772544623), f242);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
325 f245 = MUL_C(COEF_CONST(1.2472250129866711), f221);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
326 f246 = f243 + f244;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
327 f247 = f245 - f244;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
328 f248 = f210 + f208;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
329 f249 = MUL_C(COEF_CONST(1.0932018670017574), f210);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
330 f250 = MUL_F(FRAC_CONST(-0.0980171403295605), f248);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
331 f251 = MUL_F(FRAC_CONST(0.8971675863426364), f208);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
332 f252 = f249 + f250;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
333 f253 = f251 - f250;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
334 f254 = f214 + f212;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
335 f255 = MUL_C(COEF_CONST(1.3533180011743529), f214);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
336 f256 = MUL_F(FRAC_CONST(-0.4713967368259979), f254);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
337 f257 = MUL_F(FRAC_CONST(0.4105245275223569), f212);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
338 f258 = f255 + f256;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
339 f259 = f257 - f256;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
340 f260 = f218 + f216;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
341 f261 = MUL_C(COEF_CONST(1.4074037375263826), f218);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
342 f262 = MUL_F(FRAC_CONST(-0.7730104533627369), f260);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
343 f263 = MUL_F(FRAC_CONST(-0.1386171691990913), f216);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
344 f264 = f261 + f262;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
345 f265 = f263 - f262;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
346 f266 = f222 + f220;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
347 f267 = MUL_C(COEF_CONST(1.2472250129866711), f222);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
348 f268 = MUL_F(FRAC_CONST(-0.9569403357322089), f266);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
349 f269 = MUL_F(FRAC_CONST(-0.6666556584777469), f220);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
350 f270 = f267 + f268;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
351 f271 = f269 - f268;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
352 f272 = f193 - f228;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
353 f273 = f193 + f228;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
354 f274 = f195 - f229;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
355 f275 = f195 + f229;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
356 f276 = f197 - f234;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
357 f277 = f197 + f234;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
358 f278 = f199 - f235;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
359 f279 = f199 + f235;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
360 f280 = f201 - f240;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
361 f281 = f201 + f240;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
362 f282 = f203 - f241;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
363 f283 = f203 + f241;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
364 f284 = f205 - f246;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
365 f285 = f205 + f246;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
366 f286 = f207 - f247;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
367 f287 = f207 + f247;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
368 f288 = f192 - f252;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
369 f289 = f192 + f252;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
370 f290 = f194 - f253;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
371 f291 = f194 + f253;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
372 f292 = f196 - f258;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
373 f293 = f196 + f258;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
374 f294 = f198 - f259;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
375 f295 = f198 + f259;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
376 f296 = f200 - f264;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
377 f297 = f200 + f264;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
378 f298 = f202 - f265;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
379 f299 = f202 + f265;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
380 f300 = f204 - f270;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
381 f301 = f204 + f270;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
382 f302 = f206 - f271;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
383 f303 = f206 + f271;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
384 f304 = f275 + f273;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
385 f305 = MUL_F(FRAC_CONST(-0.9751575901732920), f275);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
386 f306 = MUL_F(FRAC_CONST(0.9996988186962043), f304);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
387 f307 = MUL_C(COEF_CONST(1.0242400472191164), f273);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
388 y[0] = f305 + f306;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
389 y[31] = f307 - f306;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
390 f310 = f279 + f277;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
391 f311 = MUL_F(FRAC_CONST(-0.8700688593994936), f279);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
392 f312 = MUL_F(FRAC_CONST(0.9924795345987100), f310);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
393 f313 = MUL_C(COEF_CONST(1.1148902097979263), f277);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
394 y[2] = f311 + f312;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
395 y[29] = f313 - f312;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
396 f316 = f283 + f281;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
397 f317 = MUL_F(FRAC_CONST(-0.7566008898816587), f283);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
398 f318 = MUL_F(FRAC_CONST(0.9757021300385286), f316);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
399 f319 = MUL_C(COEF_CONST(1.1948033701953984), f281);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
400 y[4] = f317 + f318;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
401 y[27] = f319 - f318;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
402 f322 = f287 + f285;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
403 f323 = MUL_F(FRAC_CONST(-0.6358464401941451), f287);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
404 f324 = MUL_F(FRAC_CONST(0.9495281805930367), f322);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
405 f325 = MUL_C(COEF_CONST(1.2632099209919283), f285);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
406 y[6] = f323 + f324;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
407 y[25] = f325 - f324;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
408 f328 = f291 + f289;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
409 f329 = MUL_F(FRAC_CONST(-0.5089684416985408), f291);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
410 f330 = MUL_F(FRAC_CONST(0.9142097557035307), f328);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
411 f331 = MUL_C(COEF_CONST(1.3194510697085207), f289);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
412 y[8] = f329 + f330;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
413 y[23] = f331 - f330;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
414 f334 = f295 + f293;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
415 f335 = MUL_F(FRAC_CONST(-0.3771887988789273), f295);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
416 f336 = MUL_F(FRAC_CONST(0.8700869911087114), f334);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
417 f337 = MUL_C(COEF_CONST(1.3629851833384954), f293);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
418 y[10] = f335 + f336;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
419 y[21] = f337 - f336;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
420 f340 = f299 + f297;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
421 f341 = MUL_F(FRAC_CONST(-0.2417766217337384), f299);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
422 f342 = MUL_F(FRAC_CONST(0.8175848131515837), f340);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
423 f343 = MUL_C(COEF_CONST(1.3933930045694289), f297);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
424 y[12] = f341 + f342;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
425 y[19] = f343 - f342;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
426 f346 = f303 + f301;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
427 f347 = MUL_F(FRAC_CONST(-0.1040360035527077), f303);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
428 f348 = MUL_F(FRAC_CONST(0.7572088465064845), f346);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
429 f349 = MUL_C(COEF_CONST(1.4103816894602612), f301);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
430 y[14] = f347 + f348;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
431 y[17] = f349 - f348;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
432 f352 = f274 + f272;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
433 f353 = MUL_F(FRAC_CONST(0.0347065382144002), f274);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
434 f354 = MUL_F(FRAC_CONST(0.6895405447370668), f352);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
435 f355 = MUL_C(COEF_CONST(1.4137876276885337), f272);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
436 y[16] = f353 + f354;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
437 y[15] = f355 - f354;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
438 f358 = f278 + f276;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
439 f359 = MUL_F(FRAC_CONST(0.1731148370459795), f278);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
440 f360 = MUL_F(FRAC_CONST(0.6152315905806268), f358);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
441 f361 = MUL_C(COEF_CONST(1.4035780182072330), f276);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
442 y[18] = f359 + f360;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
443 y[13] = f361 - f360;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
444 f364 = f282 + f280;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
445 f365 = MUL_F(FRAC_CONST(0.3098559453626100), f282);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
446 f366 = MUL_F(FRAC_CONST(0.5349976198870972), f364);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
447 f367 = MUL_C(COEF_CONST(1.3798511851368043), f280);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
448 y[20] = f365 + f366;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
449 y[11] = f367 - f366;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
450 f370 = f286 + f284;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
451 f371 = MUL_F(FRAC_CONST(0.4436129715409088), f286);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
452 f372 = MUL_F(FRAC_CONST(0.4496113296546065), f370);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
453 f373 = MUL_C(COEF_CONST(1.3428356308501219), f284);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
454 y[22] = f371 + f372;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
455 y[9] = f373 - f372;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
456 f376 = f290 + f288;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
457 f377 = MUL_F(FRAC_CONST(0.5730977622997509), f290);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
458 f378 = MUL_F(FRAC_CONST(0.3598950365349881), f376);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
459 f379 = MUL_C(COEF_CONST(1.2928878353697271), f288);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
460 y[24] = f377 + f378;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
461 y[7] = f379 - f378;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
462 f382 = f294 + f292;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
463 f383 = MUL_F(FRAC_CONST(0.6970633083205415), f294);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
464 f384 = MUL_F(FRAC_CONST(0.2667127574748984), f382);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
465 f385 = MUL_C(COEF_CONST(1.2304888232703382), f292);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
466 y[26] = f383 + f384;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
467 y[5] = f385 - f384;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
468 f388 = f298 + f296;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
469 f389 = MUL_F(FRAC_CONST(0.8143157536286401), f298);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
470 f390 = MUL_F(FRAC_CONST(0.1709618887603012), f388);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
471 f391 = MUL_C(COEF_CONST(1.1562395311492424), f296);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
472 y[28] = f389 + f390;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
473 y[3] = f391 - f390;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
474 f394 = f302 + f300;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
475 f395 = MUL_F(FRAC_CONST(0.9237258930790228), f302);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
476 f396 = MUL_F(FRAC_CONST(0.0735645635996674), f394);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
477 f397 = MUL_C(COEF_CONST(1.0708550202783576), f300);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
478 y[30] = f395 + f396;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
479 y[1] = f397 - f396;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
480 }
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
481
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
482 #ifdef SBR_LOW_POWER
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
483
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
484 void DCT2_16_unscaled(real_t *y, real_t *x)
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
485 {
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
486 real_t f0, f1, f2, f3, f4, f5, f6, f7, f8, f9, f10;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
487 real_t f11, f12, f13, f14, f15, f16, f17, f18, f19, f20;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
488 real_t f21, f22, f23, f24, f25, f26, f27, f28, f31, f32;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
489 real_t f33, f34, f37, f38, f39, f40, f41, f42, f43, f44;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
490 real_t f45, f46, f47, f48, f49, f51, f53, f54, f57, f58;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
491 real_t f59, f60, f61, f62, f63, f64, f65, f66, f67, f68;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
492 real_t f69, f70, f71, f72, f73, f74, f75, f76, f77, f78;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
493 real_t f79, f80, f81, f82, f83, f84, f85, f86, f87, f88;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
494 real_t f89, f90, f91, f92, f95, f96, f97, f98, f101, f102;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
495 real_t f103, f104, f107, f108, f109, f110;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
496
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
497 f0 = x[0] - x[15];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
498 f1 = x[0] + x[15];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
499 f2 = x[1] - x[14];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
500 f3 = x[1] + x[14];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
501 f4 = x[2] - x[13];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
502 f5 = x[2] + x[13];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
503 f6 = x[3] - x[12];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
504 f7 = x[3] + x[12];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
505 f8 = x[4] - x[11];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
506 f9 = x[4] + x[11];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
507 f10 = x[5] - x[10];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
508 f11 = x[5] + x[10];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
509 f12 = x[6] - x[9];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
510 f13 = x[6] + x[9];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
511 f14 = x[7] - x[8];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
512 f15 = x[7] + x[8];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
513 f16 = f1 - f15;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
514 f17 = f1 + f15;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
515 f18 = f3 - f13;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
516 f19 = f3 + f13;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
517 f20 = f5 - f11;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
518 f21 = f5 + f11;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
519 f22 = f7 - f9;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
520 f23 = f7 + f9;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
521 f24 = f17 - f23;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
522 f25 = f17 + f23;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
523 f26 = f19 - f21;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
524 f27 = f19 + f21;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
525 f28 = f25 - f27;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
526 y[0] = f25 + f27;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
527 y[8] = MUL_F(f28, FRAC_CONST(0.7071067811865476));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
528 f31 = f24 + f26;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
529 f32 = MUL_C(f24, COEF_CONST(1.3065629648763766));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
530 f33 = MUL_F(f31, FRAC_CONST(-0.9238795325112866));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
531 f34 = MUL_F(f26, FRAC_CONST(-0.5411961001461967));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
532 y[12] = f32 + f33;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
533 y[4] = f34 - f33;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
534 f37 = f16 + f22;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
535 f38 = MUL_C(f16, COEF_CONST(1.1758756024193588));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
536 f39 = MUL_F(f37, FRAC_CONST(-0.9807852804032304));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
537 f40 = MUL_F(f22, FRAC_CONST(-0.7856949583871021));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
538 f41 = f38 + f39;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
539 f42 = f40 - f39;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
540 f43 = f18 + f20;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
541 f44 = MUL_C(f18, COEF_CONST(1.3870398453221473));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
542 f45 = MUL_F(f43, FRAC_CONST(-0.8314696123025455));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
543 f46 = MUL_F(f20, FRAC_CONST(-0.2758993792829436));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
544 f47 = f44 + f45;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
545 f48 = f46 - f45;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
546 f49 = f42 - f48;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
547 y[2] = f42 + f48;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
548 f51 = MUL_F(f49, FRAC_CONST(0.7071067811865476));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
549 y[14] = f41 - f47;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
550 f53 = f41 + f47;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
551 f54 = MUL_F(f53, FRAC_CONST(0.7071067811865476));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
552 y[10] = f51 - f54;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
553 y[6] = f51 + f54;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
554 f57 = f2 - f4;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
555 f58 = f2 + f4;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
556 f59 = f6 - f8;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
557 f60 = f6 + f8;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
558 f61 = f10 - f12;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
559 f62 = f10 + f12;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
560 f63 = MUL_F(f60, FRAC_CONST(0.7071067811865476));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
561 f64 = f0 - f63;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
562 f65 = f0 + f63;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
563 f66 = f58 + f62;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
564 f67 = MUL_C(f58, COEF_CONST(1.3065629648763766));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
565 f68 = MUL_F(f66, FRAC_CONST(-0.9238795325112866));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
566 f69 = MUL_F(f62, FRAC_CONST(-0.5411961001461967));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
567 f70 = f67 + f68;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
568 f71 = f69 - f68;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
569 f72 = f65 - f71;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
570 f73 = f65 + f71;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
571 f74 = f64 - f70;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
572 f75 = f64 + f70;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
573 f76 = MUL_F(f59, FRAC_CONST(0.7071067811865476));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
574 f77 = f14 - f76;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
575 f78 = f14 + f76;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
576 f79 = f61 + f57;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
577 f80 = MUL_C(f61, COEF_CONST(1.3065629648763766));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
578 f81 = MUL_F(f79, FRAC_CONST(-0.9238795325112866));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
579 f82 = MUL_F(f57, FRAC_CONST(-0.5411961001461967));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
580 f83 = f80 + f81;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
581 f84 = f82 - f81;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
582 f85 = f78 - f84;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
583 f86 = f78 + f84;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
584 f87 = f77 - f83;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
585 f88 = f77 + f83;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
586 f89 = f86 + f73;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
587 f90 = MUL_F(f86, FRAC_CONST(-0.8971675863426361));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
588 f91 = MUL_F(f89, FRAC_CONST(0.9951847266721968));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
589 f92 = MUL_C(f73, COEF_CONST(1.0932018670017576));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
590 y[1] = f90 + f91;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
591 y[15] = f92 - f91;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
592 f95 = f75 - f88;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
593 f96 = MUL_F(f88, FRAC_CONST(-0.6666556584777466));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
594 f97 = MUL_F(f95, FRAC_CONST(0.9569403357322089));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
595 f98 = MUL_C(f75, COEF_CONST(1.2472250129866713));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
596 y[3] = f97 - f96;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
597 y[13] = f98 - f97;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
598 f101 = f87 + f74;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
599 f102 = MUL_F(f87, FRAC_CONST(-0.4105245275223571));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
600 f103 = MUL_F(f101, FRAC_CONST(0.8819212643483549));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
601 f104 = MUL_C(f74, COEF_CONST(1.3533180011743529));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
602 y[5] = f102 + f103;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
603 y[11] = f104 - f103;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
604 f107 = f72 - f85;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
605 f108 = MUL_F(f85, FRAC_CONST(-0.1386171691990915));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
606 f109 = MUL_F(f107, FRAC_CONST(0.7730104533627370));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
607 f110 = MUL_C(f72, COEF_CONST(1.4074037375263826));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
608 y[7] = f109 - f108;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
609 y[9] = f110 - f109;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
610 }
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
611
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
612 void DCT4_16(real_t *y, real_t *x)
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
613 {
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
614 real_t f0, f1, f2, f3, f4, f5, f6, f7, f8, f9, f10;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
615 real_t f11, f12, f13, f14, f15, f16, f17, f18, f19, f20;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
616 real_t f21, f22, f23, f24, f25, f26, f27, f28, f29, f30;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
617 real_t f31, f32, f33, f34, f35, f36, f37, f38, f39, f40;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
618 real_t f41, f42, f43, f44, f45, f46, f47, f48, f49, f50;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
619 real_t f51, f52, f53, f54, f55, f56, f57, f58, f59, f60;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
620 real_t f61, f62, f63, f64, f65, f66, f67, f68, f69, f70;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
621 real_t f71, f72, f73, f74, f75, f76, f77, f78, f79, f80;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
622 real_t f81, f82, f83, f84, f85, f86, f87, f88, f89, f90;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
623 real_t f91, f92, f93, f94, f95, f96, f97, f98, f99, f100;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
624 real_t f101, f102, f103, f104, f105, f106, f107, f108, f109, f110;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
625 real_t f111, f112, f113, f114, f115, f116, f117, f118, f119, f120;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
626 real_t f121, f122, f123, f124, f125, f126, f127, f128, f130, f132;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
627 real_t f134, f136, f138, f140, f142, f144, f145, f148, f149, f152;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
628 real_t f153, f156, f157;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
629
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
630 f0 = x[0] + x[15];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
631 f1 = MUL_C(COEF_CONST(1.0478631305325901), x[0]);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
632 f2 = MUL_F(FRAC_CONST(-0.9987954562051724), f0);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
633 f3 = MUL_F(FRAC_CONST(-0.9497277818777548), x[15]);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
634 f4 = f1 + f2;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
635 f5 = f3 - f2;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
636 f6 = x[2] + x[13];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
637 f7 = MUL_C(COEF_CONST(1.2130114330978077), x[2]);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
638 f8 = MUL_F(FRAC_CONST(-0.9700312531945440), f6);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
639 f9 = MUL_F(FRAC_CONST(-0.7270510732912803), x[13]);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
640 f10 = f7 + f8;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
641 f11 = f9 - f8;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
642 f12 = x[4] + x[11];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
643 f13 = MUL_C(COEF_CONST(1.3315443865537255), x[4]);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
644 f14 = MUL_F(FRAC_CONST(-0.9039892931234433), f12);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
645 f15 = MUL_F(FRAC_CONST(-0.4764341996931612), x[11]);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
646 f16 = f13 + f14;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
647 f17 = f15 - f14;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
648 f18 = x[6] + x[9];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
649 f19 = MUL_C(COEF_CONST(1.3989068359730781), x[6]);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
650 f20 = MUL_F(FRAC_CONST(-0.8032075314806453), f18);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
651 f21 = MUL_F(FRAC_CONST(-0.2075082269882124), x[9]);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
652 f22 = f19 + f20;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
653 f23 = f21 - f20;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
654 f24 = x[8] + x[7];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
655 f25 = MUL_C(COEF_CONST(1.4125100802019777), x[8]);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
656 f26 = MUL_F(FRAC_CONST(-0.6715589548470187), f24);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
657 f27 = MUL_F(FRAC_CONST(0.0693921705079402), x[7]);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
658 f28 = f25 + f26;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
659 f29 = f27 - f26;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
660 f30 = x[10] + x[5];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
661 f31 = MUL_C(COEF_CONST(1.3718313541934939), x[10]);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
662 f32 = MUL_F(FRAC_CONST(-0.5141027441932219), f30);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
663 f33 = MUL_F(FRAC_CONST(0.3436258658070501), x[5]);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
664 f34 = f31 + f32;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
665 f35 = f33 - f32;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
666 f36 = x[12] + x[3];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
667 f37 = MUL_C(COEF_CONST(1.2784339185752409), x[12]);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
668 f38 = MUL_F(FRAC_CONST(-0.3368898533922200), f36);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
669 f39 = MUL_F(FRAC_CONST(0.6046542117908008), x[3]);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
670 f40 = f37 + f38;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
671 f41 = f39 - f38;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
672 f42 = x[14] + x[1];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
673 f43 = MUL_C(COEF_CONST(1.1359069844201433), x[14]);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
674 f44 = MUL_F(FRAC_CONST(-0.1467304744553624), f42);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
675 f45 = MUL_F(FRAC_CONST(0.8424460355094185), x[1]);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
676 f46 = f43 + f44;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
677 f47 = f45 - f44;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
678 f48 = f5 - f29;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
679 f49 = f5 + f29;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
680 f50 = f4 - f28;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
681 f51 = f4 + f28;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
682 f52 = f11 - f35;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
683 f53 = f11 + f35;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
684 f54 = f10 - f34;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
685 f55 = f10 + f34;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
686 f56 = f17 - f41;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
687 f57 = f17 + f41;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
688 f58 = f16 - f40;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
689 f59 = f16 + f40;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
690 f60 = f23 - f47;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
691 f61 = f23 + f47;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
692 f62 = f22 - f46;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
693 f63 = f22 + f46;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
694 f64 = f48 + f50;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
695 f65 = MUL_C(COEF_CONST(1.1758756024193588), f48);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
696 f66 = MUL_F(FRAC_CONST(-0.9807852804032304), f64);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
697 f67 = MUL_F(FRAC_CONST(-0.7856949583871021), f50);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
698 f68 = f65 + f66;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
699 f69 = f67 - f66;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
700 f70 = f52 + f54;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
701 f71 = MUL_C(COEF_CONST(1.3870398453221475), f52);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
702 f72 = MUL_F(FRAC_CONST(-0.5555702330196022), f70);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
703 f73 = MUL_F(FRAC_CONST(0.2758993792829431), f54);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
704 f74 = f71 + f72;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
705 f75 = f73 - f72;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
706 f76 = f56 + f58;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
707 f77 = MUL_F(FRAC_CONST(0.7856949583871022), f56);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
708 f78 = MUL_F(FRAC_CONST(0.1950903220161283), f76);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
709 f79 = MUL_C(COEF_CONST(1.1758756024193586), f58);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
710 f80 = f77 + f78;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
711 f81 = f79 - f78;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
712 f82 = f60 + f62;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
713 f83 = MUL_F(FRAC_CONST(-0.2758993792829430), f60);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
714 f84 = MUL_F(FRAC_CONST(0.8314696123025452), f82);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
715 f85 = MUL_C(COEF_CONST(1.3870398453221475), f62);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
716 f86 = f83 + f84;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
717 f87 = f85 - f84;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
718 f88 = f49 - f57;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
719 f89 = f49 + f57;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
720 f90 = f51 - f59;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
721 f91 = f51 + f59;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
722 f92 = f53 - f61;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
723 f93 = f53 + f61;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
724 f94 = f55 - f63;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
725 f95 = f55 + f63;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
726 f96 = f69 - f81;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
727 f97 = f69 + f81;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
728 f98 = f68 - f80;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
729 f99 = f68 + f80;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
730 f100 = f75 - f87;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
731 f101 = f75 + f87;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
732 f102 = f74 - f86;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
733 f103 = f74 + f86;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
734 f104 = f88 + f90;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
735 f105 = MUL_C(COEF_CONST(1.3065629648763766), f88);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
736 f106 = MUL_F(FRAC_CONST(-0.9238795325112866), f104);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
737 f107 = MUL_F(FRAC_CONST(-0.5411961001461967), f90);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
738 f108 = f105 + f106;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
739 f109 = f107 - f106;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
740 f110 = f92 + f94;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
741 f111 = MUL_F(FRAC_CONST(0.5411961001461969), f92);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
742 f112 = MUL_F(FRAC_CONST(0.3826834323650898), f110);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
743 f113 = MUL_C(COEF_CONST(1.3065629648763766), f94);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
744 f114 = f111 + f112;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
745 f115 = f113 - f112;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
746 f116 = f96 + f98;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
747 f117 = MUL_C(COEF_CONST(1.3065629648763766), f96);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
748 f118 = MUL_F(FRAC_CONST(-0.9238795325112866), f116);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
749 f119 = MUL_F(FRAC_CONST(-0.5411961001461967), f98);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
750 f120 = f117 + f118;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
751 f121 = f119 - f118;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
752 f122 = f100 + f102;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
753 f123 = MUL_F(FRAC_CONST(0.5411961001461969), f100);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
754 f124 = MUL_F(FRAC_CONST(0.3826834323650898), f122);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
755 f125 = MUL_C(COEF_CONST(1.3065629648763766), f102);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
756 f126 = f123 + f124;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
757 f127 = f125 - f124;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
758 f128 = f89 - f93;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
759 y[0] = f89 + f93;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
760 f130 = f91 - f95;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
761 y[15] = f91 + f95;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
762 f132 = f109 - f115;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
763 y[3] = f109 + f115;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
764 f134 = f108 - f114;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
765 y[12] = f108 + f114;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
766 f136 = f97 - f101;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
767 y[1] = f97 + f101;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
768 f138 = f99 - f103;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
769 y[14] = f99 + f103;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
770 f140 = f121 - f127;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
771 y[2] = f121 + f127;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
772 f142 = f120 - f126;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
773 y[13] = f120 + f126;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
774 f144 = f128 - f130;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
775 f145 = f128 + f130;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
776 y[8] = MUL_F(FRAC_CONST(0.7071067811865474), f144);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
777 y[7] = MUL_F(FRAC_CONST(0.7071067811865474), f145);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
778 f148 = f132 - f134;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
779 f149 = f132 + f134;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
780 y[11] = MUL_F(FRAC_CONST(0.7071067811865474), f148);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
781 y[4] = MUL_F(FRAC_CONST(0.7071067811865474), f149);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
782 f152 = f136 - f138;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
783 f153 = f136 + f138;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
784 y[9] = MUL_F(FRAC_CONST(0.7071067811865474), f152);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
785 y[6] = MUL_F(FRAC_CONST(0.7071067811865474), f153);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
786 f156 = f140 - f142;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
787 f157 = f140 + f142;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
788 y[10] = MUL_F(FRAC_CONST(0.7071067811865474), f156);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
789 y[5] = MUL_F(FRAC_CONST(0.7071067811865474), f157);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
790 }
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
791
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
792 void DCT3_32_unscaled(real_t *y, real_t *x)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
793 {
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
794 real_t f0, f1, f2, f3, f4, f5, f6, f7, f8, f9, f10;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
795 real_t f11, f12, f13, f14, f15, f16, f17, f18, f19, f20;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
796 real_t f21, f22, f23, f24, f25, f26, f27, f28, f29, f30;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
797 real_t f31, f32, f33, f34, f35, f36, f37, f38, f39, f40;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
798 real_t f41, f42, f43, f44, f45, f46, f47, f48, f49, f50;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
799 real_t f51, f52, f53, f54, f55, f56, f57, f58, f59, f60;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
800 real_t f61, f62, f63, f64, f65, f66, f67, f68, f69, f70;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
801 real_t f71, f72, f73, f74, f75, f76, f77, f78, f79, f80;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
802 real_t f81, f82, f83, f84, f85, f86, f87, f88, f89, f90;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
803 real_t f91, f92, f93, f94, f95, f96, f97, f98, f99, f100;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
804 real_t f101, f102, f103, f104, f105, f106, f107, f108, f109, f110;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
805 real_t f111, f112, f113, f114, f115, f116, f117, f118, f119, f120;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
806 real_t f121, f122, f123, f124, f125, f126, f127, f128, f129, f130;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
807 real_t f131, f132, f133, f134, f135, f136, f137, f138, f139, f140;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
808 real_t f141, f142, f143, f144, f145, f146, f147, f148, f149, f150;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
809 real_t f151, f152, f153, f154, f155, f156, f157, f158, f159, f160;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
810 real_t f161, f162, f163, f164, f165, f166, f167, f168, f169, f170;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
811 real_t f171, f172, f173, f174, f175, f176, f177, f178, f179, f180;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
812 real_t f181, f182, f183, f184, f185, f186, f187, f188, f189, f190;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
813 real_t f191, f192, f193, f194, f195, f196, f197, f198, f199, f200;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
814 real_t f201, f202, f203, f204, f205, f206, f207, f208, f209, f210;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
815 real_t f211, f212, f213, f214, f215, f216, f217, f218, f219, f220;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
816 real_t f221, f222, f223, f224, f225, f226, f227, f228, f229, f230;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
817 real_t f231, f232, f233, f234, f235, f236, f237, f238, f239, f240;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
818 real_t f241, f242, f243, f244, f245, f246, f247, f248, f249, f250;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
819 real_t f251, f252, f253, f254, f255, f256, f257, f258, f259, f260;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
820 real_t f261, f262, f263, f264, f265, f266, f267, f268, f269, f270;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
821 real_t f271, f272;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
822
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
823 f0 = MUL_F(x[16], FRAC_CONST(0.7071067811865476));
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
824 f1 = x[0] - f0;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
825 f2 = x[0] + f0;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
826 f3 = x[8] + x[24];
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
827 f4 = MUL_C(x[8], COEF_CONST(1.3065629648763766));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
828 f5 = MUL_F(f3, FRAC_CONST((-0.9238795325112866)));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
829 f6 = MUL_F(x[24], FRAC_CONST((-0.5411961001461967)));
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
830 f7 = f4 + f5;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
831 f8 = f6 - f5;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
832 f9 = f2 - f8;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
833 f10 = f2 + f8;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
834 f11 = f1 - f7;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
835 f12 = f1 + f7;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
836 f13 = x[4] + x[28];
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
837 f14 = MUL_C(x[4], COEF_CONST(1.1758756024193588));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
838 f15 = MUL_F(f13, FRAC_CONST((-0.9807852804032304)));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
839 f16 = MUL_F(x[28], FRAC_CONST((-0.7856949583871021)));
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
840 f17 = f14 + f15;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
841 f18 = f16 - f15;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
842 f19 = x[12] + x[20];
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
843 f20 = MUL_C(x[12], COEF_CONST(1.3870398453221473));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
844 f21 = MUL_F(f19, FRAC_CONST((-0.8314696123025455)));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
845 f22 = MUL_F(x[20], FRAC_CONST((-0.2758993792829436)));
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
846 f23 = f20 + f21;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
847 f24 = f22 - f21;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
848 f25 = f18 - f24;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
849 f26 = f18 + f24;
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
850 f27 = MUL_F(f25, FRAC_CONST(0.7071067811865476));
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
851 f28 = f17 - f23;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
852 f29 = f17 + f23;
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
853 f30 = MUL_F(f29, FRAC_CONST(0.7071067811865476));
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
854 f31 = f27 - f30;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
855 f32 = f27 + f30;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
856 f33 = f10 - f26;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
857 f34 = f10 + f26;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
858 f35 = f12 - f32;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
859 f36 = f12 + f32;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
860 f37 = f11 - f31;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
861 f38 = f11 + f31;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
862 f39 = f9 - f28;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
863 f40 = f9 + f28;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
864 f41 = x[2] + x[30];
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
865 f42 = MUL_C(x[2], COEF_CONST(1.0932018670017569));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
866 f43 = MUL_F(f41, FRAC_CONST((-0.9951847266721969)));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
867 f44 = MUL_F(x[30], FRAC_CONST((-0.8971675863426368)));
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
868 f45 = f42 + f43;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
869 f46 = f44 - f43;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
870 f47 = x[6] + x[26];
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
871 f48 = MUL_C(x[6], COEF_CONST(1.2472250129866711));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
872 f49 = MUL_F(f47, FRAC_CONST((-0.9569403357322089)));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
873 f50 = MUL_F(x[26], FRAC_CONST((-0.6666556584777469)));
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
874 f51 = f48 + f49;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
875 f52 = f50 - f49;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
876 f53 = x[10] + x[22];
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
877 f54 = MUL_C(x[10], COEF_CONST(1.3533180011743526));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
878 f55 = MUL_F(f53, FRAC_CONST((-0.8819212643483551)));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
879 f56 = MUL_F(x[22], FRAC_CONST((-0.4105245275223575)));
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
880 f57 = f54 + f55;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
881 f58 = f56 - f55;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
882 f59 = x[14] + x[18];
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
883 f60 = MUL_C(x[14], COEF_CONST(1.4074037375263826));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
884 f61 = MUL_F(f59, FRAC_CONST((-0.7730104533627369)));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
885 f62 = MUL_F(x[18], FRAC_CONST((-0.1386171691990913)));
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
886 f63 = f60 + f61;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
887 f64 = f62 - f61;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
888 f65 = f46 - f64;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
889 f66 = f46 + f64;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
890 f67 = f52 - f58;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
891 f68 = f52 + f58;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
892 f69 = f66 - f68;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
893 f70 = f66 + f68;
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
894 f71 = MUL_F(f69, FRAC_CONST(0.7071067811865476));
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
895 f72 = f65 + f67;
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
896 f73 = MUL_C(f65, COEF_CONST(1.3065629648763766));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
897 f74 = MUL_F(f72, FRAC_CONST((-0.9238795325112866)));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
898 f75 = MUL_F(f67, FRAC_CONST((-0.5411961001461967)));
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
899 f76 = f73 + f74;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
900 f77 = f75 - f74;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
901 f78 = f45 - f63;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
902 f79 = f45 + f63;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
903 f80 = f51 - f57;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
904 f81 = f51 + f57;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
905 f82 = f79 + f81;
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
906 f83 = MUL_C(f79, COEF_CONST(1.3065629648763770));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
907 f84 = MUL_F(f82, FRAC_CONST((-0.3826834323650904)));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
908 f85 = MUL_F(f81, FRAC_CONST(0.5411961001461961));
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
909 f86 = f83 + f84;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
910 f87 = f85 - f84;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
911 f88 = f78 - f80;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
912 f89 = f78 + f80;
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
913 f90 = MUL_F(f89, FRAC_CONST(0.7071067811865476));
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
914 f91 = f77 - f87;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
915 f92 = f77 + f87;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
916 f93 = f71 - f90;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
917 f94 = f71 + f90;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
918 f95 = f76 - f86;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
919 f96 = f76 + f86;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
920 f97 = f34 - f70;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
921 f98 = f34 + f70;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
922 f99 = f36 - f92;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
923 f100 = f36 + f92;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
924 f101 = f38 - f91;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
925 f102 = f38 + f91;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
926 f103 = f40 - f94;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
927 f104 = f40 + f94;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
928 f105 = f39 - f93;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
929 f106 = f39 + f93;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
930 f107 = f37 - f96;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
931 f108 = f37 + f96;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
932 f109 = f35 - f95;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
933 f110 = f35 + f95;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
934 f111 = f33 - f88;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
935 f112 = f33 + f88;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
936 f113 = x[1] + x[31];
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
937 f114 = MUL_C(x[1], COEF_CONST(1.0478631305325901));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
938 f115 = MUL_F(f113, FRAC_CONST((-0.9987954562051724)));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
939 f116 = MUL_F(x[31], FRAC_CONST((-0.9497277818777548)));
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
940 f117 = f114 + f115;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
941 f118 = f116 - f115;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
942 f119 = x[5] + x[27];
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
943 f120 = MUL_C(x[5], COEF_CONST(1.2130114330978077));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
944 f121 = MUL_F(f119, FRAC_CONST((-0.9700312531945440)));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
945 f122 = MUL_F(x[27], FRAC_CONST((-0.7270510732912803)));
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
946 f123 = f120 + f121;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
947 f124 = f122 - f121;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
948 f125 = x[9] + x[23];
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
949 f126 = MUL_C(x[9], COEF_CONST(1.3315443865537255));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
950 f127 = MUL_F(f125, FRAC_CONST((-0.9039892931234433)));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
951 f128 = MUL_F(x[23], FRAC_CONST((-0.4764341996931612)));
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
952 f129 = f126 + f127;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
953 f130 = f128 - f127;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
954 f131 = x[13] + x[19];
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
955 f132 = MUL_C(x[13], COEF_CONST(1.3989068359730781));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
956 f133 = MUL_F(f131, FRAC_CONST((-0.8032075314806453)));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
957 f134 = MUL_F(x[19], FRAC_CONST((-0.2075082269882124)));
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
958 f135 = f132 + f133;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
959 f136 = f134 - f133;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
960 f137 = x[17] + x[15];
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
961 f138 = MUL_C(x[17], COEF_CONST(1.4125100802019777));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
962 f139 = MUL_F(f137, FRAC_CONST((-0.6715589548470187)));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
963 f140 = MUL_F(x[15], FRAC_CONST(0.0693921705079402));
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
964 f141 = f138 + f139;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
965 f142 = f140 - f139;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
966 f143 = x[21] + x[11];
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
967 f144 = MUL_C(x[21], COEF_CONST(1.3718313541934939));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
968 f145 = MUL_F(f143, FRAC_CONST((-0.5141027441932219)));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
969 f146 = MUL_F(x[11], FRAC_CONST(0.3436258658070501));
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
970 f147 = f144 + f145;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
971 f148 = f146 - f145;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
972 f149 = x[25] + x[7];
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
973 f150 = MUL_C(x[25], COEF_CONST(1.2784339185752409));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
974 f151 = MUL_F(f149, FRAC_CONST((-0.3368898533922200)));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
975 f152 = MUL_F(x[7], FRAC_CONST(0.6046542117908008));
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
976 f153 = f150 + f151;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
977 f154 = f152 - f151;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
978 f155 = x[29] + x[3];
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
979 f156 = MUL_C(x[29], COEF_CONST(1.1359069844201433));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
980 f157 = MUL_F(f155, FRAC_CONST((-0.1467304744553624)));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
981 f158 = MUL_F(x[3], FRAC_CONST(0.8424460355094185));
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
982 f159 = f156 + f157;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
983 f160 = f158 - f157;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
984 f161 = f118 - f142;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
985 f162 = f118 + f142;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
986 f163 = f117 - f141;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
987 f164 = f117 + f141;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
988 f165 = f124 - f148;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
989 f166 = f124 + f148;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
990 f167 = f123 - f147;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
991 f168 = f123 + f147;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
992 f169 = f130 - f154;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
993 f170 = f130 + f154;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
994 f171 = f129 - f153;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
995 f172 = f129 + f153;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
996 f173 = f136 - f160;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
997 f174 = f136 + f160;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
998 f175 = f135 - f159;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
999 f176 = f135 + f159;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1000 f177 = f161 + f163;
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1001 f178 = MUL_C(f161, COEF_CONST(1.1758756024193588));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1002 f179 = MUL_F(f177, FRAC_CONST((-0.9807852804032304)));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1003 f180 = MUL_F(f163, FRAC_CONST((-0.7856949583871021)));
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1004 f181 = f178 + f179;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1005 f182 = f180 - f179;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1006 f183 = f165 + f167;
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1007 f184 = MUL_C(f165, COEF_CONST(1.3870398453221475));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1008 f185 = MUL_F(f183, FRAC_CONST((-0.5555702330196022)));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1009 f186 = MUL_F(f167, FRAC_CONST(0.2758993792829431));
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1010 f187 = f184 + f185;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1011 f188 = f186 - f185;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1012 f189 = f169 + f171;
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1013 f190 = MUL_F(f169, FRAC_CONST(0.7856949583871022));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1014 f191 = MUL_F(f189, FRAC_CONST(0.1950903220161283));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1015 f192 = MUL_C(f171, COEF_CONST(1.1758756024193586));
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1016 f193 = f190 + f191;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1017 f194 = f192 - f191;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1018 f195 = f173 + f175;
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1019 f196 = MUL_F(f173, FRAC_CONST((-0.2758993792829430)));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1020 f197 = MUL_F(f195, FRAC_CONST(0.8314696123025452));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1021 f198 = MUL_C(f175, COEF_CONST(1.3870398453221475));
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1022 f199 = f196 + f197;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1023 f200 = f198 - f197;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1024 f201 = f162 - f170;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1025 f202 = f162 + f170;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1026 f203 = f164 - f172;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1027 f204 = f164 + f172;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1028 f205 = f166 - f174;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1029 f206 = f166 + f174;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1030 f207 = f168 - f176;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1031 f208 = f168 + f176;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1032 f209 = f182 - f194;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1033 f210 = f182 + f194;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1034 f211 = f181 - f193;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1035 f212 = f181 + f193;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1036 f213 = f188 - f200;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1037 f214 = f188 + f200;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1038 f215 = f187 - f199;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1039 f216 = f187 + f199;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1040 f217 = f201 + f203;
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1041 f218 = MUL_C(f201, COEF_CONST(1.3065629648763766));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1042 f219 = MUL_F(f217, FRAC_CONST((-0.9238795325112866)));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1043 f220 = MUL_F(f203, FRAC_CONST((-0.5411961001461967)));
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1044 f221 = f218 + f219;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1045 f222 = f220 - f219;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1046 f223 = f205 + f207;
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1047 f224 = MUL_F(f205, FRAC_CONST(0.5411961001461969));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1048 f225 = MUL_F(f223, FRAC_CONST(0.3826834323650898));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1049 f226 = MUL_C(f207, COEF_CONST(1.3065629648763766));
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1050 f227 = f224 + f225;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1051 f228 = f226 - f225;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1052 f229 = f209 + f211;
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1053 f230 = MUL_C(f209, COEF_CONST(1.3065629648763766));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1054 f231 = MUL_F(f229, FRAC_CONST((-0.9238795325112866)));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1055 f232 = MUL_F(f211, FRAC_CONST((-0.5411961001461967)));
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1056 f233 = f230 + f231;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1057 f234 = f232 - f231;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1058 f235 = f213 + f215;
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1059 f236 = MUL_F(f213, FRAC_CONST(0.5411961001461969));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1060 f237 = MUL_F(f235, FRAC_CONST(0.3826834323650898));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1061 f238 = MUL_C(f215, COEF_CONST(1.3065629648763766));
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1062 f239 = f236 + f237;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1063 f240 = f238 - f237;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1064 f241 = f202 - f206;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1065 f242 = f202 + f206;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1066 f243 = f204 - f208;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1067 f244 = f204 + f208;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1068 f245 = f222 - f228;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1069 f246 = f222 + f228;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1070 f247 = f221 - f227;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1071 f248 = f221 + f227;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1072 f249 = f210 - f214;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1073 f250 = f210 + f214;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1074 f251 = f212 - f216;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1075 f252 = f212 + f216;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1076 f253 = f234 - f240;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1077 f254 = f234 + f240;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1078 f255 = f233 - f239;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1079 f256 = f233 + f239;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1080 f257 = f241 - f243;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1081 f258 = f241 + f243;
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1082 f259 = MUL_F(f257, FRAC_CONST(0.7071067811865474));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1083 f260 = MUL_F(f258, FRAC_CONST(0.7071067811865474));
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1084 f261 = f245 - f247;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1085 f262 = f245 + f247;
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1086 f263 = MUL_F(f261, FRAC_CONST(0.7071067811865474));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1087 f264 = MUL_F(f262, FRAC_CONST(0.7071067811865474));
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1088 f265 = f249 - f251;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1089 f266 = f249 + f251;
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1090 f267 = MUL_F(f265, FRAC_CONST(0.7071067811865474));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1091 f268 = MUL_F(f266, FRAC_CONST(0.7071067811865474));
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1092 f269 = f253 - f255;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1093 f270 = f253 + f255;
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1094 f271 = MUL_F(f269, FRAC_CONST(0.7071067811865474));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1095 f272 = MUL_F(f270, FRAC_CONST(0.7071067811865474));
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1096 y[31] = f98 - f242;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1097 y[0] = f98 + f242;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1098 y[30] = f100 - f250;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1099 y[1] = f100 + f250;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1100 y[29] = f102 - f254;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1101 y[2] = f102 + f254;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1102 y[28] = f104 - f246;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1103 y[3] = f104 + f246;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1104 y[27] = f106 - f264;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1105 y[4] = f106 + f264;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1106 y[26] = f108 - f272;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1107 y[5] = f108 + f272;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1108 y[25] = f110 - f268;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1109 y[6] = f110 + f268;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1110 y[24] = f112 - f260;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1111 y[7] = f112 + f260;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1112 y[23] = f111 - f259;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1113 y[8] = f111 + f259;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1114 y[22] = f109 - f267;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1115 y[9] = f109 + f267;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1116 y[21] = f107 - f271;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1117 y[10] = f107 + f271;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1118 y[20] = f105 - f263;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1119 y[11] = f105 + f263;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1120 y[19] = f103 - f248;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1121 y[12] = f103 + f248;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1122 y[18] = f101 - f256;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1123 y[13] = f101 + f256;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1124 y[17] = f99 - f252;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1125 y[14] = f99 + f252;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1126 y[16] = f97 - f244;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1127 y[15] = f97 + f244;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1128 }
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1129
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1130 void DCT2_32_unscaled(real_t *y, real_t *x)
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1131 {
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1132 real_t f0, f1, f2, f3, f4, f5, f6, f7, f8, f9, f10;
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1133 real_t f11, f12, f13, f14, f15, f16, f17, f18, f19, f20;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1134 real_t f21, f22, f23, f24, f25, f26, f27, f28, f29, f30;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1135 real_t f31, f32, f33, f34, f35, f36, f37, f38, f39, f40;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1136 real_t f41, f42, f43, f44, f45, f46, f47, f48, f49, f50;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1137 real_t f51, f52, f53, f54, f55, f56, f57, f58, f59, f60;
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1138 real_t f63, f64, f65, f66, f69, f70, f71, f72, f73, f74;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1139 real_t f75, f76, f77, f78, f79, f80, f81, f83, f85, f86;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1140 real_t f89, f90, f91, f92, f93, f94, f95, f96, f97, f98;
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1141 real_t f99, f100, f101, f102, f103, f104, f105, f106, f107, f108;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1142 real_t f109, f110, f111, f112, f113, f114, f115, f116, f117, f118;
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1143 real_t f119, f120, f121, f122, f123, f124, f127, f128, f129, f130;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1144 real_t f133, f134, f135, f136, f139, f140, f141, f142, f145, f146;
12527
4a370c80fe5c update to the 2.0 release of faad, patch by adland
diego
parents: 10989
diff changeset
1145 real_t f147, f148, f149, f150, f151, f152, f153, f154, f155, f156;
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1146 real_t f157, f158, f159, f160, f161, f162, f163, f164, f165, f166;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1147 real_t f167, f168, f169, f170, f171, f172, f173, f174, f175, f176;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1148 real_t f177, f178, f179, f180, f181, f182, f183, f184, f185, f186;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1149 real_t f187, f188, f189, f190, f191, f192, f193, f194, f195, f196;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1150 real_t f197, f198, f199, f200, f201, f202, f203, f204, f205, f206;
12527
4a370c80fe5c update to the 2.0 release of faad, patch by adland
diego
parents: 10989
diff changeset
1151 real_t f207, f208, f209, f210, f211, f212, f213, f214, f215, f216;
4a370c80fe5c update to the 2.0 release of faad, patch by adland
diego
parents: 10989
diff changeset
1152 real_t f217, f218, f219, f220, f221, f222, f223, f224, f225, f226;
4a370c80fe5c update to the 2.0 release of faad, patch by adland
diego
parents: 10989
diff changeset
1153 real_t f227, f228, f229, f230, f231, f232, f233, f234, f235, f236;
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1154 real_t f237, f238, f239, f240, f241, f242, f243, f244, f247, f248;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1155 real_t f249, f250, f253, f254, f255, f256, f259, f260, f261, f262;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1156 real_t f265, f266, f267, f268, f271, f272, f273, f274, f277, f278;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1157 real_t f279, f280, f283, f284, f285, f286;
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1158
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1159 f0 = x[0] - x[31];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1160 f1 = x[0] + x[31];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1161 f2 = x[1] - x[30];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1162 f3 = x[1] + x[30];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1163 f4 = x[2] - x[29];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1164 f5 = x[2] + x[29];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1165 f6 = x[3] - x[28];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1166 f7 = x[3] + x[28];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1167 f8 = x[4] - x[27];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1168 f9 = x[4] + x[27];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1169 f10 = x[5] - x[26];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1170 f11 = x[5] + x[26];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1171 f12 = x[6] - x[25];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1172 f13 = x[6] + x[25];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1173 f14 = x[7] - x[24];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1174 f15 = x[7] + x[24];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1175 f16 = x[8] - x[23];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1176 f17 = x[8] + x[23];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1177 f18 = x[9] - x[22];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1178 f19 = x[9] + x[22];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1179 f20 = x[10] - x[21];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1180 f21 = x[10] + x[21];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1181 f22 = x[11] - x[20];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1182 f23 = x[11] + x[20];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1183 f24 = x[12] - x[19];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1184 f25 = x[12] + x[19];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1185 f26 = x[13] - x[18];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1186 f27 = x[13] + x[18];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1187 f28 = x[14] - x[17];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1188 f29 = x[14] + x[17];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1189 f30 = x[15] - x[16];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1190 f31 = x[15] + x[16];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1191 f32 = f1 - f31;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1192 f33 = f1 + f31;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1193 f34 = f3 - f29;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1194 f35 = f3 + f29;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1195 f36 = f5 - f27;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1196 f37 = f5 + f27;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1197 f38 = f7 - f25;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1198 f39 = f7 + f25;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1199 f40 = f9 - f23;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1200 f41 = f9 + f23;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1201 f42 = f11 - f21;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1202 f43 = f11 + f21;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1203 f44 = f13 - f19;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1204 f45 = f13 + f19;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1205 f46 = f15 - f17;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1206 f47 = f15 + f17;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1207 f48 = f33 - f47;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1208 f49 = f33 + f47;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1209 f50 = f35 - f45;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1210 f51 = f35 + f45;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1211 f52 = f37 - f43;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1212 f53 = f37 + f43;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1213 f54 = f39 - f41;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1214 f55 = f39 + f41;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1215 f56 = f49 - f55;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1216 f57 = f49 + f55;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1217 f58 = f51 - f53;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1218 f59 = f51 + f53;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1219 f60 = f57 - f59;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1220 y[0] = f57 + f59;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1221 y[16] = MUL_F(FRAC_CONST(0.7071067811865476), f60);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1222 f63 = f56 + f58;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1223 f64 = MUL_C(COEF_CONST(1.3065629648763766), f56);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1224 f65 = MUL_F(FRAC_CONST(-0.9238795325112866), f63);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1225 f66 = MUL_F(FRAC_CONST(-0.5411961001461967), f58);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1226 y[24] = f64 + f65;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1227 y[8] = f66 - f65;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1228 f69 = f48 + f54;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1229 f70 = MUL_C(COEF_CONST(1.1758756024193588), f48);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1230 f71 = MUL_F(FRAC_CONST(-0.9807852804032304), f69);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1231 f72 = MUL_F(FRAC_CONST(-0.7856949583871021), f54);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1232 f73 = f70 + f71;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1233 f74 = f72 - f71;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1234 f75 = f50 + f52;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1235 f76 = MUL_C(COEF_CONST(1.3870398453221473), f50);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1236 f77 = MUL_F(FRAC_CONST(-0.8314696123025455), f75);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1237 f78 = MUL_F(FRAC_CONST(-0.2758993792829436), f52);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1238 f79 = f76 + f77;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1239 f80 = f78 - f77;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1240 f81 = f74 - f80;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1241 y[4] = f74 + f80;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1242 f83 = MUL_F(FRAC_CONST(0.7071067811865476), f81);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1243 y[28] = f73 - f79;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1244 f85 = f73 + f79;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1245 f86 = MUL_F(FRAC_CONST(0.7071067811865476), f85);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1246 y[20] = f83 - f86;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1247 y[12] = f83 + f86;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1248 f89 = f34 - f36;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1249 f90 = f34 + f36;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1250 f91 = f38 - f40;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1251 f92 = f38 + f40;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1252 f93 = f42 - f44;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1253 f94 = f42 + f44;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1254 f95 = MUL_F(FRAC_CONST(0.7071067811865476), f92);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1255 f96 = f32 - f95;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1256 f97 = f32 + f95;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1257 f98 = f90 + f94;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1258 f99 = MUL_C(COEF_CONST(1.3065629648763766), f90);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1259 f100 = MUL_F(FRAC_CONST(-0.9238795325112866), f98);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1260 f101 = MUL_F(FRAC_CONST(-0.5411961001461967), f94);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1261 f102 = f99 + f100;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1262 f103 = f101 - f100;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1263 f104 = f97 - f103;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1264 f105 = f97 + f103;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1265 f106 = f96 - f102;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1266 f107 = f96 + f102;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1267 f108 = MUL_F(FRAC_CONST(0.7071067811865476), f91);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1268 f109 = f46 - f108;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1269 f110 = f46 + f108;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1270 f111 = f93 + f89;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1271 f112 = MUL_C(COEF_CONST(1.3065629648763766), f93);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1272 f113 = MUL_F(FRAC_CONST(-0.9238795325112866), f111);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1273 f114 = MUL_F(FRAC_CONST(-0.5411961001461967), f89);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1274 f115 = f112 + f113;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1275 f116 = f114 - f113;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1276 f117 = f110 - f116;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1277 f118 = f110 + f116;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1278 f119 = f109 - f115;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1279 f120 = f109 + f115;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1280 f121 = f118 + f105;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1281 f122 = MUL_F(FRAC_CONST(-0.8971675863426361), f118);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1282 f123 = MUL_F(FRAC_CONST(0.9951847266721968), f121);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1283 f124 = MUL_C(COEF_CONST(1.0932018670017576), f105);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1284 y[2] = f122 + f123;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1285 y[30] = f124 - f123;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1286 f127 = f107 - f120;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1287 f128 = MUL_F(FRAC_CONST(-0.6666556584777466), f120);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1288 f129 = MUL_F(FRAC_CONST(0.9569403357322089), f127);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1289 f130 = MUL_C(COEF_CONST(1.2472250129866713), f107);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1290 y[6] = f129 - f128;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1291 y[26] = f130 - f129;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1292 f133 = f119 + f106;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1293 f134 = MUL_F(FRAC_CONST(-0.4105245275223571), f119);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1294 f135 = MUL_F(FRAC_CONST(0.8819212643483549), f133);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1295 f136 = MUL_C(COEF_CONST(1.3533180011743529), f106);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1296 y[10] = f134 + f135;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1297 y[22] = f136 - f135;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1298 f139 = f104 - f117;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1299 f140 = MUL_F(FRAC_CONST(-0.1386171691990915), f117);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1300 f141 = MUL_F(FRAC_CONST(0.7730104533627370), f139);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1301 f142 = MUL_C(COEF_CONST(1.4074037375263826), f104);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1302 y[14] = f141 - f140;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1303 y[18] = f142 - f141;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1304 f145 = f2 - f4;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1305 f146 = f2 + f4;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1306 f147 = f6 - f8;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1307 f148 = f6 + f8;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1308 f149 = f10 - f12;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1309 f150 = f10 + f12;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1310 f151 = f14 - f16;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1311 f152 = f14 + f16;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1312 f153 = f18 - f20;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1313 f154 = f18 + f20;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1314 f155 = f22 - f24;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1315 f156 = f22 + f24;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1316 f157 = f26 - f28;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1317 f158 = f26 + f28;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1318 f159 = MUL_F(FRAC_CONST(0.7071067811865476), f152);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1319 f160 = f0 - f159;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1320 f161 = f0 + f159;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1321 f162 = f148 + f156;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1322 f163 = MUL_C(COEF_CONST(1.3065629648763766), f148);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1323 f164 = MUL_F(FRAC_CONST(-0.9238795325112866), f162);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1324 f165 = MUL_F(FRAC_CONST(-0.5411961001461967), f156);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1325 f166 = f163 + f164;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1326 f167 = f165 - f164;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1327 f168 = f161 - f167;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1328 f169 = f161 + f167;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1329 f170 = f160 - f166;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1330 f171 = f160 + f166;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1331 f172 = f146 + f158;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1332 f173 = MUL_C(COEF_CONST(1.1758756024193588), f146);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1333 f174 = MUL_F(FRAC_CONST(-0.9807852804032304), f172);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1334 f175 = MUL_F(FRAC_CONST(-0.7856949583871021), f158);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1335 f176 = f173 + f174;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1336 f177 = f175 - f174;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1337 f178 = f150 + f154;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1338 f179 = MUL_C(COEF_CONST(1.3870398453221473), f150);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1339 f180 = MUL_F(FRAC_CONST(-0.8314696123025455), f178);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1340 f181 = MUL_F(FRAC_CONST(-0.2758993792829436), f154);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1341 f182 = f179 + f180;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1342 f183 = f181 - f180;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1343 f184 = f177 - f183;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1344 f185 = f177 + f183;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1345 f186 = MUL_F(FRAC_CONST(0.7071067811865476), f184);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1346 f187 = f176 - f182;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1347 f188 = f176 + f182;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1348 f189 = MUL_F(FRAC_CONST(0.7071067811865476), f188);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1349 f190 = f186 - f189;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1350 f191 = f186 + f189;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1351 f192 = f169 - f185;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1352 f193 = f169 + f185;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1353 f194 = f171 - f191;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1354 f195 = f171 + f191;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1355 f196 = f170 - f190;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1356 f197 = f170 + f190;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1357 f198 = f168 - f187;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1358 f199 = f168 + f187;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1359 f200 = MUL_F(FRAC_CONST(0.7071067811865476), f151);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1360 f201 = f30 - f200;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1361 f202 = f30 + f200;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1362 f203 = f155 + f147;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1363 f204 = MUL_C(COEF_CONST(1.3065629648763766), f155);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1364 f205 = MUL_F(FRAC_CONST(-0.9238795325112866), f203);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1365 f206 = MUL_F(FRAC_CONST(-0.5411961001461967), f147);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1366 f207 = f204 + f205;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1367 f208 = f206 - f205;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1368 f209 = f202 - f208;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1369 f210 = f202 + f208;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1370 f211 = f201 - f207;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1371 f212 = f201 + f207;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1372 f213 = f157 + f145;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1373 f214 = MUL_C(COEF_CONST(1.1758756024193588), f157);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1374 f215 = MUL_F(FRAC_CONST(-0.9807852804032304), f213);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1375 f216 = MUL_F(FRAC_CONST(-0.7856949583871021), f145);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1376 f217 = f214 + f215;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1377 f218 = f216 - f215;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1378 f219 = f153 + f149;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1379 f220 = MUL_C(COEF_CONST(1.3870398453221473), f153);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1380 f221 = MUL_F(FRAC_CONST(-0.8314696123025455), f219);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1381 f222 = MUL_F(FRAC_CONST(-0.2758993792829436), f149);
12527
4a370c80fe5c update to the 2.0 release of faad, patch by adland
diego
parents: 10989
diff changeset
1382 f223 = f220 + f221;
4a370c80fe5c update to the 2.0 release of faad, patch by adland
diego
parents: 10989
diff changeset
1383 f224 = f222 - f221;
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1384 f225 = f218 - f224;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1385 f226 = f218 + f224;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1386 f227 = MUL_F(FRAC_CONST(0.7071067811865476), f225);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1387 f228 = f217 - f223;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1388 f229 = f217 + f223;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1389 f230 = MUL_F(FRAC_CONST(0.7071067811865476), f229);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1390 f231 = f227 - f230;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1391 f232 = f227 + f230;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1392 f233 = f210 - f226;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1393 f234 = f210 + f226;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1394 f235 = f212 - f232;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1395 f236 = f212 + f232;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1396 f237 = f211 - f231;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1397 f238 = f211 + f231;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1398 f239 = f209 - f228;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1399 f240 = f209 + f228;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1400 f241 = f234 + f193;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1401 f242 = MUL_F(FRAC_CONST(-0.9497277818777543), f234);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1402 f243 = MUL_F(FRAC_CONST(0.9987954562051724), f241);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1403 f244 = MUL_C(COEF_CONST(1.0478631305325905), f193);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1404 y[1] = f242 + f243;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1405 y[31] = f244 - f243;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1406 f247 = f195 - f236;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1407 f248 = MUL_F(FRAC_CONST(-0.8424460355094192), f236);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1408 f249 = MUL_F(FRAC_CONST(0.9891765099647810), f247);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1409 f250 = MUL_C(COEF_CONST(1.1359069844201428), f195);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1410 y[3] = f249 - f248;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1411 y[29] = f250 - f249;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1412 f253 = f238 + f197;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1413 f254 = MUL_F(FRAC_CONST(-0.7270510732912801), f238);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1414 f255 = MUL_F(FRAC_CONST(0.9700312531945440), f253);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1415 f256 = MUL_C(COEF_CONST(1.2130114330978079), f197);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1416 y[5] = f254 + f255;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1417 y[27] = f256 - f255;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1418 f259 = f199 - f240;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1419 f260 = MUL_F(FRAC_CONST(-0.6046542117908007), f240);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1420 f261 = MUL_F(FRAC_CONST(0.9415440651830208), f259);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1421 f262 = MUL_C(COEF_CONST(1.2784339185752409), f199);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1422 y[7] = f261 - f260;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1423 y[25] = f262 - f261;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1424 f265 = f239 + f198;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1425 f266 = MUL_F(FRAC_CONST(-0.4764341996931611), f239);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1426 f267 = MUL_F(FRAC_CONST(0.9039892931234433), f265);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1427 f268 = MUL_C(COEF_CONST(1.3315443865537255), f198);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1428 y[9] = f266 + f267;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1429 y[23] = f268 - f267;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1430 f271 = f196 - f237;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1431 f272 = MUL_F(FRAC_CONST(-0.3436258658070505), f237);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1432 f273 = MUL_F(FRAC_CONST(0.8577286100002721), f271);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1433 f274 = MUL_C(COEF_CONST(1.3718313541934939), f196);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1434 y[11] = f273 - f272;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1435 y[21] = f274 - f273;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1436 f277 = f235 + f194;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1437 f278 = MUL_F(FRAC_CONST(-0.2075082269882114), f235);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1438 f279 = MUL_F(FRAC_CONST(0.8032075314806448), f277);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1439 f280 = MUL_C(COEF_CONST(1.3989068359730783), f194);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1440 y[13] = f278 + f279;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1441 y[19] = f280 - f279;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1442 f283 = f192 - f233;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1443 f284 = MUL_F(FRAC_CONST(-0.0693921705079408), f233);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1444 f285 = MUL_F(FRAC_CONST(0.7409511253549591), f283);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1445 f286 = MUL_C(COEF_CONST(1.4125100802019774), f192);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1446 y[15] = f285 - f284;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1447 y[17] = f286 - f285;
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1448 }
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1449
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1450 #else
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1451
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1452
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1453 #define n 32
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1454 #define log2n 5
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1455
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1456 // w_array_real[i] = cos(2*M_PI*i/32)
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1457 static const real_t w_array_real[] = {
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1458 FRAC_CONST(1.000000000000000), FRAC_CONST(0.980785279337272),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1459 FRAC_CONST(0.923879528329380), FRAC_CONST(0.831469603195765),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1460 FRAC_CONST(0.707106765732237), FRAC_CONST(0.555570210304169),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1461 FRAC_CONST(0.382683402077046), FRAC_CONST(0.195090284503576),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1462 FRAC_CONST(0.000000000000000), FRAC_CONST(-0.195090370246552),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1463 FRAC_CONST(-0.382683482845162), FRAC_CONST(-0.555570282993553),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1464 FRAC_CONST(-0.707106827549476), FRAC_CONST(-0.831469651765257),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1465 FRAC_CONST(-0.923879561784627), FRAC_CONST(-0.980785296392607)
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1466 };
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1467
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1468 // w_array_imag[i] = sin(-2*M_PI*i/32)
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1469 static const real_t w_array_imag[] = {
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1470 FRAC_CONST(0.000000000000000), FRAC_CONST(-0.195090327375064),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1471 FRAC_CONST(-0.382683442461104), FRAC_CONST(-0.555570246648862),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1472 FRAC_CONST(-0.707106796640858), FRAC_CONST(-0.831469627480512),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1473 FRAC_CONST(-0.923879545057005), FRAC_CONST(-0.980785287864940),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1474 FRAC_CONST(-1.000000000000000), FRAC_CONST(-0.980785270809601),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1475 FRAC_CONST(-0.923879511601754), FRAC_CONST(-0.831469578911016),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1476 FRAC_CONST(-0.707106734823616), FRAC_CONST(-0.555570173959476),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1477 FRAC_CONST(-0.382683361692986), FRAC_CONST(-0.195090241632088)
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1478 };
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1479
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1480 // FFT decimation in frequency
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1481 // 4*16*2+16=128+16=144 multiplications
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1482 // 6*16*2+10*8+4*16*2=192+80+128=400 additions
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1483 static void fft_dif(real_t * Real, real_t * Imag)
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1484 {
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1485 real_t w_real, w_imag; // For faster access
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1486 real_t point1_real, point1_imag, point2_real, point2_imag; // For faster access
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1487 uint32_t j, i, i2, w_index; // Counters
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1488
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1489 // First 2 stages of 32 point FFT decimation in frequency
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1490 // 4*16*2=64*2=128 multiplications
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1491 // 6*16*2=96*2=192 additions
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1492 // Stage 1 of 32 point FFT decimation in frequency
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1493 for (i = 0; i < 16; i++)
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1494 {
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1495 point1_real = Real[i];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1496 point1_imag = Imag[i];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1497 i2 = i+16;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1498 point2_real = Real[i2];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1499 point2_imag = Imag[i2];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1500
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1501 w_real = w_array_real[i];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1502 w_imag = w_array_imag[i];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1503
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1504 // temp1 = x[i] - x[i2]
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1505 point1_real -= point2_real;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1506 point1_imag -= point2_imag;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1507
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1508 // x[i1] = x[i] + x[i2]
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1509 Real[i] += point2_real;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1510 Imag[i] += point2_imag;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1511
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1512 // x[i2] = (x[i] - x[i2]) * w
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1513 Real[i2] = (MUL_F(point1_real,w_real) - MUL_F(point1_imag,w_imag));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1514 Imag[i2] = (MUL_F(point1_real,w_imag) + MUL_F(point1_imag,w_real));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1515 }
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1516 // Stage 2 of 32 point FFT decimation in frequency
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1517 for (j = 0, w_index = 0; j < 8; j++, w_index += 2)
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1518 {
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1519 w_real = w_array_real[w_index];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1520 w_imag = w_array_imag[w_index];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1521
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1522 i = j;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1523 point1_real = Real[i];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1524 point1_imag = Imag[i];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1525 i2 = i+8;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1526 point2_real = Real[i2];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1527 point2_imag = Imag[i2];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1528
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1529 // temp1 = x[i] - x[i2]
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1530 point1_real -= point2_real;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1531 point1_imag -= point2_imag;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1532
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1533 // x[i1] = x[i] + x[i2]
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1534 Real[i] += point2_real;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1535 Imag[i] += point2_imag;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1536
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1537 // x[i2] = (x[i] - x[i2]) * w
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1538 Real[i2] = (MUL_F(point1_real,w_real) - MUL_F(point1_imag,w_imag));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1539 Imag[i2] = (MUL_F(point1_real,w_imag) + MUL_F(point1_imag,w_real));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1540
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1541 i = j+16;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1542 point1_real = Real[i];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1543 point1_imag = Imag[i];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1544 i2 = i+8;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1545 point2_real = Real[i2];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1546 point2_imag = Imag[i2];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1547
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1548 // temp1 = x[i] - x[i2]
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1549 point1_real -= point2_real;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1550 point1_imag -= point2_imag;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1551
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1552 // x[i1] = x[i] + x[i2]
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1553 Real[i] += point2_real;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1554 Imag[i] += point2_imag;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1555
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1556 // x[i2] = (x[i] - x[i2]) * w
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1557 Real[i2] = (MUL_F(point1_real,w_real) - MUL_F(point1_imag,w_imag));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1558 Imag[i2] = (MUL_F(point1_real,w_imag) + MUL_F(point1_imag,w_real));
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1559 }
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1560
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1561 // Stage 3 of 32 point FFT decimation in frequency
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1562 // 2*4*2=16 multiplications
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1563 // 4*4*2+6*4*2=10*8=80 additions
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1564 for (i = 0; i < n; i += 8)
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1565 {
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1566 i2 = i+4;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1567 point1_real = Real[i];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1568 point1_imag = Imag[i];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1569
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1570 point2_real = Real[i2];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1571 point2_imag = Imag[i2];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1572
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1573 // out[i1] = point1 + point2
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1574 Real[i] += point2_real;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1575 Imag[i] += point2_imag;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1576
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1577 // out[i2] = point1 - point2
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1578 Real[i2] = point1_real - point2_real;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1579 Imag[i2] = point1_imag - point2_imag;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1580 }
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1581 w_real = w_array_real[4]; // = sqrt(2)/2
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1582 // w_imag = -w_real; // = w_array_imag[4]; // = -sqrt(2)/2
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1583 for (i = 1; i < n; i += 8)
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1584 {
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1585 i2 = i+4;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1586 point1_real = Real[i];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1587 point1_imag = Imag[i];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1588
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1589 point2_real = Real[i2];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1590 point2_imag = Imag[i2];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1591
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1592 // temp1 = x[i] - x[i2]
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1593 point1_real -= point2_real;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1594 point1_imag -= point2_imag;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1595
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1596 // x[i1] = x[i] + x[i2]
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1597 Real[i] += point2_real;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1598 Imag[i] += point2_imag;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1599
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1600 // x[i2] = (x[i] - x[i2]) * w
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1601 Real[i2] = MUL_F(point1_real+point1_imag, w_real);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1602 Imag[i2] = MUL_F(point1_imag-point1_real, w_real);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1603 }
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1604 for (i = 2; i < n; i += 8)
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1605 {
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1606 i2 = i+4;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1607 point1_real = Real[i];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1608 point1_imag = Imag[i];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1609
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1610 point2_real = Real[i2];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1611 point2_imag = Imag[i2];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1612
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1613 // x[i] = x[i] + x[i2]
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1614 Real[i] += point2_real;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1615 Imag[i] += point2_imag;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1616
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1617 // x[i2] = (x[i] - x[i2]) * (-i)
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1618 Real[i2] = point1_imag - point2_imag;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1619 Imag[i2] = point2_real - point1_real;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1620 }
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1621 w_real = w_array_real[12]; // = -sqrt(2)/2
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1622 // w_imag = w_real; // = w_array_imag[12]; // = -sqrt(2)/2
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1623 for (i = 3; i < n; i += 8)
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1624 {
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1625 i2 = i+4;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1626 point1_real = Real[i];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1627 point1_imag = Imag[i];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1628
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1629 point2_real = Real[i2];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1630 point2_imag = Imag[i2];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1631
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1632 // temp1 = x[i] - x[i2]
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1633 point1_real -= point2_real;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1634 point1_imag -= point2_imag;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1635
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1636 // x[i1] = x[i] + x[i2]
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1637 Real[i] += point2_real;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1638 Imag[i] += point2_imag;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1639
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1640 // x[i2] = (x[i] - x[i2]) * w
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1641 Real[i2] = MUL_F(point1_real-point1_imag, w_real);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1642 Imag[i2] = MUL_F(point1_real+point1_imag, w_real);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1643 }
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1644
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1645
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1646 // Stage 4 of 32 point FFT decimation in frequency (no multiplications)
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1647 // 16*4=64 additions
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1648 for (i = 0; i < n; i += 4)
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1649 {
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1650 i2 = i+2;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1651 point1_real = Real[i];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1652 point1_imag = Imag[i];
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1653
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1654 point2_real = Real[i2];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1655 point2_imag = Imag[i2];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1656
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1657 // x[i1] = x[i] + x[i2]
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1658 Real[i] += point2_real;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1659 Imag[i] += point2_imag;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1660
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1661 // x[i2] = x[i] - x[i2]
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1662 Real[i2] = point1_real - point2_real;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1663 Imag[i2] = point1_imag - point2_imag;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1664 }
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1665 for (i = 1; i < n; i += 4)
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1666 {
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1667 i2 = i+2;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1668 point1_real = Real[i];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1669 point1_imag = Imag[i];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1670
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1671 point2_real = Real[i2];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1672 point2_imag = Imag[i2];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1673
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1674 // x[i] = x[i] + x[i2]
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1675 Real[i] += point2_real;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1676 Imag[i] += point2_imag;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1677
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1678 // x[i2] = (x[i] - x[i2]) * (-i)
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1679 Real[i2] = point1_imag - point2_imag;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1680 Imag[i2] = point2_real - point1_real;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1681 }
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1682
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1683 // Stage 5 of 32 point FFT decimation in frequency (no multiplications)
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1684 // 16*4=64 additions
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1685 for (i = 0; i < n; i += 2)
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1686 {
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1687 i2 = i+1;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1688 point1_real = Real[i];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1689 point1_imag = Imag[i];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1690
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1691 point2_real = Real[i2];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1692 point2_imag = Imag[i2];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1693
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1694 // out[i1] = point1 + point2
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1695 Real[i] += point2_real;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1696 Imag[i] += point2_imag;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1697
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1698 // out[i2] = point1 - point2
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1699 Real[i2] = point1_real - point2_real;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1700 Imag[i2] = point1_imag - point2_imag;
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1701 }
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1702
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1703 #ifdef REORDER_IN_FFT
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1704 FFTReorder(Real, Imag);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1705 #endif // #ifdef REORDER_IN_FFT
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1706 }
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1707 #undef n
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1708 #undef log2n
12527
4a370c80fe5c update to the 2.0 release of faad, patch by adland
diego
parents: 10989
diff changeset
1709
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1710 static const real_t dct4_64_tab[] = {
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1711 COEF_CONST(0.999924719333649), COEF_CONST(0.998118102550507),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1712 COEF_CONST(0.993906974792480), COEF_CONST(0.987301409244537),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1713 COEF_CONST(0.978317379951477), COEF_CONST(0.966976463794708),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1714 COEF_CONST(0.953306019306183), COEF_CONST(0.937339007854462),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1715 COEF_CONST(0.919113874435425), COEF_CONST(0.898674488067627),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1716 COEF_CONST(0.876070082187653), COEF_CONST(0.851355195045471),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1717 COEF_CONST(0.824589252471924), COEF_CONST(0.795836925506592),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1718 COEF_CONST(0.765167236328125), COEF_CONST(0.732654273509979),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1719 COEF_CONST(0.698376238346100), COEF_CONST(0.662415742874146),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1720 COEF_CONST(0.624859452247620), COEF_CONST(0.585797846317291),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1721 COEF_CONST(0.545324981212616), COEF_CONST(0.503538429737091),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1722 COEF_CONST(0.460538715124130), COEF_CONST(0.416429549455643),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1723 COEF_CONST(0.371317148208618), COEF_CONST(0.325310230255127),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1724 COEF_CONST(0.278519600629807), COEF_CONST(0.231058135628700),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1725 COEF_CONST(0.183039888739586), COEF_CONST(0.134580686688423),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1726 COEF_CONST(0.085797272622585), COEF_CONST(0.036807164549828),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1727 COEF_CONST(-1.012196302413940), COEF_CONST(-1.059438824653626),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1728 COEF_CONST(-1.104129195213318), COEF_CONST(-1.146159529685974),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1729 COEF_CONST(-1.185428738594055), COEF_CONST(-1.221842169761658),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1730 COEF_CONST(-1.255311965942383), COEF_CONST(-1.285757660865784),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1731 COEF_CONST(-1.313105940818787), COEF_CONST(-1.337290763854981),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1732 COEF_CONST(-1.358253836631775), COEF_CONST(-1.375944852828980),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1733 COEF_CONST(-1.390321016311646), COEF_CONST(-1.401347875595093),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1734 COEF_CONST(-1.408998727798462), COEF_CONST(-1.413255214691162),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1735 COEF_CONST(-1.414107084274292), COEF_CONST(-1.411552190780640),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1736 COEF_CONST(-1.405596733093262), COEF_CONST(-1.396255016326904),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1737 COEF_CONST(-1.383549690246582), COEF_CONST(-1.367511272430420),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1738 COEF_CONST(-1.348178386688232), COEF_CONST(-1.325597524642944),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1739 COEF_CONST(-1.299823284149170), COEF_CONST(-1.270917654037476),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1740 COEF_CONST(-1.238950133323669), COEF_CONST(-1.203998088836670),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1741 COEF_CONST(-1.166145324707031), COEF_CONST(-1.125483393669128),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1742 COEF_CONST(-1.082109928131104), COEF_CONST(-1.036129593849182),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1743 COEF_CONST(-0.987653195858002), COEF_CONST(-0.936797380447388),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1744 COEF_CONST(-0.883684754371643), COEF_CONST(-0.828443288803101),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1745 COEF_CONST(-0.771206021308899), COEF_CONST(-0.712110757827759),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1746 COEF_CONST(-0.651300072669983), COEF_CONST(-0.588920354843140),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1747 COEF_CONST(-0.525121808052063), COEF_CONST(-0.460058242082596),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1748 COEF_CONST(-0.393886327743530), COEF_CONST(-0.326765477657318),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1749 COEF_CONST(-0.258857429027557), COEF_CONST(-0.190325915813446),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1750 COEF_CONST(-0.121335685253143), COEF_CONST(-0.052053272724152),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1751 COEF_CONST(0.017354607582092), COEF_CONST(0.086720645427704),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1752 COEF_CONST(0.155877828598022), COEF_CONST(0.224659323692322),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1753 COEF_CONST(0.292899727821350), COEF_CONST(0.360434412956238),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1754 COEF_CONST(0.427100926637650), COEF_CONST(0.492738455533981),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1755 COEF_CONST(0.557188928127289), COEF_CONST(0.620297133922577),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1756 COEF_CONST(0.681910991668701), COEF_CONST(0.741881847381592),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1757 COEF_CONST(0.800065577030182), COEF_CONST(0.856321990489960),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1758 COEF_CONST(0.910515367984772), COEF_CONST(0.962515234947205),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1759 COEF_CONST(1.000000000000000), COEF_CONST(0.998795449733734),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1760 COEF_CONST(0.995184719562531), COEF_CONST(0.989176511764526),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1761 COEF_CONST(0.980785250663757), COEF_CONST(0.970031261444092),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1762 COEF_CONST(0.956940352916718), COEF_CONST(0.941544055938721),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1763 COEF_CONST(0.923879504203796), COEF_CONST(0.903989315032959),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1764 COEF_CONST(0.881921231746674), COEF_CONST(0.857728600502014),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1765 COEF_CONST(0.831469595432281), COEF_CONST(0.803207516670227),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1766 COEF_CONST(0.773010432720184), COEF_CONST(0.740951120853424),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1767 COEF_CONST(0.707106769084930), COEF_CONST(0.671558916568756),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1768 COEF_CONST(0.634393274784088), COEF_CONST(0.595699310302734),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1769 COEF_CONST(0.555570185184479), COEF_CONST(0.514102697372437),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1770 COEF_CONST(0.471396654844284), COEF_CONST(0.427555114030838),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1771 COEF_CONST(0.382683426141739), COEF_CONST(0.336889833211899),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1772 COEF_CONST(0.290284633636475), COEF_CONST(0.242980122566223),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1773 COEF_CONST(0.195090234279633), COEF_CONST(0.146730497479439),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1774 COEF_CONST(0.098017133772373), COEF_CONST(0.049067649990320),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1775 COEF_CONST(-1.000000000000000), COEF_CONST(-1.047863125801086),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1776 COEF_CONST(-1.093201875686646), COEF_CONST(-1.135906934738159),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1777 COEF_CONST(-1.175875544548035), COEF_CONST(-1.213011503219605),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1778 COEF_CONST(-1.247225046157837), COEF_CONST(-1.278433918952942),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1779 COEF_CONST(-1.306562900543213), COEF_CONST(-1.331544399261475),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1780 COEF_CONST(-1.353317975997925), COEF_CONST(-1.371831417083740),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1781 COEF_CONST(-1.387039899826050), COEF_CONST(-1.398906826972961),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1782 COEF_CONST(-1.407403707504273), COEF_CONST(-1.412510156631470),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1783 COEF_CONST(0), COEF_CONST(-1.412510156631470),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1784 COEF_CONST(-1.407403707504273), COEF_CONST(-1.398906826972961),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1785 COEF_CONST(-1.387039899826050), COEF_CONST(-1.371831417083740),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1786 COEF_CONST(-1.353317975997925), COEF_CONST(-1.331544399261475),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1787 COEF_CONST(-1.306562900543213), COEF_CONST(-1.278433918952942),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1788 COEF_CONST(-1.247225046157837), COEF_CONST(-1.213011384010315),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1789 COEF_CONST(-1.175875544548035), COEF_CONST(-1.135907053947449),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1790 COEF_CONST(-1.093201875686646), COEF_CONST(-1.047863125801086),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1791 COEF_CONST(-1.000000000000000), COEF_CONST(-0.949727773666382),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1792 COEF_CONST(-0.897167563438416), COEF_CONST(-0.842446029186249),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1793 COEF_CONST(-0.785694956779480), COEF_CONST(-0.727051079273224),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1794 COEF_CONST(-0.666655659675598), COEF_CONST(-0.604654192924500),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1795 COEF_CONST(-0.541196048259735), COEF_CONST(-0.476434230804443),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1796 COEF_CONST(-0.410524487495422), COEF_CONST(-0.343625843524933),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1797 COEF_CONST(-0.275899350643158), COEF_CONST(-0.207508206367493),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1798 COEF_CONST(-0.138617098331451), COEF_CONST(-0.069392144680023),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1799 COEF_CONST(0), COEF_CONST(0.069392263889313),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1800 COEF_CONST(0.138617157936096), COEF_CONST(0.207508206367493),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1801 COEF_CONST(0.275899469852448), COEF_CONST(0.343625962734222),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1802 COEF_CONST(0.410524636507034), COEF_CONST(0.476434201002121),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1803 COEF_CONST(0.541196107864380), COEF_CONST(0.604654192924500),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1804 COEF_CONST(0.666655719280243), COEF_CONST(0.727051138877869),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1805 COEF_CONST(0.785695075988770), COEF_CONST(0.842446029186249),
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1806 COEF_CONST(0.897167563438416), COEF_CONST(0.949727773666382)
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1807 };
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1808
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1809 /* size 64 only! */
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1810 void dct4_kernel(real_t * in_real, real_t * in_imag, real_t * out_real, real_t * out_imag)
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1811 {
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1812 // Tables with bit reverse values for 5 bits, bit reverse of i at i-th position
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1813 const uint8_t bit_rev_tab[32] = { 0,16,8,24,4,20,12,28,2,18,10,26,6,22,14,30,1,17,9,25,5,21,13,29,3,19,11,27,7,23,15,31 };
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1814 uint16_t i, i_rev;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1815
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1816 /* Step 2: modulate */
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1817 // 3*32=96 multiplications
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1818 // 3*32=96 additions
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1819 for (i = 0; i < 32; i++)
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1820 {
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1821 real_t x_re, x_im, tmp;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1822 x_re = in_real[i];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1823 x_im = in_imag[i];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1824 tmp = MUL_C(x_re + x_im, dct4_64_tab[i]);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1825 in_real[i] = MUL_C(x_im, dct4_64_tab[i + 64]) + tmp;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1826 in_imag[i] = MUL_C(x_re, dct4_64_tab[i + 32]) + tmp;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1827 }
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1828
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1829 /* Step 3: FFT, but with output in bit reverse order */
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1830 fft_dif(in_real, in_imag);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1831
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1832 /* Step 4: modulate + bitreverse reordering */
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1833 // 3*31+2=95 multiplications
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1834 // 3*31+2=95 additions
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1835 for (i = 0; i < 16; i++)
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1836 {
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1837 real_t x_re, x_im, tmp;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1838 i_rev = bit_rev_tab[i];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1839 x_re = in_real[i_rev];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1840 x_im = in_imag[i_rev];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1841
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1842 tmp = MUL_C(x_re + x_im, dct4_64_tab[i + 3*32]);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1843 out_real[i] = MUL_C(x_im, dct4_64_tab[i + 5*32]) + tmp;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1844 out_imag[i] = MUL_C(x_re, dct4_64_tab[i + 4*32]) + tmp;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1845 }
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1846 // i = 16, i_rev = 1 = rev(16);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1847 out_imag[16] = MUL_C(in_imag[1] - in_real[1], dct4_64_tab[16 + 3*32]);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1848 out_real[16] = MUL_C(in_real[1] + in_imag[1], dct4_64_tab[16 + 3*32]);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1849 for (i = 17; i < 32; i++)
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1850 {
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1851 real_t x_re, x_im, tmp;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1852 i_rev = bit_rev_tab[i];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1853 x_re = in_real[i_rev];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1854 x_im = in_imag[i_rev];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1855 tmp = MUL_C(x_re + x_im, dct4_64_tab[i + 3*32]);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1856 out_real[i] = MUL_C(x_im, dct4_64_tab[i + 5*32]) + tmp;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1857 out_imag[i] = MUL_C(x_re, dct4_64_tab[i + 4*32]) + tmp;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1858 }
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1859
12527
4a370c80fe5c update to the 2.0 release of faad, patch by adland
diego
parents: 10989
diff changeset
1860 }
4a370c80fe5c update to the 2.0 release of faad, patch by adland
diego
parents: 10989
diff changeset
1861
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1862 void DST4_32(real_t *y, real_t *x)
12527
4a370c80fe5c update to the 2.0 release of faad, patch by adland
diego
parents: 10989
diff changeset
1863 {
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1864 real_t f0, f1, f2, f3, f4, f5, f6, f7, f8, f9;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1865 real_t f10, f11, f12, f13, f14, f15, f16, f17, f18, f19;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1866 real_t f20, f21, f22, f23, f24, f25, f26, f27, f28, f29;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1867 real_t f30, f31, f32, f33, f34, f35, f36, f37, f38, f39;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1868 real_t f40, f41, f42, f43, f44, f45, f46, f47, f48, f49;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1869 real_t f50, f51, f52, f53, f54, f55, f56, f57, f58, f59;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1870 real_t f60, f61, f62, f63, f64, f65, f66, f67, f68, f69;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1871 real_t f70, f71, f72, f73, f74, f75, f76, f77, f78, f79;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1872 real_t f80, f81, f82, f83, f84, f85, f86, f87, f88, f89;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1873 real_t f90, f91, f92, f93, f94, f95, f96, f97, f98, f99;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1874 real_t f100, f101, f102, f103, f104, f105, f106, f107, f108, f109;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1875 real_t f110, f111, f112, f113, f114, f115, f116, f117, f118, f119;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1876 real_t f120, f121, f122, f123, f124, f125, f126, f127, f128, f129;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1877 real_t f130, f131, f132, f133, f134, f135, f136, f137, f138, f139;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1878 real_t f140, f141, f142, f143, f144, f145, f146, f147, f148, f149;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1879 real_t f150, f151, f152, f153, f154, f155, f156, f157, f158, f159;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1880 real_t f160, f161, f162, f163, f164, f165, f166, f167, f168, f169;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1881 real_t f170, f171, f172, f173, f174, f175, f176, f177, f178, f179;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1882 real_t f180, f181, f182, f183, f184, f185, f186, f187, f188, f189;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1883 real_t f190, f191, f192, f193, f194, f195, f196, f197, f198, f199;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1884 real_t f200, f201, f202, f203, f204, f205, f206, f207, f208, f209;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1885 real_t f210, f211, f212, f213, f214, f215, f216, f217, f218, f219;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1886 real_t f220, f221, f222, f223, f224, f225, f226, f227, f228, f229;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1887 real_t f230, f231, f232, f233, f234, f235, f236, f237, f238, f239;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1888 real_t f240, f241, f242, f243, f244, f245, f246, f247, f248, f249;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1889 real_t f250, f251, f252, f253, f254, f255, f256, f257, f258, f259;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1890 real_t f260, f261, f262, f263, f264, f265, f266, f267, f268, f269;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1891 real_t f270, f271, f272, f273, f274, f275, f276, f277, f278, f279;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1892 real_t f280, f281, f282, f283, f284, f285, f286, f287, f288, f289;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1893 real_t f290, f291, f292, f293, f294, f295, f296, f297, f298, f299;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1894 real_t f300, f301, f302, f303, f304, f305, f306, f307, f308, f309;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1895 real_t f310, f311, f312, f313, f314, f315, f316, f317, f318, f319;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1896 real_t f320, f321, f322, f323, f324, f325, f326, f327, f328, f329;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1897 real_t f330, f331, f332, f333, f334, f335;
12527
4a370c80fe5c update to the 2.0 release of faad, patch by adland
diego
parents: 10989
diff changeset
1898
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1899 f0 = x[0] - x[1];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1900 f1 = x[2] - x[1];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1901 f2 = x[2] - x[3];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1902 f3 = x[4] - x[3];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1903 f4 = x[4] - x[5];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1904 f5 = x[6] - x[5];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1905 f6 = x[6] - x[7];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1906 f7 = x[8] - x[7];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1907 f8 = x[8] - x[9];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1908 f9 = x[10] - x[9];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1909 f10 = x[10] - x[11];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1910 f11 = x[12] - x[11];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1911 f12 = x[12] - x[13];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1912 f13 = x[14] - x[13];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1913 f14 = x[14] - x[15];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1914 f15 = x[16] - x[15];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1915 f16 = x[16] - x[17];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1916 f17 = x[18] - x[17];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1917 f18 = x[18] - x[19];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1918 f19 = x[20] - x[19];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1919 f20 = x[20] - x[21];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1920 f21 = x[22] - x[21];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1921 f22 = x[22] - x[23];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1922 f23 = x[24] - x[23];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1923 f24 = x[24] - x[25];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1924 f25 = x[26] - x[25];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1925 f26 = x[26] - x[27];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1926 f27 = x[28] - x[27];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1927 f28 = x[28] - x[29];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1928 f29 = x[30] - x[29];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1929 f30 = x[30] - x[31];
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1930 f31 = MUL_F(FRAC_CONST(0.7071067811865476), f15);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1931 f32 = x[0] - f31;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1932 f33 = x[0] + f31;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1933 f34 = f7 + f23;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1934 f35 = MUL_C(COEF_CONST(1.3065629648763766), f7);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1935 f36 = MUL_F(FRAC_CONST(-0.9238795325112866), f34);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1936 f37 = MUL_F(FRAC_CONST(-0.5411961001461967), f23);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1937 f38 = f35 + f36;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1938 f39 = f37 - f36;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1939 f40 = f33 - f39;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1940 f41 = f33 + f39;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1941 f42 = f32 - f38;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1942 f43 = f32 + f38;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1943 f44 = f11 - f19;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1944 f45 = f11 + f19;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1945 f46 = MUL_F(FRAC_CONST(0.7071067811865476), f45);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1946 f47 = f3 - f46;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1947 f48 = f3 + f46;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1948 f49 = MUL_F(FRAC_CONST(0.7071067811865476), f44);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1949 f50 = f49 - f27;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1950 f51 = f49 + f27;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1951 f52 = f51 + f48;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1952 f53 = MUL_F(FRAC_CONST(-0.7856949583871021), f51);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1953 f54 = MUL_F(FRAC_CONST(0.9807852804032304), f52);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1954 f55 = MUL_C(COEF_CONST(1.1758756024193588), f48);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1955 f56 = f53 + f54;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1956 f57 = f55 - f54;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1957 f58 = f50 + f47;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1958 f59 = MUL_F(FRAC_CONST(-0.2758993792829430), f50);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1959 f60 = MUL_F(FRAC_CONST(0.8314696123025452), f58);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1960 f61 = MUL_C(COEF_CONST(1.3870398453221475), f47);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1961 f62 = f59 + f60;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1962 f63 = f61 - f60;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1963 f64 = f41 - f56;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1964 f65 = f41 + f56;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1965 f66 = f43 - f62;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1966 f67 = f43 + f62;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1967 f68 = f42 - f63;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1968 f69 = f42 + f63;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1969 f70 = f40 - f57;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1970 f71 = f40 + f57;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1971 f72 = f5 - f9;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1972 f73 = f5 + f9;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1973 f74 = f13 - f17;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1974 f75 = f13 + f17;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1975 f76 = f21 - f25;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1976 f77 = f21 + f25;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1977 f78 = MUL_F(FRAC_CONST(0.7071067811865476), f75);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1978 f79 = f1 - f78;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1979 f80 = f1 + f78;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1980 f81 = f73 + f77;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1981 f82 = MUL_C(COEF_CONST(1.3065629648763766), f73);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1982 f83 = MUL_F(FRAC_CONST(-0.9238795325112866), f81);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1983 f84 = MUL_F(FRAC_CONST(-0.5411961001461967), f77);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1984 f85 = f82 + f83;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1985 f86 = f84 - f83;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1986 f87 = f80 - f86;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1987 f88 = f80 + f86;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1988 f89 = f79 - f85;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1989 f90 = f79 + f85;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1990 f91 = MUL_F(FRAC_CONST(0.7071067811865476), f74);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1991 f92 = f29 - f91;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1992 f93 = f29 + f91;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1993 f94 = f76 + f72;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1994 f95 = MUL_C(COEF_CONST(1.3065629648763766), f76);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1995 f96 = MUL_F(FRAC_CONST(-0.9238795325112866), f94);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1996 f97 = MUL_F(FRAC_CONST(-0.5411961001461967), f72);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1997 f98 = f95 + f96;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1998 f99 = f97 - f96;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
1999 f100 = f93 - f99;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2000 f101 = f93 + f99;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2001 f102 = f92 - f98;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2002 f103 = f92 + f98;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2003 f104 = f101 + f88;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2004 f105 = MUL_F(FRAC_CONST(-0.8971675863426361), f101);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2005 f106 = MUL_F(FRAC_CONST(0.9951847266721968), f104);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2006 f107 = MUL_C(COEF_CONST(1.0932018670017576), f88);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2007 f108 = f105 + f106;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2008 f109 = f107 - f106;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2009 f110 = f90 - f103;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2010 f111 = MUL_F(FRAC_CONST(-0.6666556584777466), f103);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2011 f112 = MUL_F(FRAC_CONST(0.9569403357322089), f110);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2012 f113 = MUL_C(COEF_CONST(1.2472250129866713), f90);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2013 f114 = f112 - f111;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2014 f115 = f113 - f112;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2015 f116 = f102 + f89;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2016 f117 = MUL_F(FRAC_CONST(-0.4105245275223571), f102);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2017 f118 = MUL_F(FRAC_CONST(0.8819212643483549), f116);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2018 f119 = MUL_C(COEF_CONST(1.3533180011743529), f89);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2019 f120 = f117 + f118;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2020 f121 = f119 - f118;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2021 f122 = f87 - f100;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2022 f123 = MUL_F(FRAC_CONST(-0.1386171691990915), f100);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2023 f124 = MUL_F(FRAC_CONST(0.7730104533627370), f122);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2024 f125 = MUL_C(COEF_CONST(1.4074037375263826), f87);
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
2025 f126 = f124 - f123;
13453
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2026 f127 = f125 - f124;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2027 f128 = f65 - f108;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2028 f129 = f65 + f108;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2029 f130 = f67 - f114;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2030 f131 = f67 + f114;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2031 f132 = f69 - f120;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2032 f133 = f69 + f120;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2033 f134 = f71 - f126;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2034 f135 = f71 + f126;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2035 f136 = f70 - f127;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2036 f137 = f70 + f127;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2037 f138 = f68 - f121;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2038 f139 = f68 + f121;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2039 f140 = f66 - f115;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2040 f141 = f66 + f115;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2041 f142 = f64 - f109;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2042 f143 = f64 + f109;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2043 f144 = f0 + f30;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2044 f145 = MUL_C(COEF_CONST(1.0478631305325901), f0);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2045 f146 = MUL_F(FRAC_CONST(-0.9987954562051724), f144);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2046 f147 = MUL_F(FRAC_CONST(-0.9497277818777548), f30);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2047 f148 = f145 + f146;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2048 f149 = f147 - f146;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2049 f150 = f4 + f26;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2050 f151 = MUL_F(FRAC_CONST(1.2130114330978077), f4);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2051 f152 = MUL_F(FRAC_CONST(-0.9700312531945440), f150);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2052 f153 = MUL_F(FRAC_CONST(-0.7270510732912803), f26);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2053 f154 = f151 + f152;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2054 f155 = f153 - f152;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2055 f156 = f8 + f22;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2056 f157 = MUL_C(COEF_CONST(1.3315443865537255), f8);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2057 f158 = MUL_F(FRAC_CONST(-0.9039892931234433), f156);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2058 f159 = MUL_F(FRAC_CONST(-0.4764341996931612), f22);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2059 f160 = f157 + f158;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2060 f161 = f159 - f158;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2061 f162 = f12 + f18;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2062 f163 = MUL_C(COEF_CONST(1.3989068359730781), f12);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2063 f164 = MUL_F(FRAC_CONST(-0.8032075314806453), f162);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2064 f165 = MUL_F(FRAC_CONST(-0.2075082269882124), f18);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2065 f166 = f163 + f164;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2066 f167 = f165 - f164;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2067 f168 = f16 + f14;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2068 f169 = MUL_C(COEF_CONST(1.4125100802019777), f16);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2069 f170 = MUL_F(FRAC_CONST(-0.6715589548470187), f168);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2070 f171 = MUL_F(FRAC_CONST(0.0693921705079402), f14);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2071 f172 = f169 + f170;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2072 f173 = f171 - f170;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2073 f174 = f20 + f10;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2074 f175 = MUL_C(COEF_CONST(1.3718313541934939), f20);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2075 f176 = MUL_F(FRAC_CONST(-0.5141027441932219), f174);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2076 f177 = MUL_F(FRAC_CONST(0.3436258658070501), f10);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2077 f178 = f175 + f176;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2078 f179 = f177 - f176;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2079 f180 = f24 + f6;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2080 f181 = MUL_C(COEF_CONST(1.2784339185752409), f24);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2081 f182 = MUL_F(FRAC_CONST(-0.3368898533922200), f180);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2082 f183 = MUL_F(FRAC_CONST(0.6046542117908008), f6);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2083 f184 = f181 + f182;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2084 f185 = f183 - f182;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2085 f186 = f28 + f2;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2086 f187 = MUL_C(COEF_CONST(1.1359069844201433), f28);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2087 f188 = MUL_F(FRAC_CONST(-0.1467304744553624), f186);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2088 f189 = MUL_F(FRAC_CONST(0.8424460355094185), f2);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2089 f190 = f187 + f188;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2090 f191 = f189 - f188;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2091 f192 = f149 - f173;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2092 f193 = f149 + f173;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2093 f194 = f148 - f172;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2094 f195 = f148 + f172;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2095 f196 = f155 - f179;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2096 f197 = f155 + f179;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2097 f198 = f154 - f178;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2098 f199 = f154 + f178;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2099 f200 = f161 - f185;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2100 f201 = f161 + f185;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2101 f202 = f160 - f184;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2102 f203 = f160 + f184;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2103 f204 = f167 - f191;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2104 f205 = f167 + f191;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2105 f206 = f166 - f190;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2106 f207 = f166 + f190;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2107 f208 = f192 + f194;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2108 f209 = MUL_C(COEF_CONST(1.1758756024193588), f192);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2109 f210 = MUL_F(FRAC_CONST(-0.9807852804032304), f208);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2110 f211 = MUL_F(FRAC_CONST(-0.7856949583871021), f194);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2111 f212 = f209 + f210;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2112 f213 = f211 - f210;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2113 f214 = f196 + f198;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2114 f215 = MUL_C(COEF_CONST(1.3870398453221475), f196);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2115 f216 = MUL_F(FRAC_CONST(-0.5555702330196022), f214);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2116 f217 = MUL_F(FRAC_CONST(0.2758993792829431), f198);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2117 f218 = f215 + f216;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2118 f219 = f217 - f216;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2119 f220 = f200 + f202;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2120 f221 = MUL_F(FRAC_CONST(0.7856949583871022), f200);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2121 f222 = MUL_F(FRAC_CONST(0.1950903220161283), f220);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2122 f223 = MUL_C(COEF_CONST(1.1758756024193586), f202);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2123 f224 = f221 + f222;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2124 f225 = f223 - f222;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2125 f226 = f204 + f206;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2126 f227 = MUL_F(FRAC_CONST(-0.2758993792829430), f204);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2127 f228 = MUL_F(FRAC_CONST(0.8314696123025452), f226);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2128 f229 = MUL_C(COEF_CONST(1.3870398453221475), f206);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2129 f230 = f227 + f228;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2130 f231 = f229 - f228;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2131 f232 = f193 - f201;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2132 f233 = f193 + f201;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2133 f234 = f195 - f203;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2134 f235 = f195 + f203;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2135 f236 = f197 - f205;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2136 f237 = f197 + f205;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2137 f238 = f199 - f207;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2138 f239 = f199 + f207;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2139 f240 = f213 - f225;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2140 f241 = f213 + f225;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2141 f242 = f212 - f224;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2142 f243 = f212 + f224;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2143 f244 = f219 - f231;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2144 f245 = f219 + f231;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2145 f246 = f218 - f230;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2146 f247 = f218 + f230;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2147 f248 = f232 + f234;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2148 f249 = MUL_C(COEF_CONST(1.3065629648763766), f232);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2149 f250 = MUL_F(FRAC_CONST(-0.9238795325112866), f248);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2150 f251 = MUL_F(FRAC_CONST(-0.5411961001461967), f234);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2151 f252 = f249 + f250;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2152 f253 = f251 - f250;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2153 f254 = f236 + f238;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2154 f255 = MUL_F(FRAC_CONST(0.5411961001461969), f236);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2155 f256 = MUL_F(FRAC_CONST(0.3826834323650898), f254);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2156 f257 = MUL_C(COEF_CONST(1.3065629648763766), f238);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2157 f258 = f255 + f256;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2158 f259 = f257 - f256;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2159 f260 = f240 + f242;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2160 f261 = MUL_C(COEF_CONST(1.3065629648763766), f240);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2161 f262 = MUL_F(FRAC_CONST(-0.9238795325112866), f260);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2162 f263 = MUL_F(FRAC_CONST(-0.5411961001461967), f242);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2163 f264 = f261 + f262;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2164 f265 = f263 - f262;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2165 f266 = f244 + f246;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2166 f267 = MUL_F(FRAC_CONST(0.5411961001461969), f244);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2167 f268 = MUL_F(FRAC_CONST(0.3826834323650898), f266);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2168 f269 = MUL_C(COEF_CONST(1.3065629648763766), f246);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2169 f270 = f267 + f268;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2170 f271 = f269 - f268;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2171 f272 = f233 - f237;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2172 f273 = f233 + f237;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2173 f274 = f235 - f239;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2174 f275 = f235 + f239;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2175 f276 = f253 - f259;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2176 f277 = f253 + f259;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2177 f278 = f252 - f258;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2178 f279 = f252 + f258;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2179 f280 = f241 - f245;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2180 f281 = f241 + f245;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2181 f282 = f243 - f247;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2182 f283 = f243 + f247;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2183 f284 = f265 - f271;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2184 f285 = f265 + f271;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2185 f286 = f264 - f270;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2186 f287 = f264 + f270;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2187 f288 = f272 - f274;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2188 f289 = f272 + f274;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2189 f290 = MUL_F(FRAC_CONST(0.7071067811865474), f288);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2190 f291 = MUL_F(FRAC_CONST(0.7071067811865474), f289);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2191 f292 = f276 - f278;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2192 f293 = f276 + f278;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2193 f294 = MUL_F(FRAC_CONST(0.7071067811865474), f292);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2194 f295 = MUL_F(FRAC_CONST(0.7071067811865474), f293);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2195 f296 = f280 - f282;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2196 f297 = f280 + f282;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2197 f298 = MUL_F(FRAC_CONST(0.7071067811865474), f296);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2198 f299 = MUL_F(FRAC_CONST(0.7071067811865474), f297);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2199 f300 = f284 - f286;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2200 f301 = f284 + f286;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2201 f302 = MUL_F(FRAC_CONST(0.7071067811865474), f300);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2202 f303 = MUL_F(FRAC_CONST(0.7071067811865474), f301);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2203 f304 = f129 - f273;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2204 f305 = f129 + f273;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2205 f306 = f131 - f281;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2206 f307 = f131 + f281;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2207 f308 = f133 - f285;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2208 f309 = f133 + f285;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2209 f310 = f135 - f277;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2210 f311 = f135 + f277;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2211 f312 = f137 - f295;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2212 f313 = f137 + f295;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2213 f314 = f139 - f303;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2214 f315 = f139 + f303;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2215 f316 = f141 - f299;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2216 f317 = f141 + f299;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2217 f318 = f143 - f291;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2218 f319 = f143 + f291;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2219 f320 = f142 - f290;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2220 f321 = f142 + f290;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2221 f322 = f140 - f298;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2222 f323 = f140 + f298;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2223 f324 = f138 - f302;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2224 f325 = f138 + f302;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2225 f326 = f136 - f294;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2226 f327 = f136 + f294;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2227 f328 = f134 - f279;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2228 f329 = f134 + f279;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2229 f330 = f132 - f287;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2230 f331 = f132 + f287;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2231 f332 = f130 - f283;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2232 f333 = f130 + f283;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2233 f334 = f128 - f275;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2234 f335 = f128 + f275;
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2235 y[31] = MUL_F(FRAC_CONST(0.5001506360206510), f305);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2236 y[30] = MUL_F(FRAC_CONST(0.5013584524464084), f307);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2237 y[29] = MUL_F(FRAC_CONST(0.5037887256810443), f309);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2238 y[28] = MUL_F(FRAC_CONST(0.5074711720725553), f311);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2239 y[27] = MUL_F(FRAC_CONST(0.5124514794082247), f313);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2240 y[26] = MUL_F(FRAC_CONST(0.5187927131053328), f315);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2241 y[25] = MUL_F(FRAC_CONST(0.5265773151542700), f317);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2242 y[24] = MUL_F(FRAC_CONST(0.5359098169079920), f319);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2243 y[23] = MUL_F(FRAC_CONST(0.5469204379855088), f321);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2244 y[22] = MUL_F(FRAC_CONST(0.5597698129470802), f323);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2245 y[21] = MUL_F(FRAC_CONST(0.5746551840326600), f325);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2246 y[20] = MUL_F(FRAC_CONST(0.5918185358574165), f327);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2247 y[19] = MUL_F(FRAC_CONST(0.6115573478825099), f329);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2248 y[18] = MUL_F(FRAC_CONST(0.6342389366884031), f331);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2249 y[17] = MUL_F(FRAC_CONST(0.6603198078137061), f333);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2250 y[16] = MUL_F(FRAC_CONST(0.6903721282002123), f335);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2251 y[15] = MUL_F(FRAC_CONST(0.7251205223771985), f334);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2252 y[14] = MUL_F(FRAC_CONST(0.7654941649730891), f332);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2253 y[13] = MUL_F(FRAC_CONST(0.8127020908144905), f330);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2254 y[12] = MUL_F(FRAC_CONST(0.8683447152233481), f328);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2255 y[11] = MUL_F(FRAC_CONST(0.9345835970364075), f326);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2256 y[10] = MUL_C(COEF_CONST(1.0144082649970547), f324);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2257 y[9] = MUL_C(COEF_CONST(1.1120716205797176), f322);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2258 y[8] = MUL_C(COEF_CONST(1.2338327379765710), f320);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2259 y[7] = MUL_C(COEF_CONST(1.3892939586328277), f318);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2260 y[6] = MUL_C(COEF_CONST(1.5939722833856311), f316);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2261 y[5] = MUL_C(COEF_CONST(1.8746759800084078), f314);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2262 y[4] = MUL_C(COEF_CONST(2.2820500680051619), f312);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2263 y[3] = MUL_C(COEF_CONST(2.9246284281582162), f310);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2264 y[2] = MUL_C(COEF_CONST(4.0846110781292477), f308);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2265 y[1] = MUL_C(COEF_CONST(6.7967507116736332), f306);
6d50ef45a058 Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents: 12625
diff changeset
2266 y[0] = MUL_R(REAL_CONST(20.3738781672314530), f304);
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
2267 }
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
2268
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
2269 #endif
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
2270
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
2271 #endif