summaryrefslogtreecommitdiff
path: root/libavcodec/vorbis.c
Commit message (Collapse)AuthorAgeFilesLines
* vorbisdec: cosmetics: rename variable avccontext to avctxJustin Ruggles2013-02-251-2/+2
| | | | This is consistent with the rest of libavcodec.
* avcodec: Drop some silly commented-out av_log() invocationsDiego Biurrun2012-10-011-3/+1
|
* vorbis: Validate that the floor 1 X values contain no duplicates.Alex Converse2012-06-051-1/+8
| | | | | Duplicate values in this vector are explicitly banned by the Vorbis I spec and cause divide-by-zero crashes later on.
* vorbis: fix overflows in floor1[] vector and inverse db table index.Ronald S. Bultje2012-02-021-10/+9
|
* vorbis: Avoid some out-of-bounds readsChris Evans2012-01-061-7/+8
| | | | | | | | Fixes Bug: #190 Chromium Bug: #100543 Related to CVE-2011-3893 Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* Drop ALT_ prefix from BITSTREAM_READER_LE name.Diego Biurrun2011-12-221-1/+1
| | | | | The prefix is a historic remnant that probably meant "alternative". Now that the A32 bitstream reader has been dropped it makes no sense anymore.
* doxygen: do not include license boilerplate in Doxygen documentationDiego Biurrun2011-07-151-5/+7
|
* Replace custom DEBUG preprocessor trickery by the standard one.Diego Biurrun2011-06-031-6/+3
|
* Replace int_fast integer types with their sized standard posix counterparts.Diego Biurrun2011-05-121-5/+3
| | | | | The _fast integer types provide no realworld benefits, but may introduce portability issues and are just plain ugly.
* vorbis: Replace sized int_fast integer types with plain int/unsigned.Diego Biurrun2011-04-291-5/+4
| | | | | | int/unsigned is the natural memory access type for CPUs, using sized types for temporary variables, counters and similar just increases code size and can possibly cause a slowdown.
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-201-1/+1
| | | | | | | | Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* whitespace cosmetics, prettyprinting, K&R coding styleDiego Biurrun2009-09-291-44/+45
| | | | Originally committed as revision 20080 to svn://svn.ffmpeg.org/ffmpeg/trunk
* some more linebreak and brace placement cosmeticsDiego Biurrun2009-09-281-12/+24
| | | | Originally committed as revision 20071 to svn://svn.ffmpeg.org/ffmpeg/trunk
* brace placement and linebreak cosmeticsDiego Biurrun2009-09-281-16/+22
| | | | Originally committed as revision 20070 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variable.Reimar Döffinger2009-08-301-1/+0
| | | | Originally committed as revision 19745 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentLoren Merritt2009-08-271-13/+13
| | | | Originally committed as revision 19727 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 1.5x faster ff_vorbis_floor1_render_list, 5% faster vorbis decoding on Core2.Loren Merritt2009-08-271-6/+32
| | | | | | | | | 1.3x and 3% on G4. Though I think only part of this speedup is due to my optimizations per se; some of it is that I got a better roll on the GCC random code generator. Trivial reorderings of this function have a disproportionate effect on speed. Originally committed as revision 19726 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add extra validation checks to ff_vorbis_len2vlc.Reimar Döffinger2009-07-081-0/+5
| | | | | | They should not be necessary, but it seems like a reasonable precaution. Originally committed as revision 19374 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename bitstream.h to get_bits.h.Stefano Sabatini2009-04-131-1/+1
| | | | Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-011-1/+1
| | | | | | | Otherwise doxygen complains about ambiguous filenames when files exist under the same name in different subdirectories. Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename all vorbis encoder related typedefs to not use _t for POSIX compatibilityOded Shimon2008-12-121-2/+2
| | | | Originally committed as revision 16076 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unnecessary parentheses from return calls.Diego Biurrun2008-05-061-1/+1
| | | | Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 30% faster ff_vorbis_floor1_render_list, 3% faster overallLoren Merritt2008-02-091-15/+12
| | | | Originally committed as revision 11883 to svn://svn.ffmpeg.org/ffmpeg/trunk
* license header consistency cosmeticsDiego Biurrun2007-07-051-1/+0
| | | | Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename vorbis.c to vorbis_dec.c and vorbis_common.c to vorbis.cAurelien Jacobs2007-05-101-1564/+112
| | | | Originally committed as revision 8981 to svn://svn.ffmpeg.org/ffmpeg/trunk
* loosen vorbis_enc.c dependencies by spliting vorbis.cAurelien Jacobs2007-05-101-152/+0
| | | | Originally committed as revision 8980 to svn://svn.ffmpeg.org/ffmpeg/trunk
* extract vorbis header spliting code into a reusable functionAurelien Jacobs2007-03-251-27/+3
| | | | | | | | Original thread: Date: Thu, 22 Mar 2007 20:23:08 -0400 Subject: [Ffmpeg-devel] [PATCH] Theora in MKV (GSoC '07 Qualification) Originally committed as revision 8505 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename inverse -> ff_inverseMåns Rullgård2006-11-121-1/+1
| | | | Originally committed as revision 6990 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename ABS macro to FFABS.Diego Biurrun2006-10-111-3/+3
| | | | Originally committed as revision 6666 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change license headers to say 'FFmpeg' instead of 'this program/this library'Diego Biurrun2006-10-071-4/+6
| | | | | | and fix GPL/LGPL version mismatches. Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove render_line from vorbis.h, add ff_vorbis_floor1_render_list insteadOded Shimon2006-10-011-25/+46
| | | | Originally committed as revision 6409 to svn://svn.ffmpeg.org/ffmpeg/trunk
* make some more functions global so they can be shared with vorbis_enc.cOded Shimon2006-10-011-70/+19
| | | | Originally committed as revision 6402 to svn://svn.ffmpeg.org/ffmpeg/trunk
* make ready_floor1_list() shared for vorbis_enc.cOded Shimon2006-10-011-61/+50
| | | | Originally committed as revision 6401 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vorbis.h -> vorbis_data.cOded Shimon2006-09-301-8/+125
| | | | | | | move tables from vorbis.h to a C file so they can be used later in vorbis_enc.c Originally committed as revision 6398 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Get rid of get_bits_long_le, get_bits_long was fixed and now behaves the ↵Reimar Döffinger2006-09-251-18/+7
| | | | | | same way. Originally committed as revision 6334 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix to vorbis decoder for book==0Oded Shimon2006-09-241-1/+1
| | | | Originally committed as revision 6328 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variable.Diego Biurrun2006-09-101-1/+1
| | | | Originally committed as revision 6223 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vorbis simd tweaksLoren Merritt2006-08-111-1/+1
| | | | Originally committed as revision 5983 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vorbis cosmetics: mdct0,mdct1 => mdct[2]Loren Merritt2006-08-101-52/+49
| | | | Originally committed as revision 5978 to svn://svn.ffmpeg.org/ffmpeg/trunk
* misc tweaks in vorbis_residue_decode().Loren Merritt2006-08-101-11/+19
| | | | | | 4% faster vorbis. Originally committed as revision 5977 to svn://svn.ffmpeg.org/ffmpeg/trunk
* sse and 3dnow implementations of float->int conversion and mdct windowing.Loren Merritt2006-08-101-45/+54
| | | | | | 15% faster vorbis. Originally committed as revision 5975 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 3dnow2 implementation of imdct.Loren Merritt2006-08-081-1/+1
| | | | | | 6% faster vorbis and wma. Originally committed as revision 5954 to svn://svn.ffmpeg.org/ffmpeg/trunk
* another div -> fastdiv, another 2% faster vorbis.Loren Merritt2006-08-031-1/+3
| | | | Originally committed as revision 5902 to svn://svn.ffmpeg.org/ffmpeg/trunk
* sse & sse2 implementations of vorbis channel coupling.Loren Merritt2006-08-031-20/+27
| | | | | | 9% faster vorbis (on a K8). Originally committed as revision 5898 to svn://svn.ffmpeg.org/ffmpeg/trunk
* int16_t is faster than int_fast16_t for division.Loren Merritt2006-08-031-2/+2
| | | | | | 2% faster vorbis (on a K8). Originally committed as revision 5897 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics. Add the defines needed for debug output.Benjamin Larsson2006-05-111-0/+2
| | | | Originally committed as revision 5361 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix a crash on x86_64Loren Merritt2006-05-111-1/+1
| | | | Originally committed as revision 5360 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vorbis 5:1 decoding fix, fix mi2_vorbis51.mp4, patch by Denes Balatoni ↵Denes Balatoni2006-05-071-1/+3
| | | | | | <dbalatoni at programozo dot hu> Originally committed as revision 5349 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Vorbis specs requires blocksize_1 >= blocksize_0, error if it's false.Uoti Urpala2006-04-231-1/+8
| | | | | | | | | Predict buffer size from blocksize_1 and number of channels and make sure this does not exceed AVCODEC_MAX_AUDIO_FRAME_SIZE Patch by Uoti Urpala >>> uoti |.| urpala |@| pp1 |.| inet |.| fi <<< Originally committed as revision 5313 to svn://svn.ffmpeg.org/ffmpeg/trunk