platform/upstream/libvorbis.git
14 years agoUpdate vorbis CHANGES file
Monty [Mon, 1 Nov 2010 19:51:46 +0000 (19:51 +0000)]
Update vorbis CHANGES file

svn path=/trunk/vorbis/; revision=17587

14 years agoDoc patch removed superfluous files, now need to remove them in SVN
Monty [Mon, 1 Nov 2010 19:34:51 +0000 (19:34 +0000)]
Doc patch removed superfluous files, now need to remove them in SVN

svn path=/trunk/vorbis/; revision=17586

14 years agoUpdate configure, spec and pc file versions for release
Monty [Mon, 1 Nov 2010 19:29:55 +0000 (19:29 +0000)]
Update configure, spec and pc file versions for release

svn path=/trunk/vorbis/; revision=17585

14 years agoCommit new version/vendor string in preparation for release.
Monty [Mon, 1 Nov 2010 19:26:16 +0000 (19:26 +0000)]
Commit new version/vendor string in preparation for release.

svn path=/trunk/vorbis/; revision=17584

14 years agoUpdate documentation versioning/copyrights toward release
Monty [Mon, 1 Nov 2010 19:21:27 +0000 (19:21 +0000)]
Update documentation versioning/copyrights toward release

svn path=/trunk/vorbis/; revision=17583

14 years agoIt's 'Xiph.Org' not 'Xiph.Org' or 'xIpH.ORg'
Monty [Mon, 1 Nov 2010 18:53:27 +0000 (18:53 +0000)]
It's 'Xiph.Org' not 'Xiph.Org' or 'xIpH.ORg'

svn path=/trunk/vorbis/; revision=17582

14 years agoCommit libvorbis documentation patch from John Stumpo; adds complete
Monty [Mon, 1 Nov 2010 18:47:53 +0000 (18:47 +0000)]
Commit libvorbis documentation patch from John Stumpo; adds complete
docs to libvorbis, moves a few pages from the vorbisfile and
libvorbisenc docs into the new libvorbis doc tree.

svn path=/trunk/vorbis/; revision=17581

14 years agolibvorbis version of fix for Trac #1578
Monty [Wed, 27 Oct 2010 14:53:59 +0000 (14:53 +0000)]
libvorbis version of fix for Trac #1578

svn path=/trunk/vorbis/; revision=17573

14 years agoBump versioning toward upcoming release
Monty [Tue, 26 Oct 2010 17:13:36 +0000 (17:13 +0000)]
Bump versioning toward upcoming release

svn path=/trunk/vorbis/; revision=17570

14 years agoBack out the old HF AoTuV weighting which was first enabled in
Monty [Tue, 26 Oct 2010 17:09:47 +0000 (17:09 +0000)]
Back out the old HF AoTuV weighting which was first enabled in
Everywhere.  There are a few samples where I really don't like the
effect it causes.

svn path=/trunk/vorbis/; revision=17569

14 years agoCommit change to libvorbis that returns correct timestamp for granule
Monty [Sun, 24 Oct 2010 04:50:46 +0000 (04:50 +0000)]
Commit change to libvorbis that returns correct timestamp for granule
positions with high bit set.

Make two 'better safe than sorry' changes in vorbisfile that clamp
pcmoffsets entries to being strictly >=0.

svn path=/trunk/vorbis/; revision=17562

14 years agoCommit tterribe's port of Tremor r17541:
Monty [Sat, 23 Oct 2010 10:34:24 +0000 (10:34 +0000)]
Commit tterribe's port of Tremor r17541:
Harden the code that trims the last packet of a stream; it was
possible to game the granpos such that the trim code would try to
rewind more samples than were actually available in storage.

Also, fix/eliminate two printf warnings in seeking_example extension.

svn path=/trunk/vorbis/; revision=17561

14 years agoWhile reviewing a patch to port Tremor r17541, noticed that the
Monty [Sat, 23 Oct 2010 10:29:11 +0000 (10:29 +0000)]
While reviewing a patch to port Tremor r17541, noticed that the
half-rate decode code in Vorbisfile was never completed past the
original 'quick and dirty' feature request.  Specifically, it made no
attempt to keep the pcm offset tracking consistent in seeks.

