annotate tremor/tremor.diff @ 26189:8d1e8229b660

Try to fix the description of what mbcmp influences, please fix if I misunderstood the code.
author reimar
date Tue, 11 Mar 2008 10:03:25 +0000
parents fe50eaad932d
children e61b6352f32f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19257
fb837e2ab413 Make patch apply cleanly and with -p0, not a mix of -p0 and -p1.
diego
parents: 16266
diff changeset
1 --- misc.h 2005-01-04 16:29:01.000000000 +0100
fb837e2ab413 Make patch apply cleanly and with -p0, not a mix of -p0 and -p1.
diego
parents: 16266
diff changeset
2 +++ misc.h 2004-12-30 13:09:20.000000000 +0100
14369
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
3 @@ -29,8 +29,9 @@
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
4 /* 64 bit multiply */
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
5
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
6 #include <sys/types.h>
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
7 +#include "config.h"
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
8
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
9 -#if BYTE_ORDER==LITTLE_ENDIAN
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
10 +#ifndef WORDS_BIGENDIAN
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
11 union magic {
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
12 struct {
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
13 ogg_int32_t lo;
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
14 @@ -38,9 +39,7 @@
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
15 } halves;
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
16 ogg_int64_t whole;
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
17 };
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
18 -#endif
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
19 -
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
20 -#if BYTE_ORDER==BIG_ENDIAN
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
21 +#else
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
22 union magic {
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
23 struct {
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
24 ogg_int32_t hi;
19257
fb837e2ab413 Make patch apply cleanly and with -p0, not a mix of -p0 and -p1.
diego
parents: 16266
diff changeset
25 --- os_types.h 2005-01-04 16:29:02.000000000 +0100
fb837e2ab413 Make patch apply cleanly and with -p0, not a mix of -p0 and -p1.
diego
parents: 16266
diff changeset
26 +++ os_types.h 2005-01-05 10:39:07.000000000 +0100
15455
5fed6f245cc3 Update with Jindrich's latest change.
diego
parents: 14369
diff changeset
27 @@ -32,57 +32,11 @@
14369
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
28 #define _ogg_realloc realloc
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
29 #define _ogg_free free
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
30
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
31 -#ifdef _WIN32
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
32 -
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
33 -# ifndef __GNUC__
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
34 - /* MSVC/Borland */
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
35 - typedef __int64 ogg_int64_t;
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
36 - typedef __int32 ogg_int32_t;
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
37 - typedef unsigned __int32 ogg_uint32_t;
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
38 - typedef __int16 ogg_int16_t;
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
39 -# else
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
40 - /* Cygwin */
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
41 - #include <_G_config.h>
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
42 - typedef _G_int64_t ogg_int64_t;
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
43 - typedef _G_int32_t ogg_int32_t;
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
44 - typedef _G_uint32_t ogg_uint32_t;
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
45 - typedef _G_int16_t ogg_int16_t;
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
46 -# endif
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
47 -
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
48 -#elif defined(__MACOS__)
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
49 -
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
50 -# include <sys/types.h>
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
51 - typedef SInt16 ogg_int16_t;
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
52 - typedef SInt32 ogg_int32_t;
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
53 - typedef UInt32 ogg_uint32_t;
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
54 - typedef SInt64 ogg_int64_t;
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
55 -
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
56 -#elif defined(__MACOSX__) /* MacOS X Framework build */
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
57 -
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
58 -# include <sys/types.h>
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
59 - typedef int16_t ogg_int16_t;
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
60 - typedef int32_t ogg_int32_t;
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
61 - typedef u_int32_t ogg_uint32_t;
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
62 + #include <inttypes.h>
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
63 typedef int64_t ogg_int64_t;
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
64 -
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
65 -#elif defined(__BEOS__)
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
66 -
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
67 - /* Be */
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
68 -# include <inttypes.h>
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
69 -
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
70 -#elif defined (__EMX__)
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
71 -
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
72 - /* OS/2 GCC */
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
73 - typedef short ogg_int16_t;
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
74 - typedef int ogg_int32_t;
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
75 - typedef unsigned int ogg_uint32_t;
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
76 - typedef long long ogg_int64_t;
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
77 -
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
78 -#else
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
79 -
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
80 -# include <sys/types.h>
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
81 -# include "config_types.h"
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
82 -
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
83 -#endif
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
84 + typedef int32_t ogg_int32_t;
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
85 + typedef uint32_t ogg_uint32_t;
15455
5fed6f245cc3 Update with Jindrich's latest change.
diego
parents: 14369
diff changeset
86 + typedef uint16_t ogg_uint16_t;
14369
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
87 + typedef int16_t ogg_int16_t;
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
88
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
89 #endif /* _OS_TYPES_H */
16266
c820ccd4f5eb fix warnings and decoding on CYGWIN (produced only noise before this change)
faust3
parents: 15455
diff changeset
90 --- sharedbook.c 30 Dec 2004 12:09:20 -0000 1.1
c820ccd4f5eb fix warnings and decoding on CYGWIN (produced only noise before this change)
faust3
parents: 15455
diff changeset
91 +++ sharedbook.c 18 Aug 2005 16:13:54 -0000
19257
fb837e2ab413 Make patch apply cleanly and with -p0, not a mix of -p0 and -p1.
diego
parents: 16266
diff changeset
92 @@ -208,7 +211,7 @@
16266
c820ccd4f5eb fix warnings and decoding on CYGWIN (produced only noise before this change)
faust3
parents: 15455
diff changeset
93 int indexdiv=1;
c820ccd4f5eb fix warnings and decoding on CYGWIN (produced only noise before this change)
faust3
parents: 15455
diff changeset
94 for(k=0;k<b->dim;k++){
c820ccd4f5eb fix warnings and decoding on CYGWIN (produced only noise before this change)
faust3
parents: 15455
diff changeset
95 int index= (j/indexdiv)%quantvals;
c820ccd4f5eb fix warnings and decoding on CYGWIN (produced only noise before this change)
faust3
parents: 15455
diff changeset
96 - int point;
c820ccd4f5eb fix warnings and decoding on CYGWIN (produced only noise before this change)
faust3
parents: 15455
diff changeset
97 + ogg_int32_t point;
c820ccd4f5eb fix warnings and decoding on CYGWIN (produced only noise before this change)
faust3
parents: 15455
diff changeset
98 int val=VFLOAT_MULTI(delta,delpoint,
c820ccd4f5eb fix warnings and decoding on CYGWIN (produced only noise before this change)
faust3
parents: 15455
diff changeset
99 abs(b->quantlist[index]),&point);
c820ccd4f5eb fix warnings and decoding on CYGWIN (produced only noise before this change)
faust3
parents: 15455
diff changeset
100
19257
fb837e2ab413 Make patch apply cleanly and with -p0, not a mix of -p0 and -p1.
diego
parents: 16266
diff changeset
101 @@ -242,7 +245,7 @@
16266
c820ccd4f5eb fix warnings and decoding on CYGWIN (produced only noise before this change)
faust3
parents: 15455
diff changeset
102 int lastpoint=0;
c820ccd4f5eb fix warnings and decoding on CYGWIN (produced only noise before this change)
faust3
parents: 15455
diff changeset
103
c820ccd4f5eb fix warnings and decoding on CYGWIN (produced only noise before this change)
faust3
parents: 15455
diff changeset
104 for(k=0;k<b->dim;k++){
c820ccd4f5eb fix warnings and decoding on CYGWIN (produced only noise before this change)
faust3
parents: 15455
diff changeset
105 - int point;
c820ccd4f5eb fix warnings and decoding on CYGWIN (produced only noise before this change)
faust3
parents: 15455
diff changeset
106 + ogg_int32_t point;
c820ccd4f5eb fix warnings and decoding on CYGWIN (produced only noise before this change)
faust3
parents: 15455
diff changeset
107 int val=VFLOAT_MULTI(delta,delpoint,
c820ccd4f5eb fix warnings and decoding on CYGWIN (produced only noise before this change)
faust3
parents: 15455
diff changeset
108 abs(b->quantlist[j*b->dim+k]),&point);
c820ccd4f5eb fix warnings and decoding on CYGWIN (produced only noise before this change)
faust3
parents: 15455
diff changeset
109
24796
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
110 --- block.h (revision 0)
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
111 +++ block.h (revision 0)
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
112 @@ -0,0 +1,24 @@
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
113 +/********************************************************************
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
114 + * *
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
115 + * THIS FILE IS PART OF THE OggVorbis 'TREMOR' CODEC SOURCE CODE. *
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
116 + * *
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
117 + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
118 + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
119 + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
120 + * *
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
121 + * THE OggVorbis 'TREMOR' SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
122 + * BY THE Xiph.Org FOUNDATION http://www.xiph.org/ *
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
123 + * *
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
124 + ********************************************************************
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
125 +
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
126 + function: basic shared block operations
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
127 +
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
128 + ********************************************************************/
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
129 +
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
130 +#ifndef _V_BLOCK_H_
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
131 +#define _V_BLOCK_H_
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
132 +
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
133 +void *_vorbis_block_alloc(vorbis_block *vb,long bytes);
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
134 +void _vorbis_block_ripcord(vorbis_block *vb);
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
135 +
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
136 +#endif
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
137 --- floor0.c (revision 24821)
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
138 +++ floor0.c (working copy)
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
139 @@ -25,6 +25,7 @@
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
140 #include "codebook.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
141 #include "misc.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
142 #include "os.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
143 +#include "block.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
144
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
145 #define LSP_FRACBITS 14
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
146
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
147 --- floor1.c (revision 24821)
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
148 +++ floor1.c (working copy)
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
149 @@ -24,6 +24,7 @@
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
150 #include "registry.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
151 #include "codebook.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
152 #include "misc.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
153 +#include "block.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
154
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
155 #define floor1_rangedB 140 /* floor 1 fixed at -140dB to 0dB range */
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
156
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
157 --- synthesis.c (revision 24821)
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
158 +++ synthesis.c (working copy)
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
159 @@ -23,6 +23,7 @@
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
160 #include "registry.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
161 #include "misc.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
162 #include "os.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
163 +#include "block.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
164
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
165 int vorbis_synthesis(vorbis_block *vb,ogg_packet *op){
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
166 vorbis_dsp_state *vd=vb->vd;
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
167 --- res012.c (revision 24821)
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
168 +++ res012.c (working copy)
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
169 @@ -25,6 +25,7 @@
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
170 #include "codebook.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
171 #include "misc.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
172 #include "os.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
173 +#include "block.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
174
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
175 typedef struct {
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
176 vorbis_info_residue0 *info;
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
177 --- block.c (revision 24821)
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
178 +++ block.c (working copy)
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
179 @@ -25,6 +25,7 @@
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
180 #include "window.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
181 #include "registry.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
182 #include "misc.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
183 +#include "block.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
184
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
185 static int ilog(unsigned int v){
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
186 int ret=0;
25847
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
187 --- os.h (revision 25873)
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
188 +++ os.h (working copy)
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
189 @@ -20,18 +20,8 @@
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
190 #include <math.h>
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
191 #include "os_types.h"
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
192
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
193 -#ifndef _V_IFDEFJAIL_H_
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
194 -# define _V_IFDEFJAIL_H_
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
195 +#define STIN static inline
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
196
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
197 -# ifdef __GNUC__
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
198 -# define STIN static __inline__
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
199 -# elif _WIN32
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
200 -# define STIN static __inline
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
201 -# endif
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
202 -#else
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
203 -# define STIN static
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
204 -#endif
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
205 -
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
206 #ifndef M_PI
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
207 # define M_PI (3.1415926536f)
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
208 #endif