Mercurial > mplayer.hg
annotate libfaad2/ssr_win.h @ 31215:d0f70692a140
Make 3dnow and MMX code compile for 64 bit (just stupid search-and-replace).
They are not compiled/enabled on 64 bit though, since they are vastly slower
but would still be selected by default.
author | reimar |
---|---|
date | Sun, 30 May 2010 10:01:40 +0000 |
parents | e83eef58b30a |
children |
rev | line source |
---|---|
10725 | 1 /* |
10989 | 2 ** FAAD - Freeware Advanced Audio Decoder |
3 ** Copyright (C) 2002 M. Bakker | |
29264
e83eef58b30a
Remove all kind of trailing whitespaces from all MPlayer's files.
bircoph
parents:
18141
diff
changeset
|
4 ** |
10725 | 5 ** This program is free software; you can redistribute it and/or modify |
6 ** it under the terms of the GNU General Public License as published by | |
7 ** the Free Software Foundation; either version 2 of the License, or | |
8 ** (at your option) any later version. | |
29264
e83eef58b30a
Remove all kind of trailing whitespaces from all MPlayer's files.
bircoph
parents:
18141
diff
changeset
|
9 ** |
10725 | 10 ** This program is distributed in the hope that it will be useful, |
11 ** but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 ** GNU General Public License for more details. | |
29264
e83eef58b30a
Remove all kind of trailing whitespaces from all MPlayer's files.
bircoph
parents:
18141
diff
changeset
|
14 ** |
10725 | 15 ** You should have received a copy of the GNU General Public License |
29264
e83eef58b30a
Remove all kind of trailing whitespaces from all MPlayer's files.
bircoph
parents:
18141
diff
changeset
|
16 ** along with this program; if not, write to the Free Software |
10725 | 17 ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
18 ** | |
18141 | 19 ** $Id: ssr_win.h,v 1.13 2004/09/04 14:56:29 menno Exp $ |
10725 | 20 **/ |
21 | |
22 #ifndef __SSR_WIN_H__ | |
23 #define __SSR_WIN_H__ | |
24 | |
25 #ifdef __cplusplus | |
26 extern "C" { | |
27 #endif | |
28 | |
29 #ifdef _MSC_VER | |
30 #pragma warning(disable:4305) | |
31 #pragma warning(disable:4244) | |
32 #endif | |
33 | |
34 static real_t sine_short_32[] = { | |
35 0.0245412290, | |
36 0.0735645667, | |
37 0.1224106774, | |
38 0.1709618866, | |
39 0.2191012502, | |
40 0.2667127550, | |
41 0.3136817515, | |
42 0.3598950505, | |
43 0.4052413106, | |
44 0.4496113360, | |
45 0.4928981960, | |
46 0.5349976420, | |
47 0.5758082271, | |
48 0.6152316332, | |
49 0.6531728506, | |
50 0.6895405650, | |
51 0.7242470980, | |
52 0.7572088838, | |
53 0.7883464694, | |
54 0.8175848126, | |
55 0.8448535800, | |
56 0.8700870275, | |
57 0.8932242990, | |
58 0.9142097831, | |
59 0.9329928160, | |
60 0.9495282173, | |
61 0.9637760520, | |
62 0.9757021666, | |
63 0.9852776527, | |
64 0.9924795628, | |
65 0.9972904325, | |
66 0.9996988177 | |
67 }; | |
68 | |
69 static real_t sine_long_256[] = { | |
70 0.0030679568, | |
71 0.0092037553, | |
72 0.0153392069, | |
73 0.0214740802, | |
74 0.0276081469, | |
75 0.0337411724, | |
76 0.0398729295, | |
77 0.0460031852, | |
78 0.0521317050, | |
79 0.0582582653, | |
80 0.0643826351, | |
81 0.0705045760, | |
82 0.0766238645, | |
83 0.0827402696, | |
84 0.0888535529, | |
85 0.0949634984, | |
86 0.1010698676, | |
87 0.1071724296, | |
88 0.1132709533, | |
89 0.1193652153, | |
90 0.1254549921, | |
91 0.1315400302, | |
92 0.1376201212, | |
93 0.1436950415, | |
94 0.1497645378, | |
95 0.1558284014, | |
96 0.1618863940, | |
97 0.1679383069, | |
98 0.1739838719, | |
99 0.1800229102, | |
100 0.1860551536, | |
101 0.1920804083, | |
102 0.1980984211, | |
103 0.2041089684, | |
104 0.2101118416, | |
105 0.2161068022, | |
106 0.2220936269, | |
107 0.2280720919, | |
108 0.2340419590, | |
109 0.2400030345, | |
110 0.2459550500, | |
111 0.2518978119, | |
112 0.2578310966, | |
113 0.2637546957, | |
114 0.2696683407, | |
115 0.2755718231, | |
116 0.2814649343, | |
117 0.2873474658, | |
118 0.2932191789, | |
119 0.2990798354, | |
120 0.3049292266, | |
121 0.3107671738, | |
122 0.3165933788, | |
123 0.3224076927, | |
124 0.3282098472, | |
125 0.3339996636, | |
126 0.3397769034, | |
127 0.3455413282, | |
128 0.3512927592, | |
129 0.3570309579, | |
130 0.3627557456, | |
131 0.3684668541, | |
132 0.3741640747, | |
133 0.3798472285, | |
134 0.3855160773, | |
135 0.3911703825, | |
136 0.3968099952, | |
137 0.4024346471, | |
138 0.4080441594, | |
139 0.4136383235, | |
140 0.4192169011, | |
141 0.4247796834, | |
142 0.4303264916, | |
143 0.4358570874, | |
144 0.4413712919, | |
145 0.4468688369, | |
146 0.4523496032, | |
147 0.4578133225, | |
148 0.4632597864, | |
149 0.4686888456, | |
150 0.4741002321, | |
151 0.4794937670, | |
152 0.4848692715, | |
153 0.4902265072, | |
154 0.4955652654, | |
155 0.5008853674, | |
156 0.5061866641, | |
157 0.5114688873, | |
158 0.5167317986, | |
159 0.5219752789, | |
160 0.5271991491, | |
161 0.5324031115, | |
162 0.5375871062, | |
163 0.5427507758, | |
164 0.5478940606, | |
165 0.5530167222, | |
166 0.5581185222, | |
167 0.5631993413, | |
168 0.5682589412, | |
169 0.5732972026, | |
170 0.5783138275, | |
171 0.5833086967, | |
172 0.5882815719, | |
173 0.5932323337, | |
174 0.5981607437, | |
175 0.6030666232, | |
176 0.6079497933, | |
177 0.6128100753, | |
178 0.6176473498, | |
179 0.6224613190, | |
180 0.6272518039, | |
181 0.6320187449, | |
182 0.6367619038, | |
183 0.6414810419, | |
184 0.6461760402, | |
185 0.6508467197, | |
186 0.6554928422, | |
187 0.6601143479, | |
188 0.6647109985, | |
189 0.6692826152, | |
190 0.6738290191, | |
191 0.6783500314, | |
192 0.6828455329, | |
193 0.6873153448, | |
194 0.6917592883, | |
195 0.6961771250, | |
196 0.7005687952, | |
197 0.7049341202, | |
198 0.7092728615, | |
199 0.7135848999, | |
200 0.7178700566, | |
201 0.7221282125, | |
202 0.7263591886, | |
203 0.7305628061, | |
204 0.7347388864, | |
205 0.7388873696, | |
206 0.7430079579, | |
207 0.7471006513, | |
208 0.7511651516, | |
209 0.7552013993, | |
210 0.7592092156, | |
211 0.7631884217, | |
212 0.7671388984, | |
213 0.7710605264, | |
214 0.7749531269, | |
215 0.7788165212, | |
216 0.7826505899, | |
217 0.7864552140, | |
218 0.7902302146, | |
219 0.7939754725, | |
220 0.7976908684, | |
221 0.8013761640, | |
222 0.8050313592, | |
223 0.8086562157, | |
224 0.8122506142, | |
225 0.8158144355, | |
226 0.8193475604, | |
227 0.8228498101, | |
228 0.8263210654, | |
229 0.8297612667, | |
230 0.8331701756, | |
231 0.8365477324, | |
232 0.8398938179, | |
233 0.8432082534, | |
234 0.8464909792, | |
235 0.8497417569, | |
236 0.8529606462, | |
237 0.8561473489, | |
238 0.8593018055, | |
239 0.8624239564, | |
240 0.8655136228, | |
241 0.8685707450, | |
242 0.8715950847, | |
243 0.8745866418, | |
244 0.8775452971, | |
245 0.8804709315, | |
246 0.8833633661, | |
247 0.8862225413, | |
248 0.8890483975, | |
249 0.8918406963, | |
250 0.8945994973, | |
251 0.8973246217, | |
252 0.9000158906, | |
253 0.9026733041, | |
254 0.9052967429, | |
255 0.9078861475, | |
256 0.9104412794, | |
257 0.9129621983, | |
258 0.9154487252, | |
259 0.9179008007, | |
260 0.9203183055, | |
261 0.9227011204, | |
262 0.9250492454, | |
263 0.9273625612, | |
264 0.9296408892, | |
265 0.9318842888, | |
266 0.9340925813, | |
267 0.9362657070, | |
268 0.9384035468, | |
269 0.9405061007, | |
270 0.9425731897, | |
271 0.9446048737, | |
272 0.9466009140, | |
273 0.9485613704, | |
274 0.9504860640, | |
275 0.9523749948, | |
276 0.9542281032, | |
277 0.9560452700, | |
278 0.9578264356, | |
279 0.9595715404, | |
280 0.9612805247, | |
281 0.9629532695, | |
282 0.9645897746, | |
283 0.9661900401, | |
284 0.9677538276, | |
285 0.9692812562, | |
286 0.9707721472, | |
287 0.9722265005, | |
288 0.9736442566, | |
289 0.9750253558, | |
290 0.9763697386, | |
291 0.9776773453, | |
292 0.9789481759, | |
293 0.9801821709, | |
294 0.9813792109, | |
295 0.9825392962, | |
296 0.9836624265, | |
297 0.9847484827, | |
298 0.9857975245, | |
299 0.9868094325, | |
300 0.9877841473, | |
301 0.9887216687, | |
302 0.9896219969, | |
303 0.9904850721, | |
304 0.9913108945, | |
305 0.9920993447, | |
306 0.9928504229, | |
307 0.9935641289, | |
308 0.9942404628, | |
309 0.9948793054, | |
310 0.9954807758, | |
311 0.9960446954, | |
312 0.9965711236, | |
313 0.9970600605, | |
314 0.9975114465, | |
315 0.9979252815, | |
316 0.9983015656, | |
317 0.9986402392, | |
318 0.9989413023, | |
319 0.9992047548, | |
320 0.9994305968, | |
321 0.9996188283, | |
322 0.9997693896, | |
323 0.9998823404, | |
324 0.9999576211, | |
325 0.9999952912 | |
326 }; | |
327 | |
328 static real_t kbd_short_32[] = { | |
329 0.0000875914060105, | |
330 0.0009321760265333, | |
331 0.0032114611466596, | |
332 0.0081009893216786, | |
333 0.0171240286619181, | |
334 0.0320720743527833, | |
335 0.0548307856028528, | |
336 0.0871361822564870, | |
337 0.1302923415174603, | |
338 0.1848955425508276, | |
339 0.2506163195331889, | |
340 0.3260874142923209, | |
341 0.4089316830907141, | |
342 0.4959414909423747, | |
343 0.5833939894958904, | |
344 0.6674601983218376, | |
345 0.7446454751465113, | |
346 0.8121892962974020, | |
347 0.8683559394406505, | |
348 0.9125649996381605, | |
349 0.9453396205809574, | |
350 0.9680864942677585, | |
351 0.9827581789763112, | |
352 0.9914756203467121, | |
353 0.9961964092194694, | |
354 0.9984956609571091, | |
355 0.9994855586984285, | |
356 0.9998533730714648, | |
357 0.9999671864476404, | |
358 0.9999948432453556, | |
359 0.9999995655238333, | |
360 0.9999999961638728 | |
361 }; | |
362 | |
363 | |
364 static real_t kbd_long_256[] = { | |
365 0.0005851230124487, | |
366 0.0009642149851497, | |
367 0.0013558207534965, | |
368 0.0017771849644394, | |
369 0.0022352533849672, | |
370 0.0027342299070304, | |
371 0.0032773001022195, | |
372 0.0038671998069216, | |
373 0.0045064443384152, | |
374 0.0051974336885144, | |
375 0.0059425050016407, | |
376 0.0067439602523141, | |
377 0.0076040812644888, | |
378 0.0085251378135895, | |
379 0.0095093917383048, | |
380 0.0105590986429280, | |
381 0.0116765080854300, | |
382 0.0128638627792770, | |
383 0.0141233971318631, | |
384 0.0154573353235409, | |
385 0.0168678890600951, | |
386 0.0183572550877256, | |
387 0.0199276125319803, | |
388 0.0215811201042484, | |
389 0.0233199132076965, | |
390 0.0251461009666641, | |
391 0.0270617631981826, | |
392 0.0290689473405856, | |
393 0.0311696653515848, | |
394 0.0333658905863535, | |
395 0.0356595546648444, | |
396 0.0380525443366107, | |
397 0.0405466983507029, | |
398 0.0431438043376910, | |
399 0.0458455957104702, | |
400 0.0486537485902075, | |
401 0.0515698787635492, | |
402 0.0545955386770205, | |
403 0.0577322144743916, | |
404 0.0609813230826460, | |
405 0.0643442093520723, | |
406 0.0678221432558827, | |
407 0.0714163171546603, | |
408 0.0751278431308314, | |
409 0.0789577503982528, | |
410 0.0829069827918993, | |
411 0.0869763963425241, | |
412 0.0911667569410503, | |
413 0.0954787380973307, | |
414 0.0999129187977865, | |
415 0.1044697814663005, | |
416 0.1091497100326053, | |
417 0.1139529881122542, | |
418 0.1188797973021148, | |
419 0.1239302155951605, | |
420 0.1291042159181728, | |
421 0.1344016647957880, | |
422 0.1398223211441467, | |
423 0.1453658351972151, | |
424 0.1510317475686540, | |
425 0.1568194884519144, | |
426 0.1627283769610327, | |
427 0.1687576206143887, | |
428 0.1749063149634756, | |
429 0.1811734433685097, | |
430 0.1875578769224857, | |
431 0.1940583745250518, | |
432 0.2006735831073503, | |
433 0.2074020380087318, | |
434 0.2142421635060113, | |
435 0.2211922734956977, | |
436 0.2282505723293797, | |
437 0.2354151558022098, | |
438 0.2426840122941792, | |
439 0.2500550240636293, | |
440 0.2575259686921987, | |
441 0.2650945206801527, | |
442 0.2727582531907993, | |
443 0.2805146399424422, | |
444 0.2883610572460804, | |
445 0.2962947861868143, | |
446 0.3043130149466800, | |
447 0.3124128412663888, | |
448 0.3205912750432127, | |
449 0.3288452410620226, | |
450 0.3371715818562547, | |
451 0.3455670606953511, | |
452 0.3540283646950029, | |
453 0.3625521080463003, | |
454 0.3711348353596863, | |
455 0.3797730251194006, | |
456 0.3884630932439016, | |
457 0.3972013967475546, | |
458 0.4059842374986933, | |
459 0.4148078660689724, | |
460 0.4236684856687616, | |
461 0.4325622561631607, | |
462 0.4414852981630577, | |
463 0.4504336971855032, | |
464 0.4594035078775303, | |
465 0.4683907582974173, | |
466 0.4773914542472655, | |
467 0.4864015836506502, | |
468 0.4954171209689973, | |
469 0.5044340316502417, | |
470 0.5134482766032377, | |
471 0.5224558166913167, | |
472 0.5314526172383208, | |
473 0.5404346525403849, | |
474 0.5493979103766972, | |
475 0.5583383965124314, | |
476 0.5672521391870222, | |
477 0.5761351935809411, | |
478 0.5849836462541291, | |
479 0.5937936195492526, | |
480 0.6025612759529649, | |
481 0.6112828224083939, | |
482 0.6199545145721097, | |
483 0.6285726610088878, | |
484 0.6371336273176413, | |
485 0.6456338401819751, | |
486 0.6540697913388968, | |
487 0.6624380414593221, | |
488 0.6707352239341151, | |
489 0.6789580485595255, | |
490 0.6871033051160131, | |
491 0.6951678668345944, | |
492 0.7031486937449871, | |
493 0.7110428359000029, | |
494 0.7188474364707993, | |
495 0.7265597347077880, | |
496 0.7341770687621900, | |
497 0.7416968783634273, | |
498 0.7491167073477523, | |
499 0.7564342060337386, | |
500 0.7636471334404891, | |
501 0.7707533593446514, | |
502 0.7777508661725849, | |
503 0.7846377507242818, | |
504 0.7914122257259034, | |
505 0.7980726212080798, | |
506 0.8046173857073919, | |
507 0.8110450872887550, | |
508 0.8173544143867162, | |
509 0.8235441764639875, | |
510 0.8296133044858474, | |
511 0.8355608512093652, | |
512 0.8413859912867303, | |
513 0.8470880211822968, | |
514 0.8526663589032990, | |
515 0.8581205435445334, | |
516 0.8634502346476508, | |
517 0.8686552113760616, | |
518 0.8737353715068081, | |
519 0.8786907302411250, | |
520 0.8835214188357692, | |
521 0.8882276830575707, | |
522 0.8928098814640207, | |
523 0.8972684835130879, | |
524 0.9016040675058185, | |
525 0.9058173183656508, | |
526 0.9099090252587376, | |
527 0.9138800790599416, | |
528 0.9177314696695282, | |
529 0.9214642831859411, | |
530 0.9250796989403991, | |
531 0.9285789863994010, | |
532 0.9319635019415643, | |
533 0.9352346855155568, | |
534 0.9383940571861993, | |
535 0.9414432135761304, | |
536 0.9443838242107182, | |
537 0.9472176277741918, | |
538 0.9499464282852282, | |
539 0.9525720912004834, | |
540 0.9550965394547873, | |
541 0.9575217494469370, | |
542 0.9598497469802043, | |
543 0.9620826031668507, | |
544 0.9642224303060783, | |
545 0.9662713777449607, | |
546 0.9682316277319895, | |
547 0.9701053912729269, | |
548 0.9718949039986892, | |
549 0.9736024220549734, | |
550 0.9752302180233160, | |
551 0.9767805768831932, | |
552 0.9782557920246753, | |
553 0.9796581613210076, | |
554 0.9809899832703159, | |
555 0.9822535532154261, | |
556 0.9834511596505429, | |
557 0.9845850806232530, | |
558 0.9856575802399989, | |
559 0.9866709052828243, | |
560 0.9876272819448033, | |
561 0.9885289126911557, | |
562 0.9893779732525968, | |
563 0.9901766097569984, | |
564 0.9909269360049311, | |
565 0.9916310308941294, | |
566 0.9922909359973702, | |
567 0.9929086532976777, | |
568 0.9934861430841844, | |
569 0.9940253220113651, | |
570 0.9945280613237534, | |
571 0.9949961852476154, | |
572 0.9954314695504363, | |
573 0.9958356402684387, | |
574 0.9962103726017252, | |
575 0.9965572899760172, | |
576 0.9968779632693499, | |
577 0.9971739102014799, | |
578 0.9974465948831872, | |
579 0.9976974275220812, | |
580 0.9979277642809907, | |
581 0.9981389072844972, | |
582 0.9983321047686901, | |
583 0.9985085513687731, | |
584 0.9986693885387259, | |
585 0.9988157050968516, | |
586 0.9989485378906924, | |
587 0.9990688725744943, | |
588 0.9991776444921379, | |
589 0.9992757396582338, | |
590 0.9993639958299003, | |
591 0.9994432036616085, | |
592 0.9995141079353859, | |
593 0.9995774088586188, | |
594 0.9996337634216871, | |
595 0.9996837868076957, | |
596 0.9997280538466377, | |
597 0.9997671005064359, | |
598 0.9998014254134544, | |
599 0.9998314913952471, | |
600 0.9998577270385304, | |
601 0.9998805282555989, | |
602 0.9999002598526793, | |
603 0.9999172570940037, | |
604 0.9999318272557038, | |
605 0.9999442511639580, | |
606 0.9999547847121726, | |
607 0.9999636603523446, | |
608 0.9999710885561258, | |
609 0.9999772592414866, | |
610 0.9999823431612708, | |
611 0.9999864932503106, | |
612 0.9999898459281599, | |
613 0.9999925223548691, | |
614 0.9999946296375997, | |
615 0.9999962619864214, | |
616 0.9999975018180320, | |
617 0.9999984208055542, | |
618 0.9999990808746198, | |
619 0.9999995351446231, | |
620 0.9999998288155155 | |
621 }; | |
622 | |
623 #ifdef __cplusplus | |
624 } | |
625 #endif | |
626 #endif |