Complete this code, and add a testing mode to seeking_example.c to
torture test seeking in halfrate mode.  Also remove requirement that
halfrate mode only work with seekable files.

svn path=/trunk/vorbis/; revision=17560

14 years agoPort r17547 from Tremor.
Tim Terriberry [Fri, 22 Oct 2010 00:24:41 +0000 (00:24 +0000)]
Port r17547 from Tremor.

Disallow books with dim<1 in floor0.

svn path=/trunk/vorbis/; revision=17558

14 years agoPort r17545 from Tremor.
Tim Terriberry [Thu, 21 Oct 2010 18:33:59 +0000 (18:33 +0000)]
Port r17545 from Tremor.

Check that floor0 books all have a value mapping.

svn path=/trunk/vorbis/; revision=17557

14 years agoPort r17544 from Tremor.
Tim Terriberry [Thu, 21 Oct 2010 18:25:19 +0000 (18:25 +0000)]
Port r17544 from Tremor.

A guard conditional used > instead of >=.

svn path=/trunk/vorbis/; revision=17556

14 years agoPort r17543 from Tremor.
Tim Terriberry [Thu, 21 Oct 2010 18:14:51 +0000 (18:14 +0000)]
Port r17543 from Tremor.

A codebook that allows values outside the circular range of the piecewise
 floor1 representation can overflow the lookup
Also fix a typo in the comments of the original patch.

svn path=/trunk/vorbis/; revision=17555

14 years agoPort r17542 from Tremor.
Tim Terriberry [Thu, 21 Oct 2010 18:09:29 +0000 (18:09 +0000)]
Port r17542 from Tremor.

Reinstate an explicit check against phrasebook dim being set to zero.

svn path=/trunk/vorbis/; revision=17554

14 years agoPort r17539 from Tremor.
Tim Terriberry [Thu, 21 Oct 2010 17:54:26 +0000 (17:54 +0000)]
Port r17539 from Tremor.

Bail out of codebook loading early if the packet doesn't have enough data for
 the size of the codebooks it asked for.

svn path=/trunk/vorbis/; revision=17553

14 years agoFix incorrect 'ms' argument in ov_time_seek_*() docs.
Tim Terriberry [Thu, 21 Oct 2010 17:33:15 +0000 (17:33 +0000)]
Fix incorrect 'ms' argument in ov_time_seek_*() docs.

The actual argument is the time in seconds, as documented, but the
 parameter name 'ms' could lead to confusion.
Thanks to Philipp 'ph3-der-loewe' Schafft <lion@lion.leolix.org> for the
 report.

svn path=/trunk/vorbis/; revision=17552

14 years agoFix decoder handling of floor0 when the LSP order is 1.
Tim Terriberry [Fri, 15 Oct 2010 02:52:29 +0000 (02:52 +0000)]
Fix decoder handling of floor0 when the LSP order is 1.

Header setup allows the LSP order to be as low as one, but the code in
 vorbis_lsp_to_curve() assumed it was at least two.
This wasn't terrible in libvorbis... it would multiply a nonsense (but defined)
 value into the output, and nothing more.
In Tremor, it referenced several completely undefined (stack) values, which
 could cause out-of-bounds lookup table accesses and crashes.

svn path=/trunk/vorbis/; revision=17538

14 years agoMake vorbis_synthesis_trackonly error handling match vorbis_synthesis per Mozilla...
Gregory Maxwell [Thu, 30 Sep 2010 03:41:41 +0000 (03:41 +0000)]
Make vorbis_synthesis_trackonly error handling match vorbis_synthesis per Mozilla bug487519.patch

svn path=/trunk/vorbis/; revision=17474

14 years agoUpdated Visual Studio project files.
Cristian Adam [Thu, 23 Sep 2010 21:50:57 +0000 (21:50 +0000)]
Updated Visual Studio project files.

svn path=/trunk/vorbis/; revision=17452

14 years agoAdded Visual Studiop 2010 project files.
Cristian Adam [Tue, 21 Sep 2010 19:04:31 +0000 (19:04 +0000)]
Added Visual Studiop 2010 project files.

svn path=/trunk/vorbis/; revision=17409

14 years agoAdd ov_read_filter.html to documentation files
Mike Smith [Mon, 23 Aug 2010 17:11:46 +0000 (17:11 +0000)]
Add ov_read_filter.html to documentation files

