Monty [Wed, 17 May 2000 22:34:22 +0000 (22:34 +0000)]
Minor build fixes; added string.h to sharedbook.c, removed
vorbisfile.o from libvorbis.a link line.
Monty
svn path=/trunk/vorbis/; revision=394
Mike Smith [Tue, 16 May 2000 11:54:09 +0000 (11:54 +0000)]
Change to a variable name in seed_peaks() to avoid a namespace collision on win32.
svn path=/trunk/vorbis/; revision=393
Mike Smith [Tue, 16 May 2000 11:38:36 +0000 (11:38 +0000)]
Fix for a small problem in ov_read() which made the code rather unreadable, and was redundant.
svn path=/trunk/vorbis/; revision=392
Monty [Fri, 12 May 2000 21:42:04 +0000 (21:42 +0000)]
Accidentally neglected putting copies of the GPL and LGPL in CVS.
Updated README to reflect LGPL status of libs. We still need to
change source headers to LGPL in libraries.
Monty
svn path=/trunk/vorbis/; revision=390
Mike Smith [Fri, 12 May 2000 08:38:20 +0000 (08:38 +0000)]
Addition of win32 support to the examples (changing stdin/stdout to binary
mode).
svn path=/trunk/vorbis/; revision=389
Mike Smith [Fri, 12 May 2000 05:50:11 +0000 (05:50 +0000)]
Fix for incorrect abort in decoder_example triggered by short ogg files. Should now decode all valid ogg files correctly.
svn path=/trunk/vorbis/; revision=388
Monty [Wed, 10 May 2000 23:22:35 +0000 (23:22 +0000)]
Added inttypes.h for BeOS
Monty
svn path=/trunk/vorbis/; revision=386
Monty [Wed, 10 May 2000 23:05:57 +0000 (23:05 +0000)]
./make is wrong, should be make
Monty
svn path=/trunk/vorbis/; revision=385
Monty [Tue, 9 May 2000 22:38:45 +0000 (22:38 +0000)]
The xcf file is just too big for every developer to have to suck down.
Monty
svn path=/trunk/vorbis/; revision=384
Monty [Mon, 8 May 2000 20:49:51 +0000 (20:49 +0000)]
First merge of new psychoacoustics. Have some unused codebooks to
remove yet, but we're otherwise OK.
Tuning still has a little ways to go, but it's not too bad.
Monty
svn path=/trunk/vorbis/; revision=383
jon [Mon, 1 May 2000 06:27:54 +0000 (06:27 +0000)]
Fixing win32/linux build snafu.
svn path=/trunk/vorbis/; revision=354
jon [Mon, 1 May 2000 06:27:05 +0000 (06:27 +0000)]
Fixing win32/linux build snafu
svn path=/trunk/vorbis/; revision=353
jon [Mon, 1 May 2000 05:48:26 +0000 (05:48 +0000)]
Fixed a bug with ov_open_callbacks not initializing file info.
Added faster sample conversion paths in ov_read.
svn path=/trunk/vorbis/; revision=352
jon [Mon, 1 May 2000 05:46:47 +0000 (05:46 +0000)]
Added an ifdef for compilation in win32.
svn path=/trunk/vorbis/; revision=351
jon [Mon, 1 May 2000 05:46:23 +0000 (05:46 +0000)]
Fixed usage of 'hypot' in visual c++ 6 -- was VERY slow.
svn path=/trunk/vorbis/; revision=350
jon [Mon, 1 May 2000 05:39:47 +0000 (05:39 +0000)]
Minor change for win32 compilation.
svn path=/trunk/vorbis/; revision=349
Peter Jones [Sat, 29 Apr 2000 18:02:36 +0000 (18:02 +0000)]
README had wrong URLs (I'm assuming the ones that give info instead of
404's are right ;)
spec file is the obvious, and RPM spec file. It provides two packages;
vorbis and vorbis-devel. I'm not 100% sure things got devided up the best
way, but essentially vorbis-devel is the LGPL parts and vorbis is the GPL
parts. didn't include cmdline (which isn't built by default) or
examples (same reason).
svn path=/trunk/vorbis/; revision=347
Mike Smith [Sun, 23 Apr 2000 15:34:12 +0000 (15:34 +0000)]
Fix for a minor typo in vorbisfile headers - woould have affected users of the
new generic interface.
Added some casts into the all-new ov_open() to stop compiler warnings.
svn path=/trunk/vorbis/; revision=342
Mike Smith [Fri, 21 Apr 2000 09:35:03 +0000 (09:35 +0000)]
A new abstracted interface to vorbisfile, using callback functions.
Now ov_open() just calls ov_open_callbacks() with appropriate arguments.
This also contains some minor changes that give a ~10% speedup with gcc,
and changes to vorbisfile.h to allow C++ compilation.
svn path=/trunk/vorbis/; revision=337
Mike Smith [Wed, 12 Apr 2000 07:55:06 +0000 (07:55 +0000)]
libvorbis.a and vorbisfile.a were the same. This seperates them, as they were
intended.
svn path=/trunk/vorbis/; revision=315
Monty [Mon, 10 Apr 2000 00:12:15 +0000 (00:12 +0000)]
Added first cut of Martin Vogt's kmpg plugin.
Monty
svn path=/trunk/vorbis/; revision=312
Monty [Thu, 6 Apr 2000 16:46:51 +0000 (16:46 +0000)]
Another 'moron monty' fix; got the sort backward fixing the earlier
comparison bug
Monty
svn path=/trunk/vorbis/; revision=310
Monty [Thu, 6 Apr 2000 15:55:41 +0000 (15:55 +0000)]
I am a moron.
Monty
svn path=/trunk/vorbis/; revision=307
Monty [Thu, 6 Apr 2000 15:47:55 +0000 (15:47 +0000)]
Added os.h to res0.c and floor0.c in order to give _alloca/rint to MSVC
svn path=/trunk/vorbis/; revision=306
Monty [Thu, 6 Apr 2000 15:39:43 +0000 (15:39 +0000)]
Fixed the selftest to catch up with minor API change earlier this
week... and then the selftest caught a bug introduced in said change
:-)
Monty
svn path=/trunk/vorbis/; revision=305
Monty [Thu, 6 Apr 2000 15:01:20 +0000 (15:01 +0000)]
Fix for the sort comparison bug Vakor found.
Monty
svn path=/trunk/vorbis/; revision=304
Monty [Mon, 3 Apr 2000 09:51:07 +0000 (09:51 +0000)]
Add the quick time offset seeking stress test
Monty
svn path=/trunk/vorbis/; revision=302
Monty [Mon, 3 Apr 2000 09:45:55 +0000 (09:45 +0000)]
Fixed a seeking bug;
I shot myself int he foot by adding the expected_pageno arg to
stream_reset; it needed the out of sequence trip to skip past
continued packets.
Removed the argument; stream_reset no sets pageno to -1 (not 0 like in
init) so that seeks are flagged; the out of sequence handling trips,
but the -1 surpresses the out of sequence error.
Monty
svn path=/trunk/vorbis/; revision=301
Monty [Mon, 3 Apr 2000 08:30:49 +0000 (08:30 +0000)]
fixes to build in MSVC
svn path=/trunk/vorbis/; revision=300
Monty [Mon, 27 Mar 2000 03:10:54 +0000 (03:10 +0000)]
masking curves for new psychoacoustics
svn path=/trunk/vorbis/; revision=280
Monty [Fri, 10 Mar 2000 23:55:19 +0000 (23:55 +0000)]
Malloc wrapper for tracking memory usage during debugging.
Monty
svn path=/trunk/vorbis/; revision=278
Monty [Fri, 10 Mar 2000 16:23:57 +0000 (16:23 +0000)]
forgot to remove a leak check
Monty
svn path=/trunk/vorbis/; revision=277
Monty [Fri, 10 Mar 2000 13:21:18 +0000 (13:21 +0000)]
Repaired 'I must have been boozing' memory management in vorbisfile.a
Cleaned up every known memory leak (with the help of a malloc tracker,
see lib/misc.c and lib/misc.h for details).
Monty
svn path=/trunk/vorbis/; revision=276
Monty [Fri, 25 Feb 2000 11:05:32 +0000 (11:05 +0000)]
Useful util while I beef up psychoacoustics.
svn path=/trunk/vorbis/; revision=275
Monty [Wed, 23 Feb 2000 11:50:29 +0000 (11:50 +0000)]
update date string in info.c
svn path=/trunk/vorbis/; revision=273
Monty [Wed, 23 Feb 2000 11:42:00 +0000 (11:42 +0000)]
add the unit codebooks for demo encoding
svn path=/trunk/vorbis/; revision=272
Monty [Wed, 23 Feb 2000 11:22:47 +0000 (11:22 +0000)]
fixes to prevent segfaults
svn path=/trunk/vorbis/; revision=271
Monty [Wed, 23 Feb 2000 10:32:37 +0000 (10:32 +0000)]
Two more temporary codebooks for testing
svn path=/trunk/vorbis/; revision=270
Monty [Wed, 23 Feb 2000 09:24:33 +0000 (09:24 +0000)]
Incremental update toward first cut. The full engine is in place.
Monty
svn path=/trunk/vorbis/; revision=269
Monty [Wed, 23 Feb 2000 09:10:13 +0000 (09:10 +0000)]
Incremental update toward first cut
svn path=/trunk/vorbis/; revision=268
Monty [Mon, 21 Feb 2000 13:09:34 +0000 (13:09 +0000)]
bugfix to codeword generation; the tree below the selected word was
pruned incorrectly.
Monty
svn path=/trunk/vorbis/; revision=267
Monty [Mon, 21 Feb 2000 11:33:53 +0000 (11:33 +0000)]
Commit codebooks for testing toward first cut
Monty
svn path=/trunk/vorbis/; revision=266
Monty [Mon, 21 Feb 2000 01:14:02 +0000 (01:14 +0000)]
The huff builder is happy.
Monty
svn path=/trunk/vorbis/; revision=265
Monty [Mon, 21 Feb 2000 01:13:02 +0000 (01:13 +0000)]
Because residue codebooks use very coarse quantization, I needed to
beef up the trainer for residuals to not constantly quantize cells to
the same midpoint (causing all hell to break loose).
Monty
svn path=/trunk/vorbis/; revision=264
Monty [Wed, 16 Feb 2000 22:34:43 +0000 (22:34 +0000)]
Eliminate dead fields from psy_info
svn path=/trunk/vorbis/; revision=263
Monty [Wed, 16 Feb 2000 22:34:03 +0000 (22:34 +0000)]
"Commit a valid compression mode, dumbass"
Monty
svn path=/trunk/vorbis/; revision=262
Monty [Wed, 16 Feb 2000 16:18:42 +0000 (16:18 +0000)]
Enhancements (added cell spacing metrics and minimum cell distances to trainer)
Bugfixes (fence straddling problem in the splitter, other fixes)
Monty
svn path=/trunk/vorbis/; revision=261
Monty [Sun, 13 Feb 2000 11:53:48 +0000 (11:53 +0000)]
a little bughunting
svn path=/trunk/vorbis/; revision=260
Monty [Sun, 13 Feb 2000 10:23:51 +0000 (10:23 +0000)]
Fixed bug reading codebooks with very large auxiliary encoding structs
svn path=/trunk/vorbis/; revision=259
Monty [Sun, 13 Feb 2000 08:52:02 +0000 (08:52 +0000)]
real LSP books for first cut
svn path=/trunk/vorbis/; revision=258
Monty [Sat, 12 Feb 2000 08:33:10 +0000 (08:33 +0000)]
Collect training data from the lib when compiled with -DTRAIN
Added staging to floor0.c
Added first work toward residue partitioning and huff builder
Monty
x
svn path=/trunk/vorbis/; revision=257
Monty [Wed, 9 Feb 2000 22:04:16 +0000 (22:04 +0000)]
*finally* got the lpc excitation amplitude quantization nailed down.
Monty
svn path=/trunk/vorbis/; revision=256
Monty [Mon, 7 Feb 2000 20:03:17 +0000 (20:03 +0000)]
There's work left to do, but progress toward first cut: lib and
examples are back together and running.
Monty
svn path=/trunk/vorbis/; revision=255
Monty [Mon, 7 Feb 2000 19:50:49 +0000 (19:50 +0000)]
Books that use the new p/q index alignment
svn path=/trunk/vorbis/; revision=254
Monty [Mon, 7 Feb 2000 19:49:56 +0000 (19:49 +0000)]
...and correct a typo
svn path=/trunk/vorbis/; revision=253
Monty [Mon, 7 Feb 2000 19:39:45 +0000 (19:39 +0000)]
Minor optimization to align p and q indexes in .vqh files.
Monty
svn path=/trunk/vorbis/; revision=252
Monty [Sun, 6 Feb 2000 13:40:39 +0000 (13:40 +0000)]
missed committing a codebook change
svn path=/trunk/vorbis/; revision=251
Monty [Sun, 6 Feb 2000 13:39:48 +0000 (13:39 +0000)]
Incremental update
svn path=/trunk/vorbis/; revision=250
Monty [Sat, 5 Feb 2000 23:31:50 +0000 (23:31 +0000)]
Added unit tests for bitwise read past end.
Monty
svn path=/trunk/vorbis/; revision=249
Monty [Sat, 5 Feb 2000 23:23:58 +0000 (23:23 +0000)]
Fix for overflow bug in bitwise routines; read past end triggered too late.
Monty
svn path=/trunk/vorbis/; revision=248
Monty [Fri, 28 Jan 2000 15:25:12 +0000 (15:25 +0000)]
Update encoder and decoder examples. One inch away from everything
building clean again.
Monty
svn path=/trunk/vorbis/; revision=247
Monty [Fri, 28 Jan 2000 14:34:44 +0000 (14:34 +0000)]
Minor fix (don;t encode 0...n-1 when 0 can't happen. do 0...n)
Monty
svn path=/trunk/vorbis/; revision=246
Monty [Fri, 28 Jan 2000 14:31:29 +0000 (14:31 +0000)]
Incremental update. Reduced maximum codebook/mapping/mode/backend
limits. Went to static storage in structures (equal to the limits) to
ease mode construction
Monty
svn path=/trunk/vorbis/; revision=245
Monty [Fri, 28 Jan 2000 09:05:21 +0000 (09:05 +0000)]
The lib and vq, at least, build again. Tackling the examples and xmms
now. There are still unfinished portions of the lib rearranging
(notably, floor0.c and res0.c)
Monty
svn path=/trunk/vorbis/; revision=244
Monty [Sat, 22 Jan 2000 13:28:37 +0000 (13:28 +0000)]
It's all coming back together slowly. Incremental update.
Monty
svn path=/trunk/vorbis/; revision=240
Monty [Sat, 22 Jan 2000 10:40:41 +0000 (10:40 +0000)]
Incremental updates
Backends has to be here to have static mode initializers
Monty
svn path=/trunk/vorbis/; revision=239
Monty [Fri, 21 Jan 2000 13:42:41 +0000 (13:42 +0000)]
Minor change to the codebook abstraction (static books)
Bugfix to get_line in bookutil.c
Monty
svn path=/trunk/vorbis/; revision=238
Monty [Thu, 20 Jan 2000 04:43:51 +0000 (04:43 +0000)]
Make sure changes exist on more than just Bloopfish
svn path=/trunk/vorbis/; revision=237
Monty [Thu, 20 Jan 2000 04:43:05 +0000 (04:43 +0000)]
incremental update to make sure the massive modifications exist on
more than one machine :-)
Monty
svn path=/trunk/vorbis/; revision=236
Monty [Wed, 19 Jan 2000 08:57:56 +0000 (08:57 +0000)]
Incremental update
svn path=/trunk/vorbis/; revision=235
Monty [Wed, 12 Jan 2000 11:34:42 +0000 (11:34 +0000)]
Incremental update toward VQ integration, vorbis_info rearrangement
Monty
svn path=/trunk/vorbis/; revision=234
Monty [Wed, 12 Jan 2000 11:16:37 +0000 (11:16 +0000)]
codebook.c looks solid, passes unit tests. Minor interface mods to bitwise.c
svn path=/trunk/vorbis/; revision=233
Monty [Wed, 12 Jan 2000 02:12:23 +0000 (02:12 +0000)]
Basic lsp codebooks to play with for now while integrating VQ into library
svn path=/trunk/vorbis/; revision=232
Monty [Wed, 12 Jan 2000 02:03:56 +0000 (02:03 +0000)]
first inclusion
svn path=/trunk/vorbis/; revision=231
Monty [Tue, 11 Jan 2000 16:12:30 +0000 (16:12 +0000)]
first cut, lots of code, want it in CVS before I start debugging later.
svn path=/trunk/vorbis/; revision=230
Monty [Mon, 10 Jan 2000 14:06:31 +0000 (14:06 +0000)]
Missed initializing the accumulator in ov_bitrate
svn path=/trunk/vorbis/; revision=229
Monty [Mon, 10 Jan 2000 10:42:07 +0000 (10:42 +0000)]
Added '-s' option to vqmetrics, vqcascade and vqpartition
Fixed bug where vqtrain reads a last line of zero vals that doesn't exist
fixed error in <codebook>-me.m file output (numbers were wrong)
Monty
svn path=/trunk/vorbis/; revision=228
Monty [Fri, 7 Jan 2000 12:11:33 +0000 (12:11 +0000)]
Allow cascade and metric utilities to take more than one codebook
(they'll be cascaded during processing) for convenience.
Monty
svn path=/trunk/vorbis/; revision=227
Monty [Thu, 6 Jan 2000 13:57:15 +0000 (13:57 +0000)]
first cut of complete VQ utilities
Monty
svn path=/trunk/vorbis/; revision=226
Monty [Wed, 5 Jan 2000 15:05:02 +0000 (15:05 +0000)]
stabilize the generic metric some, bugfixes
svn path=/trunk/vorbis/; revision=225
Monty [Wed, 5 Jan 2000 10:15:00 +0000 (10:15 +0000)]
More VQ utility work. Utils now include:
lspvqtrain
genericvqtrain
vqbuild
vqcascade
Monty
svn path=/trunk/vorbis/; revision=224
Monty [Wed, 5 Jan 2000 03:11:12 +0000 (03:11 +0000)]
More shuffling of includes to ease codebook integration. This breaks
the VQ build, but I'll fix that right away.
Monty
svn path=/trunk/vorbis/; revision=223
Monty [Tue, 4 Jan 2000 09:05:04 +0000 (09:05 +0000)]
incremental update. Go to pure tone masking (no noise), prepare for training
svn path=/trunk/vorbis/; revision=222
Monty [Sat, 1 Jan 2000 02:52:59 +0000 (02:52 +0000)]
Incremental update
svn path=/trunk/vorbis/; revision=221
Monty [Fri, 31 Dec 1999 12:35:38 +0000 (12:35 +0000)]
Earlier missed file
svn path=/trunk/vorbis/; revision=220
Monty [Fri, 31 Dec 1999 12:35:18 +0000 (12:35 +0000)]
New Bark-scale based lpc code in place (replacing biased log scale).
Incremental updates around.
Monty
svn path=/trunk/vorbis/; revision=219
Monty [Thu, 30 Dec 1999 07:27:06 +0000 (07:27 +0000)]
Minor build fixes, integrate XMMS into the autoconfed stuff
Extend copyright notices to 2000
Add RCS Id tags to all files
Monty
svn path=/trunk/vorbis/; revision=218
Monty [Thu, 30 Dec 1999 03:46:29 +0000 (03:46 +0000)]
Incremental commit after rearranging build a bit and moving files into
slightly more logical places (preparing for a minor interface change
that moves mode settings and static codebooks outside libvorbis).
Monty
svn path=/trunk/vorbis/; revision=217
Monty [Thu, 30 Dec 1999 01:23:36 +0000 (01:23 +0000)]
Incremental update
svn path=/trunk/vorbis/; revision=216
Monty [Tue, 28 Dec 1999 12:56:47 +0000 (12:56 +0000)]
More optimization
svn path=/trunk/vorbis/; revision=215
Monty [Tue, 28 Dec 1999 11:55:26 +0000 (11:55 +0000)]
bugfixes for new functionality
Considerable optimizations to trainer and builder
Monty
svn path=/trunk/vorbis/; revision=214
Monty [Tue, 28 Dec 1999 05:04:00 +0000 (05:04 +0000)]
bugfixes to new functionality
svn path=/trunk/vorbis/; revision=213
Monty [Tue, 28 Dec 1999 03:42:49 +0000 (03:42 +0000)]
missed a save. see previous
Monty
svn path=/trunk/vorbis/; revision=212
Monty [Tue, 28 Dec 1999 03:41:58 +0000 (03:41 +0000)]
Incremental update, seperated weighting from the metric
(optimization), added auxiliary point data to the training sets.
Monty
svn path=/trunk/vorbis/; revision=211
Monty [Fri, 24 Dec 1999 11:54:51 +0000 (11:54 +0000)]
Incremental update
Much rearrangement of abstractions (to ease later packing) and
finalization of packed/quantized codebook format.
Apologies to gmaxwell for the extra catchup effort this will cause :-)
Monty
svn path=/trunk/vorbis/; revision=210
Monty [Sat, 18 Dec 1999 18:58:20 +0000 (18:58 +0000)]
alloca() 'frees' memory when the function returns, not when we exit
local scope.
Monty
svn path=/trunk/vorbis/; revision=205
Monty [Sat, 18 Dec 1999 08:27:51 +0000 (08:27 +0000)]
Change builder to find center of gravity of entries, not points
(otherwise megasets will take weeks).
Add spinner so builder doesn't look dead during long opts.
Monty
svn path=/trunk/vorbis/; revision=204
Monty [Sat, 18 Dec 1999 02:55:42 +0000 (02:55 +0000)]
New syntax for more convenient use, fixed a bounds bug for gmaxwell
Monty
svn path=/trunk/vorbis/; revision=203
Monty [Fri, 17 Dec 1999 13:19:36 +0000 (13:19 +0000)]
The vq book builder is mostly running now, but does not produce output yet.
svn path=/trunk/vorbis/; revision=202
Monty [Fri, 17 Dec 1999 07:21:28 +0000 (07:21 +0000)]
Additional refinements, cleanups for training routine
svn path=/trunk/vorbis/; revision=201