summaryrefslogtreecommitdiff
path: root/libavcodec/wavpack.c
Commit message (Collapse)AuthorAge
...
* Fixed invalid access in wavpack decoder on corrupted extra bits sub-blocks.Laurent Aimar2011-09-08
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* wavpack: fix wrong return value in wavpack_decode_block()Kostya Shishkov2011-09-05
| | | | | | | | This function should return number of samples decoded, not number of bytes decoded. Spotted by Uoti Urpala. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* wavpack: use context reset in appropriate placesKostya Shishkov2011-09-05
| | | | | | | | This fixes improper flushing in the cases when the same frame is decoded in several iterations (for being too large to fit into output buffer) and flush is called mid-decoding and it also resets context in case of decoding errors. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* WavPack decoder: implement flush functionKostya Shishkov2011-08-21
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Merge libavcore into libavutilReinhard Tartler2011-02-15
| | | | | | | | | | | | It is pretty hopeless that other considerable projects will adopt libavutil alone in other projects. Projects that need small footprint are better off with more specialized libraries such as gnulib or rather just copy the necessary parts that they need. With this in mind, nobody is helped by having libavutil and libavcore split. In order to ease maintenance inside and around FFmpeg and to reduce confusion where to put common code, avcore's functionality is merged (back) to avutil. Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* Replace remaining occurrences of deprecated CH_* with AV_CH_*Anton Khirnov2011-02-06
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-26
| | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
* reindent after last commitKostya2011-01-24
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Extend WavPack demuxer and decoder to support >2 channel audioKostya2011-01-24
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Limit number of samples decoded for WavPack mono mode, so decoded samples willKostya Shishkov2011-01-08
| | | | | | fit into output buffer. Originally committed as revision 26269 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fail more gracefully for multichannel wavpack in another container.Carl Eugen Hoyos2011-01-07
| | | | Originally committed as revision 26253 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enumStefano Sabatini2010-11-12
| | | | | | SampleFormat with AVSampleFormat. Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 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
* cosmetics: reindent after last commitKostya Shishkov2010-02-19
| | | | Originally committed as revision 21895 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Since WavPack chunk can contain more samples than FFmpeg is guaranteed toKostya Shishkov2010-02-19
| | | | | | hold, decode it in several iterations outputting as many samples as possible. Originally committed as revision 21894 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use get_bits_left() instead of size_in_bits - get_bits_count().Ronald S. Bultje2009-11-16
| | | | Originally committed as revision 20543 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add CODEC_CAP_SUBFRAMES for codecs that output multiple subframesSascha Sommer2009-09-16
| | | | | | | | per AVPacket No longer print "Multiple frames in a packet" error message when CODEC_CAP_SUBFRAMES is set (wmapro, wavpack) Originally committed as revision 19881 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add floating point audio decoding to WavPack decoder.Laurent Aimar2009-05-06
| | | | | | Patch by Laurent Aimar (fenrir at `antonym of 'audio'+antonym of 'WAN'` dot org) Originally committed as revision 18754 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Prepare WavPack decoder to support floating point output.Laurent Aimar2009-05-06
| | | | | | Patch by Laurent Aimar (f-e-n-r-i-r .@.t. v=i=d=e=o=l=a=n .d.o.t. o=r=g) Originally committed as revision 18753 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize out integer sample value decoding for WavPack.Laurent Aimar2009-05-05
| | | | | | This is slightly modified patch by Laurent Aimar. Originally committed as revision 18740 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check whether extra bits block has enough data.Laurent Aimar2009-05-03
| | | | | | Patch by Laurent Aimar "f\145nr\151r >at< vide\157lan <dot> o\162g" Originally committed as revision 18732 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove dead assignments found by CSABenjamin Larsson2009-05-02
| | | | Originally committed as revision 18730 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Decode extended bitstream for high-precision WavPack files.Laurent Aimar2009-05-02
| | | | | | Patch by Laurent Aimar [(wolf, son of Loki) <at> (videolan) <dot> (org)] Originally committed as revision 18729 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Correctly update output sample format in wavpack decoder.Laurent Aimar2009-04-26
| | | | | | Patch by Laurent Aimar (at 'fenrir (cons 'videolan 'org)) Originally committed as revision 18694 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge decoding functions for all bitdepths in WavPack decoderKostya Shishkov2009-04-24
| | | | Originally committed as revision 18675 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Handle WavPack INT32INFO chunks with nonzero post shiftKostya Shishkov2009-04-23
| | | | Originally committed as revision 18668 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add functions for decoding >16 bits WavPack files.Kostya Shishkov2009-04-23
| | | | | | Based on patches by Laurent Aimar (fenrir >whirlpool< videolan >dit< org) Originally committed as revision 18667 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Shift 9-15 bit samples to use full 16-bit range.Laurent Aimar2009-04-23
| | | | | | | Patch by Laurent Aimar <fenrir at VLCsite> Thread: [PATCH] Fixed wavpack 9-15 bits support Originally committed as revision 18666 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
* WavPack hybrid mode supportKostya Shishkov2009-01-16
| | | | Originally committed as revision 16643 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add channel layout to several audio decoders I maintainKostya Shishkov2008-11-19
| | | | Originally committed as revision 15884 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
* 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
* 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
* Apply 'cold' attribute to init/uninit functions in libavcodecZuxy Meng2008-03-21
| | | | Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* constMichael Niedermayer2008-02-01
| | | | Originally committed as revision 11788 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove some empty close/init functions in avcodecAurelien Jacobs2007-11-25
| | | | | | patch by Alex Originally committed as revision 11093 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add get_unary_0_33() to help gcc with inliningAurelien Jacobs2007-08-26
| | | | Originally committed as revision 10242 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move get_unary() to its own fileAurelien Jacobs2007-08-26
| | | | Originally committed as revision 10240 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support for WavPack version 0x410 (false stereo chunks)David Bryant2007-08-13
| | | | | | | Patch by David Bryant printf("david@%s.com",wv_demuxer.long_name); Thread [PATCH] handle WavPack stream version 0x410 Originally committed as revision 10101 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename flag for consistency with the next commitKostya Shishkov2007-08-13
| | | | Originally committed as revision 10100 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use get_unary from bitstream.hAlex Beregszaszi2007-08-08
| | | | Originally committed as revision 9995 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add the handling of the INT32INFO block to the WavPack decoder.David Bryant2007-08-05
| | | | | | | Patch by David Bryant david at $codecname dot com Thread: [FFmpeg-devel] [PATCH] handle INT32INFO in WavPack decoder Originally committed as revision 9932 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Correctly handle data_size on decodingKostya Shishkov2007-03-20
| | | | Originally committed as revision 8451 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Coded residual in WavPack may be > 0xFFFFKostya Shishkov2007-01-27
| | | | Originally committed as revision 7733 to svn://svn.ffmpeg.org/ffmpeg/trunk