1 --- misc.h 2005-01-04 16:29:01.000000000 +0100
2 +++ misc.h 2004-12-30 13:09:20.000000000 +0100
9 -#if BYTE_ORDER==LITTLE_ENDIAN
10 +#ifndef WORDS_BIGENDIAN
20 -#if BYTE_ORDER==BIG_ENDIAN
25 --- os_types.h 2005-01-04 16:29:02.000000000 +0100
26 +++ os_types.h 2005-01-05 10:39:07.000000000 +0100
28 #define _ogg_realloc realloc
29 #define _ogg_free free
35 - typedef __int64 ogg_int64_t;
36 - typedef __int32 ogg_int32_t;
37 - typedef unsigned __int32 ogg_uint32_t;
38 - typedef __int16 ogg_int16_t;
41 - #include <_G_config.h>
42 - typedef _G_int64_t ogg_int64_t;
43 - typedef _G_int32_t ogg_int32_t;
44 - typedef _G_uint32_t ogg_uint32_t;
45 - typedef _G_int16_t ogg_int16_t;
48 -#elif defined(__MACOS__)
50 -# include <sys/types.h>
51 - typedef SInt16 ogg_int16_t;
52 - typedef SInt32 ogg_int32_t;
53 - typedef UInt32 ogg_uint32_t;
54 - typedef SInt64 ogg_int64_t;
56 -#elif defined(__MACOSX__) /* MacOS X Framework build */
58 -# include <sys/types.h>
59 - typedef int16_t ogg_int16_t;
60 - typedef int32_t ogg_int32_t;
61 - typedef u_int32_t ogg_uint32_t;
62 + #include <inttypes.h>
63 typedef int64_t ogg_int64_t;
65 -#elif defined(__BEOS__)
68 -# include <inttypes.h>
70 -#elif defined (__EMX__)
73 - typedef short ogg_int16_t;
74 - typedef int ogg_int32_t;
75 - typedef unsigned int ogg_uint32_t;
76 - typedef long long ogg_int64_t;
80 -# include <sys/types.h>
81 -# include "config_types.h"
84 + typedef int32_t ogg_int32_t;
85 + typedef uint32_t ogg_uint32_t;
86 + typedef uint16_t ogg_uint16_t;
87 + typedef int16_t ogg_int16_t;
89 #endif /* _OS_TYPES_H */
90 --- sharedbook.c 30 Dec 2004 12:09:20 -0000 1.1
91 +++ sharedbook.c 18 Aug 2005 16:13:54 -0000
94 for(k=0;k<b->dim;k++){
95 int index= (j/indexdiv)%quantvals;
98 int val=VFLOAT_MULTI(delta,delpoint,
99 abs(b->quantlist[index]),&point);
104 for(k=0;k<b->dim;k++){
107 int val=VFLOAT_MULTI(delta,delpoint,
108 abs(b->quantlist[j*b->dim+k]),&point);
110 --- block.h (revision 0)
111 +++ block.h (revision 0)
113 +/********************************************************************
115 + * THIS FILE IS PART OF THE OggVorbis 'TREMOR' CODEC SOURCE CODE. *
117 + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
118 + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
119 + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
121 + * THE OggVorbis 'TREMOR' SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
122 + * BY THE Xiph.Org FOUNDATION http://www.xiph.org/ *
124 + ********************************************************************
126 + function: basic shared block operations
128 + ********************************************************************/
133 +void *_vorbis_block_alloc(vorbis_block *vb,long bytes);
134 +void _vorbis_block_ripcord(vorbis_block *vb);
137 --- floor0.c (revision 24821)
138 +++ floor0.c (working copy)
140 #include "codebook.h"
145 #define LSP_FRACBITS 14
147 --- floor1.c (revision 24821)
148 +++ floor1.c (working copy)
150 #include "registry.h"
151 #include "codebook.h"
155 #define floor1_rangedB 140 /* floor 1 fixed at -140dB to 0dB range */
157 --- synthesis.c (revision 24821)
158 +++ synthesis.c (working copy)
160 #include "registry.h"
165 int vorbis_synthesis(vorbis_block *vb,ogg_packet *op){
166 vorbis_dsp_state *vd=vb->vd;
167 --- res012.c (revision 24821)
168 +++ res012.c (working copy)
170 #include "codebook.h"
176 vorbis_info_residue0 *info;
177 --- block.c (revision 24821)
178 +++ block.c (working copy)
181 #include "registry.h"
185 static int ilog(unsigned int v){