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
Monty [Fri, 17 Dec 1999 07:04:11 +0000 (07:04 +0000)]
Added Makefile.in to vq/
Monty
svn path=/trunk/vorbis/; revision=200
Monty [Fri, 17 Dec 1999 02:25:05 +0000 (02:25 +0000)]
refinements. More accurate distance error, better fudge.
Monty
svn path=/trunk/vorbis/; revision=199
Monty [Thu, 16 Dec 1999 09:24:54 +0000 (09:24 +0000)]
Incremental update
svn path=/trunk/vorbis/; revision=198
Monty [Wed, 15 Dec 1999 08:55:25 +0000 (08:55 +0000)]
quant fix
svn path=/trunk/vorbis/; revision=197
Monty [Wed, 15 Dec 1999 08:51:03 +0000 (08:51 +0000)]
more quant work
svn path=/trunk/vorbis/; revision=196
Monty [Wed, 15 Dec 1999 08:42:47 +0000 (08:42 +0000)]
quant fix
svn path=/trunk/vorbis/; revision=195
Monty [Wed, 15 Dec 1999 08:37:22 +0000 (08:37 +0000)]
split out the include
add quantization to training
svn path=/trunk/vorbis/; revision=194
Monty [Sat, 11 Dec 1999 10:06:35 +0000 (10:06 +0000)]
add train.c, command line util for training/retraining codebooks.
Monty
svn path=/trunk/vorbis/; revision=185
Monty [Fri, 10 Dec 1999 10:34:31 +0000 (10:34 +0000)]
Incremental; the book is half built
svn path=/trunk/vorbis/; revision=184
Monty [Thu, 9 Dec 1999 10:16:13 +0000 (10:16 +0000)]
New split code.
Monty
svn path=/trunk/vorbis/; revision=183
Monty [Wed, 8 Dec 1999 18:08:03 +0000 (18:08 +0000)]
Incremental update. This is the foam we're going with for now.
Monty
svn path=/trunk/vorbis/; revision=182
Monty [Tue, 7 Dec 1999 08:38:10 +0000 (08:38 +0000)]
incremental update
Monty
svn path=/trunk/vorbis/; revision=181
Monty [Mon, 6 Dec 1999 02:59:55 +0000 (02:59 +0000)]
Silly, forgot to move to said faster machine.
Monty
svn path=/trunk/vorbis/; revision=180
Monty [Mon, 6 Dec 1999 02:55:34 +0000 (02:55 +0000)]
Incremental so I can continue working on a faster box ;-)
Monty
svn path=/trunk/vorbis/; revision=179
Monty [Tue, 23 Nov 1999 06:42:10 +0000 (06:42 +0000)]
Dual Simplex algorithm linear programming solver
Monty
svn path=/trunk/vorbis/; revision=175
Monty [Fri, 19 Nov 1999 13:33:26 +0000 (13:33 +0000)]
reenable short blocks in modes.h
Monty
svn path=/trunk/vorbis/; revision=174
Monty [Fri, 19 Nov 1999 01:23:10 +0000 (01:23 +0000)]
First 'worthy' version of vq generator. Converges very nicely without
any fudge factors.
Monty
svn path=/trunk/vorbis/; revision=173
Monty [Wed, 17 Nov 1999 03:53:12 +0000 (03:53 +0000)]
Minor changes to compile cleanly with MSVC++
added os.h
use alloca instead of non-constants in automatic declarations
Monty
svn path=/trunk/vorbis/; revision=172