svn path=/trunk/vorbis/; revision=17367

14 years agoCorrect various comment spelling errors.
Ralph Giles [Wed, 5 May 2010 21:49:51 +0000 (21:49 +0000)]
Correct various comment spelling errors.

Based on a patch by Michael Kohler, trac issue #1695.

svn path=/trunk/vorbis/; revision=17195

14 years agoCommit vorbisfile constification patch; affects API but not ABI.
Monty [Thu, 29 Apr 2010 03:48:32 +0000 (03:48 +0000)]
Commit vorbisfile constification patch; affects API but not ABI.
Closes #1593.

svn path=/trunk/vorbis/; revision=17182

14 years agoFix a chaining bug in raw_seeks where seeking out of the current link
Monty [Mon, 26 Apr 2010 14:25:54 +0000 (14:25 +0000)]
Fix a chaining bug in raw_seeks where seeking out of the current link
would fail due to not reinitializing the decode machinery.

Also correct a minor and a moderate inefficiency that reduces the
necessary number of seek callback in a search operation by about 2/3.

svn path=/trunk/vorbis/; revision=17178

14 years agoOne of the Mozilla fixes for #1573 (working around liboggplay
Monty [Mon, 26 Apr 2010 14:24:08 +0000 (14:24 +0000)]
One of the Mozilla fixes for #1573 (working around liboggplay
ignoring an error return value) broke chaining by causing
vorbis_synthesis_init() to fail on a second call.  Fixed.

svn path=/trunk/vorbis/; revision=17177

14 years agoTry out a new seek bisect optimization in vorbisfile.
Monty [Mon, 26 Apr 2010 08:05:07 +0000 (08:05 +0000)]
Try out a new seek bisect optimization in vorbisfile.

svn path=/trunk/vorbis/; revision=17176

14 years agoRe-bump to 1.3.1
Monty [Fri, 26 Mar 2010 06:59:58 +0000 (06:59 +0000)]
Re-bump to 1.3.1

svn path=/trunk/vorbis/; revision=17080

14 years agoOK, desired floor fit behavior settled
Monty [Fri, 26 Mar 2010 06:51:41 +0000 (06:51 +0000)]
OK, desired floor fit behavior settled

svn path=/trunk/vorbis/; revision=17079

14 years agoreinstantiate floor1 weighting changes.
Monty [Fri, 26 Mar 2010 06:39:18 +0000 (06:39 +0000)]
reinstantiate floor1 weighting changes.

svn path=/trunk/vorbis/; revision=17078

14 years agoRevert an element of noise norm to earlier behavior for testing.
Monty [Fri, 26 Mar 2010 06:22:19 +0000 (06:22 +0000)]
Revert an element of noise norm to earlier behavior for testing.

svn path=/trunk/vorbis/; revision=17077

14 years agoRevert floor1 line fitting to exact 1.2.3 behavior; the apparently better
Monty [Fri, 26 Mar 2010 05:30:11 +0000 (05:30 +0000)]
Revert floor1 line fitting to exact 1.2.3 behavior; the apparently better
weighting of 1.3.0pre was slightly dropping PEAQ and slightly increasing
bitrate.

svn path=/trunk/vorbis/; revision=17075

14 years agoCorrect arithmetic error in fit weighting
Monty [Fri, 26 Mar 2010 04:10:18 +0000 (04:10 +0000)]
Correct arithmetic error in fit weighting

svn path=/trunk/vorbis/; revision=17066

14 years agoUpdate version string and CHANGES file toward release
Monty [Fri, 26 Mar 2010 02:57:50 +0000 (02:57 +0000)]
Update version string and CHANGES file toward release

svn path=/trunk/vorbis/; revision=17059

14 years agoSimple arithmetic error as part of fix to #1658 caused floor1 fitting to
Monty [Fri, 26 Mar 2010 02:26:08 +0000 (02:26 +0000)]
Simple arithmetic error as part of fix to #1658 caused floor1 fitting to
fall apart in overwhelmingly tonal regions.

svn path=/trunk/vorbis/; revision=17052

14 years agoLeak fix in decode broke codebook load; fixed
Monty [Fri, 26 Mar 2010 01:54:25 +0000 (01:54 +0000)]
Leak fix in decode broke codebook load; fixed

