summaryrefslogtreecommitdiff
path: root/libavcodec/vorbis_dec.c
Commit message (Collapse)AuthorAge
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | 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
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move FFT parts from dsputil.h to fft.hMåns Rullgård2010-03-06
| | | | Originally committed as revision 22235 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for vorbis 6.1 and 7.1 channel configurations as per the new specRobert Swain2010-01-29
| | | | | | http://xiph.org/vorbis/doc/Vorbis_I_spec.html#x1-800004.3.9 Originally committed as revision 21527 to svn://svn.ffmpeg.org/ffmpeg/trunk
* More sane error message when extradata has not been set.Michael Niedermayer2009-12-18
| | | | Originally committed as revision 20894 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vorbis_dec: factor out duplicated code for index reading, bounds checking andReimar Döffinger2009-10-28
| | | | | | error message into a shared macro. Originally committed as revision 20411 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after channel layout commit from yesterdayRobert Swain2009-10-03
| | | | Originally committed as revision 20156 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add vorbis channel layout support according to those defined in the Vorbis IRobert Swain2009-10-02
| | | | | | specification Originally committed as revision 20148 to svn://svn.ffmpeg.org/ffmpeg/trunk
* whitespace cosmetics, prettyprinting, K&R coding styleDiego Biurrun2009-09-29
| | | | Originally committed as revision 20080 to svn://svn.ffmpeg.org/ffmpeg/trunk
* some more linebreak and brace placement cosmeticsDiego Biurrun2009-09-28
| | | | Originally committed as revision 20071 to svn://svn.ffmpeg.org/ffmpeg/trunk
* brace placement and linebreak cosmeticsDiego Biurrun2009-09-28
| | | | Originally committed as revision 20070 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix format string to match the types printed.Reimar Döffinger2009-09-23
| | | | Originally committed as revision 20003 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check submap indexes.Google Chrome2009-09-23
| | | | | | | | 10_vorbis_submap_indexes.patch by chrome. I am applying this even though Reimar had some comments to improve it as it fixes a serious security issue and I do not want to leave such things unfixed. Originally committed as revision 20001 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make error return sign consistent.Michael Niedermayer2009-09-23
| | | | Originally committed as revision 19997 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check begin/end/partition_size.Google Chrome2009-09-23
| | | | | | | | 23_vorbis_sane_partition.patch by chrome. Also this should be better documented but i prefer not to leave potential security issues open due to missing documentation. Originally committed as revision 19996 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check res_setup->books.Google Chrome2009-09-23
| | | | | | 15_more_residue_book_indexes.patch by chrome. Originally committed as revision 19992 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check masterbook index and subclass book index.Google Chrome2009-09-23
| | | | | | 14_floor_masterbook_index.patch by chrome Originally committed as revision 19991 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add checks for per-packet mode indexes and per-header mode mapping indexes.Google Chrome2009-09-23
| | | | | | | 12_vorbis_mode_indexes.patch by chrome maybe exploitable Originally committed as revision 19990 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check classbook value.Google Chrome2009-09-23
| | | | | | 11_vorbis_residue_book_index.patch by chrome. Originally committed as revision 19989 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix book_idx check.Google Chrome2009-09-23
| | | | | | 25_vorbis_floor0_index.patch by chrome. Originally committed as revision 19984 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Sanity checks for magnitude and angle.Google Chrome2009-09-23
| | | | | | 26_vorbis_mag_angle_index.patch by chrome Originally committed as revision 19983 to svn://svn.ffmpeg.org/ffmpeg/trunk
* = -> == typo.Google Chrome2009-09-23
| | | | | | 27_vorbis_residue_loop_error.patch by chrome Originally committed as revision 19982 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check dimensions against 0 too.Michael Niedermayer2009-09-23
| | | | | | 39_vorbis_zero_dims.patch from chrome Originally committed as revision 19976 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check validity of channels & samplerate.Michael Niedermayer2009-09-23
| | | | | | | This may be security relevant. Based on 2 patches by chrome. Originally committed as revision 19975 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge FFTContext and MDCTContextMåns Rullgård2009-09-20
| | | | Originally committed as revision 19931 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sure that values generated for ff_vorbis_len2vlc inReimar Döffinger2009-07-08
| | | | | | vorbis_parse_setup_hdr_codebooks are in the valid range (<=32). Originally committed as revision 19373 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use iMDCT output scaling to simplify ffvorbis and make it slightly faster.Siarhei Siamashka2009-05-20
| | | | Originally committed as revision 18879 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix for a problem with inverted sign of output data from ffvorbis decoder.Siarhei Siamashka2009-05-20
| | | | | | | | Now the sign of audio samples in ffvorbis output is the same as in original uncompressed audio file and this also allows the use of tiny_psnr to compare ffvorbis with libvorbis/tremor. Originally committed as revision 18878 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support for getting (i)MDCT output multiplied by a constant scaling factor.Siarhei Siamashka2009-05-16
| | | | | | | | Scaling (i)MDCT output has no runtime overhead and can be used to improve performance of audio codecs. All the changes are only needed in 'ff_mdct_init' function and slow down initialization a bit. Originally committed as revision 18855 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix for issue #829 ("ffvorbis outputs crackling sound, libvorbis plays fine")Siarhei Siamashka2009-05-14
| | | | | | | | | | | | | | This was off-by-one bug which affects floor0 encoded files. Tracked down by valgrind (was reported as the use of uninitialized memory). With this patch applied, tiny_psnr now reports the following when ffvorbis is compared to libvorbis-1.0beta4 output for 'lsp-test.ogg' sample: stddev: 0.76 PSNR: 98.69 bytes: 3498380/ 3498452 Output from libvorbis-1.2 is substantially different: stddev: 132.57 PSNR: 53.87 bytes: 3498424/ 3498496 Originally committed as revision 18821 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename bitstream.h to get_bits.h.Stefano Sabatini2009-04-13
| | | | Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann2009-04-07
| | | | | | | | | | | AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows passing of packet-specific flags from demuxer to decoder, such as the keyframe flag, which appears necessary to playback corePNG P-frames. Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread "Google Summer of Code participation" on the mailinglist. Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-01
| | | | | | | 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-12
| | | | Originally committed as revision 16076 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix memleak for currupt input.Carl Eugen Hoyos2008-10-01
| | | | Originally committed as revision 15507 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Interleaved forward/backward channels processing in order to increase chancesSiarhei Siamashka2008-10-01
| | | | | | | | of stepping on already cached data for the cores with extremely small data cache. Patch by Siarhei Siamashka: name dot surname at gmail Originally committed as revision 15493 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Optimize vorbis_residue_decode() so that vr->type is a constant.Michael Niedermayer2008-08-31
| | | | | | Based on a patch by Siarhei Siamashka. Originally committed as revision 15134 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mdct wrapper function to match fftLoren Merritt2008-08-12
| | | | Originally committed as revision 14703 to svn://svn.ffmpeg.org/ffmpeg/trunk
* optimize imdct_half:Loren Merritt2008-08-12
| | | | | | | | remove tmp buffer. skip fft reinterleave pass, leaving data in a format more convenient for simd. merge post-rotate with post-reorder. Originally committed as revision 14700 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Modify all codecs to report their supported input and output sample format(s).Peter Ross2008-07-31
| | | | Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk
* r14205 broke vorbis float_to_int on ppcLoren Merritt2008-07-29
| | | | Originally committed as revision 14466 to svn://svn.ffmpeg.org/ffmpeg/trunk
* float_to_int16_interleave: change src to an array of pointers instead of ↵Loren Merritt2008-07-16
| | | | | | | | assuming it's contiguous. this has no immediate effect, but will allow it to be used in more codecs. Originally committed as revision 14252 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vorbis: reduce memory by reusing buffersLoren Merritt2008-07-15
| | | | Originally committed as revision 14251 to svn://svn.ffmpeg.org/ffmpeg/trunk
* unroll another common case in vorbis_residue_decodeLoren Merritt2008-07-15
| | | | Originally committed as revision 14250 to svn://svn.ffmpeg.org/ffmpeg/trunk
* exploit mdct symmetryLoren Merritt2008-07-13
| | | | | | 2% faster vorbis on conroe, k8. 7% on celeron. Originally committed as revision 14207 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplify vorbis windowingLoren Merritt2008-07-13
| | | | Originally committed as revision 14205 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set frame_size to the gcd of what the decoder can output.Michael Niedermayer2008-06-25
| | | | Originally committed as revision 13971 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make AVCodec long_names definition conditional depending on CONFIG_SMALL.Stefano Sabatini2008-06-12
| | | | Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove one more set of useless parentheses from a return call.Diego Biurrun2008-05-06
| | | | Originally committed as revision 13070 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add long names to many AVCodec declarations.Stefano Sabatini2008-04-27
| | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13005 to svn://svn.ffmpeg.org/ffmpeg/trunk