1 | /*************************************************************************** |
---|
2 | * Copyright (C) 2005 by Prakash Punnoor * |
---|
3 | * prakash@punnoor.de * |
---|
4 | * * |
---|
5 | * This program is free software; you can redistribute it and/or modify * |
---|
6 | * it under the terms of the GNU Library General Public License as * |
---|
7 | * published by the Free Software Foundation; either version 2 of the * |
---|
8 | * License, or (at your option) any later version. * |
---|
9 | * * |
---|
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. * |
---|
14 | * * |
---|
15 | * You should have received a copy of the GNU Library General Public * |
---|
16 | * License along with this program; if not, write to the * |
---|
17 | * Free Software Foundation, Inc., * |
---|
18 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * |
---|
19 | ***************************************************************************/ |
---|
20 | #ifndef _MIXAUDIO16_MMX_PRK_H_ |
---|
21 | #define _MIXAUDIO16_MMX_PRK_H_ |
---|
22 | |
---|
23 | #include "al_siteconfig.h" |
---|
24 | #ifdef __MMX__ |
---|
25 | #include <AL/al.h> |
---|
26 | #include "al_main.h" |
---|
27 | #include "al_types.h" |
---|
28 | |
---|
29 | /* |
---|
30 | * max_audioval is the maximum value of a signed short. |
---|
31 | */ |
---|
32 | #define max_audioval ((1<<(16-1))-1) |
---|
33 | |
---|
34 | /* |
---|
35 | * min_audioval is the minimum value of a signed short. |
---|
36 | */ |
---|
37 | #define min_audioval -(1<<(16-1)) |
---|
38 | |
---|
39 | void MixAudio16_MMX_n(ALshort *dst, alMixEntry *entries, ALuint numents); |
---|
40 | void MixAudio16_MMX_0( ALshort *dst, alMixEntry *entries ); |
---|
41 | void MixAudio16_MMX_1( ALshort *dst, alMixEntry *entries ); |
---|
42 | void MixAudio16_MMX_2( ALshort *dst, alMixEntry *entries ); |
---|
43 | void MixAudio16_MMX_3( ALshort *dst, alMixEntry *entries ); |
---|
44 | void MixAudio16_MMX_4( ALshort *dst, alMixEntry *entries ); |
---|
45 | void MixAudio16_MMX_5( ALshort *dst, alMixEntry *entries ); |
---|
46 | void MixAudio16_MMX_6( ALshort *dst, alMixEntry *entries ); |
---|
47 | void MixAudio16_MMX_7( ALshort *dst, alMixEntry *entries ); |
---|
48 | void MixAudio16_MMX_8( ALshort *dst, alMixEntry *entries ); |
---|
49 | void MixAudio16_MMX_9( ALshort *dst, alMixEntry *entries ); |
---|
50 | void MixAudio16_MMX_10( ALshort *dst, alMixEntry *entries ); |
---|
51 | void MixAudio16_MMX_11( ALshort *dst, alMixEntry *entries ); |
---|
52 | void MixAudio16_MMX_12( ALshort *dst, alMixEntry *entries ); |
---|
53 | void MixAudio16_MMX_13( ALshort *dst, alMixEntry *entries ); |
---|
54 | void MixAudio16_MMX_14( ALshort *dst, alMixEntry *entries ); |
---|
55 | void MixAudio16_MMX_15( ALshort *dst, alMixEntry *entries ); |
---|
56 | void MixAudio16_MMX_16( ALshort *dst, alMixEntry *entries ); |
---|
57 | void MixAudio16_MMX_17( ALshort *dst, alMixEntry *entries ); |
---|
58 | void MixAudio16_MMX_18( ALshort *dst, alMixEntry *entries ); |
---|
59 | void MixAudio16_MMX_19( ALshort *dst, alMixEntry *entries ); |
---|
60 | void MixAudio16_MMX_20( ALshort *dst, alMixEntry *entries ); |
---|
61 | void MixAudio16_MMX_21( ALshort *dst, alMixEntry *entries ); |
---|
62 | void MixAudio16_MMX_22( ALshort *dst, alMixEntry *entries ); |
---|
63 | void MixAudio16_MMX_23( ALshort *dst, alMixEntry *entries ); |
---|
64 | void MixAudio16_MMX_24( ALshort *dst, alMixEntry *entries ); |
---|
65 | void MixAudio16_MMX_25( ALshort *dst, alMixEntry *entries ); |
---|
66 | void MixAudio16_MMX_26( ALshort *dst, alMixEntry *entries ); |
---|
67 | void MixAudio16_MMX_27( ALshort *dst, alMixEntry *entries ); |
---|
68 | void MixAudio16_MMX_28( ALshort *dst, alMixEntry *entries ); |
---|
69 | void MixAudio16_MMX_29( ALshort *dst, alMixEntry *entries ); |
---|
70 | void MixAudio16_MMX_30( ALshort *dst, alMixEntry *entries ); |
---|
71 | void MixAudio16_MMX_31( ALshort *dst, alMixEntry *entries ); |
---|
72 | void MixAudio16_MMX_32( ALshort *dst, alMixEntry *entries ); |
---|
73 | #endif /* __MMX__ */ |
---|
74 | #endif /* _MIXAUDIO16_MMX_PRK_H_ */ |
---|