svn path=/trunk/vorbis/; revision=17051

14 years agoSome compilers need at least a placeholder here
Monty [Fri, 26 Mar 2010 01:34:42 +0000 (01:34 +0000)]
Some compilers need at least a placeholder here

svn path=/trunk/vorbis/; revision=17050

14 years agoAttempted fix for 32 bit overflow in floor1 line fitting for very low
Monty [Thu, 25 Mar 2010 09:30:18 +0000 (09:30 +0000)]
Attempted fix for 32 bit overflow in floor1 line fitting for very low
bitrate modes with oversized blocks.  Should close #1658.

svn path=/trunk/vorbis/; revision=17032

14 years agoWe do in fact need automake 1.7; 1.6 will bomb out.
Monty [Thu, 25 Mar 2010 09:07:22 +0000 (09:07 +0000)]
We do in fact need automake 1.7; 1.6 will bomb out.

svn path=/trunk/vorbis/; revision=17031

14 years agoFix leak when aborting out of static_codebook unpack. Closes #1663.
Monty [Thu, 25 Mar 2010 06:52:55 +0000 (06:52 +0000)]
Fix leak when aborting out of static_codebook unpack.  Closes #1663.

svn path=/trunk/vorbis/; revision=17030

14 years agoFix for Mozilla BZ#550184 and Xiph Trac #1656
Monty [Thu, 25 Mar 2010 05:29:15 +0000 (05:29 +0000)]
Fix for Mozilla BZ#550184 and Xiph Trac #1656

svn path=/trunk/vorbis/; revision=17029

14 years agoKill off two harmless gcc warnings in vorbisenc.c
Monty [Thu, 25 Mar 2010 05:22:15 +0000 (05:22 +0000)]
Kill off two harmless gcc warnings in vorbisenc.c

svn path=/trunk/vorbis/; revision=17028

14 years agoApply patches from Trac #1638, additional application hardening (not
Monty [Thu, 25 Mar 2010 05:21:20 +0000 (05:21 +0000)]
Apply patches from Trac #1638, additional application hardening (not
bugfixes, but ignoring easy-to-catch cases of improper lib use) and one
more bitstream guard.

svn path=/trunk/vorbis/; revision=17027

14 years ago22kHz setup was using wrong compand mapping; closes Trac #1635
Monty [Thu, 25 Mar 2010 05:00:27 +0000 (05:00 +0000)]
22kHz setup was using wrong compand mapping; closes Trac #1635

svn path=/trunk/vorbis/; revision=17026

14 years agoCorrect bug in 16kHz coupled books similar to the bug that had popped up in
Monty [Thu, 25 Mar 2010 04:56:56 +0000 (04:56 +0000)]
Correct bug in 16kHz coupled books similar to the bug that had popped up in
uncoupled output.  It would cause efficiency loss and unstable tones in
high-rate encoding (q5 and higher).

svn path=/trunk/vorbis/; revision=17025

14 years agoTest 1 through 8 channels, all quality levels, all main sample rates. This caught...
Monty [Thu, 25 Mar 2010 04:45:53 +0000 (04:45 +0000)]
Test 1 through 8 channels, all quality levels, all main sample rates.  This caught another codebook error in the
16kHz books

svn path=/trunk/vorbis/; revision=17024

14 years agoMake the 'make check' cover all the uncoupled codebooks
Monty [Thu, 25 Mar 2010 03:58:42 +0000 (03:58 +0000)]
Make the 'make check' cover all the uncoupled codebooks

svn path=/trunk/vorbis/; revision=17023

14 years agoCorrect a longstanding bug in the 16u2 codebook; the bug was harmless (though it...
Monty [Thu, 25 Mar 2010 03:45:42 +0000 (03:45 +0000)]
Correct a longstanding bug in the 16u2 codebook; the bug was harmless (though it hurt efficiency) in the old
coupling/quant code, but it causes corrupt output in the new code; fixed.

Update frameview code for recent Tk

svn path=/trunk/vorbis/; revision=17022

14 years agoSpelling fixes in include docs
Monty [Wed, 24 Mar 2010 09:29:41 +0000 (09:29 +0000)]
Spelling fixes in include docs
Closes #1624

svn path=/trunk/vorbis/; revision=17021

14 years agoOn powerpc-unknown-linux-gnuspe SPE is used for floating point.
Monty [Wed, 24 Mar 2010 09:27:43 +0000 (09:27 +0000)]
On powerpc-unknown-linux-gnuspe SPE is used for floating point.
-mcpu=970 disables the usage of the SPU unit and enables the "normal"
floating
point unit. This results either in slow code (kernel floating point
emulation)
or in SIGILL.

Closes #1614

svn path=/trunk/vorbis/; revision=17020

14 years agoCorrect grammar in CHANGES file.
Monty [Wed, 24 Mar 2010 09:25:23 +0000 (09:25 +0000)]
Correct grammar in CHANGES file.
Closes #1584

svn path=/trunk/vorbis/; revision=17019

14 years agoAdd patch to disable building examples by default, test Makefile.am fix
Monty [Wed, 24 Mar 2010 09:08:33 +0000 (09:08 +0000)]
Add patch to disable building examples by default, test Makefile.am fix
Closes Trac #1571

svn path=/trunk/vorbis/; revision=17018

14 years agoVorbisfile was always reading very large chunks; a good idea for
Monty [Wed, 24 Mar 2010 07:37:36 +0000 (07:37 +0000)]
Vorbisfile was always reading very large chunks; a good idea for
seeking/local file playback, a very bad idea for low-rate streaming.

The large chunksize wasn't needed for read performance, just
seek-and-scrub performance.  So add a seperate smaller read size.

svn path=/trunk/vorbis/; revision=17012

14 years agoAdd ectl to disable/reenable channel coupling
Monty [Tue, 23 Mar 2010 03:44:44 +0000 (03:44 +0000)]
Add ectl to disable/reenable channel coupling

svn path=/trunk/vorbis/; revision=16995

14 years agoGet the management numbers for 5.1 a little closer to 'in the ballpark'.
Monty [Thu, 11 Mar 2010 07:41:42 +0000 (07:41 +0000)]
Get the management numbers for 5.1 a little closer to 'in the ballpark'.

svn path=/trunk/vorbis/; revision=16963

14 years agoCommit a first cut of 5.1 tuning.
Monty [Thu, 11 Mar 2010 07:30:34 +0000 (07:30 +0000)]
Commit a first cut of 5.1 tuning.

One last thing to try, aside from a longer training run, would be to use pairwise L/R
codebooks on uncoupled data in higher q modes, where the 'stereo abuse' strategy worked well,
probably due more to codebooks backend than the stereo coupling pairs.

svn path=/trunk/vorbis/; revision=16962

14 years agoAdd new book geenration descriptions
Monty [Thu, 11 Mar 2010 07:15:40 +0000 (07:15 +0000)]
Add new book geenration descriptions
Remove more dead utils

svn path=/trunk/vorbis/; revision=16961

14 years agoUpdate the VQ tools to pared down codebook abstraction.
Monty [Wed, 10 Mar 2010 16:03:11 +0000 (16:03 +0000)]
Update the VQ tools to pared down codebook abstraction.
Eliminate long unused tools; they're still in SVN.

svn path=/trunk/vorbis/; revision=16959

14 years agoMissed an errant useless float var in encode-side codebook lookup
Monty [Tue, 9 Mar 2010 18:45:14 +0000 (18:45 +0000)]
Missed an errant useless float var in encode-side codebook lookup

svn path=/trunk/vorbis/; revision=16958

14 years agoExtend residue2 setup code to work with non-stereo bundles
Monty [Tue, 9 Mar 2010 17:13:11 +0000 (17:13 +0000)]
Extend residue2 setup code to work with non-stereo bundles

svn path=/trunk/vorbis/; revision=16957

14 years agoAdd some unneccessary but potentially useful bulletproofing to allow use of versized...
Monty [Tue, 9 Mar 2010 16:05:44 +0000 (16:05 +0000)]
Add some unneccessary but potentially useful bulletproofing to allow use of versized floors in
floor1 on encode side (already worked properly decode-side).

svn path=/trunk/vorbis/; revision=16956

14 years agoCorrect numerous small bugs in new coupling engine
Monty [Thu, 4 Mar 2010 18:21:43 +0000 (18:21 +0000)]
Correct numerous small bugs in new coupling engine

svn path=/trunk/vorbis/; revision=16950

14 years agoNew noise norm, coupling and quant code necessary for depth>1 coupling. Also substan...
Monty [Wed, 3 Mar 2010 16:12:40 +0000 (16:12 +0000)]
New noise norm, coupling and quant code necessary for depth>1 coupling.  Also substantially
cleans up the old code for mono/stereo usage.

svn path=/trunk/vorbis/; revision=16946

14 years agoCorrect an error in the integer work buffer allocation
Monty [Mon, 1 Mar 2010 11:33:57 +0000 (11:33 +0000)]
Correct an error in the integer work buffer allocation

svn path=/trunk/vorbis/; revision=16941

14 years agoMove partition calssification metrics to integer as the actual
Monty [Mon, 1 Mar 2010 11:24:39 +0000 (11:24 +0000)]
Move partition calssification metrics to integer as the actual
operations were integer anyway.

svn path=/trunk/vorbis/; revision=16940

14 years agoSome significant encoder-side codebook cleanup toward new surround code
Monty [Mon, 1 Mar 2010 08:38:14 +0000 (08:38 +0000)]
Some significant encoder-side codebook cleanup toward new surround code
landing.

This is primarily elimination of dead code and useless float vectors
that are of no use given the current encoder codebook strategy.

svn path=/trunk/vorbis/; revision=16939

14 years agoCorrect a setup 'bug' that doesn't affect anything in current encoder, but could...
Monty [Fri, 19 Feb 2010 02:49:25 +0000 (02:49 +0000)]
Correct a setup 'bug' that doesn't affect anything in current encoder, but could certainly be
annoying when surround lands.

svn path=/trunk/vorbis/; revision=16921

14 years agoRemoved Release_SSE and Release SSE2 configurations. Changed Windows Mobile 5.0 confi...
Cristian Adam [Thu, 18 Feb 2010 17:10:47 +0000 (17:10 +0000)]
Removed Release_SSE and Release SSE2 configurations. Changed Windows Mobile 5.0 configuration from "Pocket PC SDK 2 (ARMV4I)" to "Pocket PC SDK (ARMV4I)", version "2" was generated by versions of Windows Mobile 5.0 SDK which are no longer available on MSDN.

svn path=/trunk/vorbis/; revision=16912

14 years agonot closing the name tag freaks out the style sheet
Monty [Wed, 17 Feb 2010 18:52:33 +0000 (18:52 +0000)]
not closing the name tag freaks out the style sheet

svn path=/trunk/vorbis/; revision=16907

14 years agoAdd a useful anchor
Monty [Wed, 17 Feb 2010 18:48:21 +0000 (18:48 +0000)]
Add a useful anchor

svn path=/trunk/vorbis/; revision=16906

14 years agoThe rounding can cause a surprising amount of trouble in book creation.
Monty [Sat, 13 Feb 2010 19:26:42 +0000 (19:26 +0000)]
The rounding can cause a surprising amount of trouble in book creation.

svn path=/trunk/vorbis/; revision=16897

14 years agoCorrect some amount of minor bitrot in the codebook training code
Monty [Sat, 13 Feb 2010 06:47:54 +0000 (06:47 +0000)]
Correct some amount of minor bitrot in the codebook training code

svn path=/trunk/vorbis/; revision=16895

14 years agoSome minor setup code rearrangement/cleanup toward 5.1/7.1 additions
Monty [Fri, 12 Feb 2010 20:32:12 +0000 (20:32 +0000)]
Some minor setup code rearrangement/cleanup toward 5.1/7.1 additions

svn path=/trunk/vorbis/; revision=16894

14 years agoCommit channel ordering clarifications to libvorbisfile doc
Monty [Tue, 26 Jan 2010 02:40:41 +0000 (02:40 +0000)]
Commit channel ordering clarifications to libvorbisfile doc

svn path=/trunk/vorbis/; revision=16805

14 years agoAdd minor clarifications to channel ordering docs
Monty [Tue, 26 Jan 2010 02:28:40 +0000 (02:28 +0000)]
Add minor clarifications to channel ordering docs

svn path=/trunk/vorbis/; revision=16804

14 years agoRemove a misleading comment about VBR quality request range.
Ralph Giles [Wed, 20 Jan 2010 01:42:54 +0000 (01:42 +0000)]
Remove a misleading comment about VBR quality request range.

The documentation says the range is -0.1 to 1.0, but these comments
started the range at 0.0. Against expectations, it looks like the
documentation is correct.

Patch from Douglas Bagnall <douglas@paradise.net.nz>.

svn path=/trunk/vorbis/; revision=16790

14 years agoShift vorbisenc API docs into doxygen 2/2 (add doxygen)
Ralph Giles [Wed, 20 Jan 2010 01:41:23 +0000 (01:41 +0000)]
Shift vorbisenc API docs into doxygen 2/2 (add doxygen)

Until now the libvorbisenc API has been documented via static html
pages in doc/vorbisenc/.  This patch moves that documentation into the
vorbisenc.h header.

For the most part, the text was copied unchanged, except where doxygen
was better able to say something in its own way.  For example, the
\deprecated tag changed the format of deprecation messages.  A few
trivial misspelling's were fixed, including some that doxygen caught.
Some of the narrative flow of the original was lost, as doxygen
reorders documentation according to its own plan, so I changed a few
phrases on account of this loss of context.

Some ordinary comments in the header were obviated by the doxygen and
removed.

Neither the overview documentation in overview.html nor the examples
in examples.html are included in the header, nor are the functions
that are exposed by including vorbisenc.h but which are actually
declared in codecs.h.

Patch from Douglas Bagnall <douglas@paradise.net.nz>.

svn path=/trunk/vorbis/; revision=16789

14 years agoShift vorbisenc API docs into doxygen 1/2 (reorder defines)
Ralph Giles [Wed, 20 Jan 2010 01:36:04 +0000 (01:36 +0000)]
Shift vorbisenc API docs into doxygen 1/2 (reorder defines)

In order to group the documentation of the OV_ECTL_* constants used
with vorbis_encode_ctl, their definitions need to be adjacent.

This patch only moves the defines; the next only touches comments.

Patch from Douglas Bagnall <douglas@paradise.net.nz>.

svn path=/trunk/vorbis/; revision=16788

14 years agoset HAVE_DOXYGEN=false in else
j [Fri, 15 Jan 2010 02:40:38 +0000 (02:40 +0000)]
set HAVE_DOXYGEN=false in else

svn path=/trunk/vorbis/; revision=16786

14 years agoDefine the HAVE_DOXYGEN conditional unconditionally so the configure
Ralph Giles [Fri, 15 Jan 2010 02:31:15 +0000 (02:31 +0000)]
Define the HAVE_DOXYGEN conditional unconditionally so the configure
script completes even with --disable-docs.

svn path=/trunk/vorbis/; revision=16785

14 years agoadd doxygen build system
j [Thu, 14 Jan 2010 23:42:27 +0000 (23:42 +0000)]
add doxygen build system

svn path=/trunk/vorbis/; revision=16784

14 years agoAdd official channel ordering/location for 6.1/7.1 surround.
Monty [Thu, 14 Jan 2010 02:34:05 +0000 (02:34 +0000)]
Add official channel ordering/location for 6.1/7.1 surround.

svn path=/trunk/vorbis/; revision=16781

14 years agoCleanup pass on the vorbisenc documentation.
Ralph Giles [Sat, 19 Dec 2009 08:26:06 +0000 (08:26 +0000)]
Cleanup pass on the vorbisenc documentation.

svn path=/trunk/vorbis/; revision=16757

14 years agoAdd rough reference documentation for the main encoding calls.
Ralph Giles [Sat, 19 Dec 2009 07:59:52 +0000 (07:59 +0000)]
Add rough reference documentation for the main encoding calls.

These are a bit rough in that the main calls are declared in codec.h,
and not vorbisenc.h as one might expect for the encoder. Nevertheless
I felt this was helpful to those trying to use the encoder since there
is no 'Programming with libvorbis' documenation at all.

The error return values listed don't entirely match what the code will
actually provide, but they're all good ones to check for anyway.

Note of the new pages have hyperlinked function or structure names.

svn path=/trunk/vorbis/; revision=16756

14 years agoDocumenation fix: functions are in vorbisfile.h, not libvorbisfile.h.
Ralph Giles [Sat, 19 Dec 2009 06:15:44 +0000 (06:15 +0000)]
Documenation fix: functions are in vorbisfile.h, not libvorbisfile.h.

svn path=/trunk/vorbis/; revision=16755

14 years agolinked statically to c runtime for windows mobile.
Cristian Adam [Wed, 25 Nov 2009 23:04:24 +0000 (23:04 +0000)]
linked statically to c runtime for windows mobile.

svn path=/trunk/vorbis/; revision=16724

14 years agoPut in the magic maintainer-mode invocation to configure.ac, otherwise sometimes
Mike Smith [Fri, 13 Nov 2009 22:53:10 +0000 (22:53 +0000)]
Put in the magic maintainer-mode invocation to configure.ac, otherwise sometimes
autotools goes off into a corner and shoots itself.

svn path=/trunk/vorbis/; revision=16701

15 years agoDon't allow ordered codebooks with codeword lengths longer than 32 bits.
Tim Terriberry [Thu, 1 Oct 2009 02:54:22 +0000 (02:54 +0000)]
Don't allow ordered codebooks with codeword lengths longer than 32 bits.

svn path=/trunk/vorbis/; revision=16597

15 years agoChanged the C runtime library to the default option - dynamic runtime library.
Cristian Adam [Tue, 29 Sep 2009 22:46:15 +0000 (22:46 +0000)]
Changed the C runtime library to the default option - dynamic runtime library.

svn path=/trunk/vorbis/; revision=16595

15 years agoadd pkg.m4 to vorbis, that way ./autogen.sh works on systems that dont have pkg-confi...
j [Mon, 28 Sep 2009 16:54:28 +0000 (16:54 +0000)]
add pkg.m4 to vorbis, that way ./autogen.sh works on systems that dont have pkg-config installed

svn path=/trunk/vorbis/; revision=16592

15 years agoModify fix for Trac #1572; some files from the earliest beta
Monty [Sat, 12 Sep 2009 02:09:04 +0000 (02:09 +0000)]
Modify fix for Trac #1572; some files from the earliest beta
accidentally used an oversized phrasebook in res decode; allow these
[technically corrept] files to play.  The attack fix is still
watertight, the check is simply made in a different way.

svn path=/trunk/vorbis/; revision=16552

15 years agoBumped libogg version to 1.1.4 and fixed dynamic compilation because of missing expor...
Cristian Adam [Sat, 25 Jul 2009 22:52:38 +0000 (22:52 +0000)]
Bumped libogg version to 1.1.4 and fixed dynamic compilation because of missing export function.

svn path=/trunk/vorbis/; revision=16335

15 years agoMore extensive / difficult to abuse version of #1573 fix. Makes it abunduntly clear...
Monty [Fri, 24 Jul 2009 01:58:50 +0000 (01:58 +0000)]
More extensive / difficult to abuse version of #1573 fix.  Makes it abunduntly clear that the DSP state is uninitialized.

svn path=/trunk/vorbis/; revision=16330

15 years agoSimilarly check for error in seeking_example
Monty [Fri, 24 Jul 2009 01:53:20 +0000 (01:53 +0000)]
Similarly check for error in seeking_example

svn path=/trunk/vorbis/; revision=16329

15 years agoFix for Trac #1573.
Monty [Fri, 24 Jul 2009 01:51:10 +0000 (01:51 +0000)]
Fix for Trac #1573.

This is two bugs.  The first is that vorbisfile_example.c ignores an
error code and plows ahead blindly if libvorbisfile reports the
current bitstream section is bad (OV_EBADLINK).

The second is that retrying after the error crashes libvorbisfile due
to the unitialized state.

svn path=/trunk/vorbis/; revision=16328

15 years agoCommit fix to Trac #1572; the erroneous setup was being checked for, but not completely.
Monty [Fri, 24 Jul 2009 00:49:25 +0000 (00:49 +0000)]
Commit fix to Trac #1572; the erroneous setup was being checked for, but not completely.

svn path=/trunk/vorbis/; revision=16327

15 years agoEliminate possibility of booklist overflow in res0/1/2 unpacking.
Monty [Fri, 24 Jul 2009 00:06:53 +0000 (00:06 +0000)]
Eliminate possibility of booklist overflow in res0/1/2 unpacking.

svn path=/trunk/vorbis/; revision=16326