summaryrefslogtreecommitdiff
path: root/libavcodec/apedec.c
Commit message (Collapse)AuthorAge
...
* apedec: use unsigned int for 'nblocks' and make sure that it's within int rangeJustin Ruggles2011-10-28
|
* apedec: do not set s->samples until after validation.Justin Ruggles2011-10-28
| | | | | This prevents errors and/or invalid writes in the next decode call due to s->samples still being negative.
* apedec: check for data buffer realloc failureJustin Ruggles2011-10-28
|
* apedec: return meaningful error values in ape_decode_frame()Justin Ruggles2011-10-28
|
* apedec: correct an error messageJustin Ruggles2011-10-28
|
* apedec: cosmeticsJustin Ruggles2011-10-28
| | | | break some excessively long lines and remove space after '*'
* apedec: return meaningful error codes from ape_decode_init()Justin Ruggles2011-10-28
|
* apedec: check for filter buffer allocation failureJustin Ruggles2011-10-28
|
* apedec: use memcpy for pseudo-stereo modeJustin Ruggles2011-10-28
|
* apedec: remove unneeded check for zero-size packet.Justin Ruggles2011-10-28
| | | | This is already checked by avcodec_decode_audio3().
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* doxygen: Prefer member groups over grouping into modulesReinhard Tartler2011-07-02
| | | | | | | | | Before this, almost all module groups have been used for grouping functions and fields in structures semantically. This causes them to not appear properly in the file documentation and needlessly clutters up the "Modules" index. Additionally, this commit streamlines some spelling and appearances.
* 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>
* 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
* apedec: add flush functionMåns Rullgård2010-06-30
| | | | Originally committed as revision 23900 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
* 16l trocadero: don't forget to free frame data buffer in APE decoderKostya Shishkov2010-02-19
| | | | Originally committed as revision 21910 to svn://svn.ffmpeg.org/ffmpeg/trunk
* refactor and optimize scalarproductLoren Merritt2009-12-05
| | | | | | | | 29-105% faster apply_filter, 6-90% faster ape decoding on core2 (Any x86 other than core2 probably gets much less, since this is mostly due to ssse3 cachesplit avoidance and I haven't written the full gamut of other cachesplit modes.) 9-123% faster ape decoding on G4. Originally committed as revision 20739 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 1-13% faster apply_filter, 1-3% faster ape decoding on core2Loren Merritt2009-12-04
| | | | Originally committed as revision 20729 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 100l trocadero: call emms_c() after doing decoding with SIMD in APE decoderKostya Shishkov2009-12-04
| | | | Originally committed as revision 20727 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avoid an unpredictable branchLoren Merritt2009-12-03
| | | | | | 20% faster predictor_update_filter, .4-4% faster ape decoding on core2 Originally committed as revision 20720 to svn://svn.ffmpeg.org/ffmpeg/trunk
* inline to allow constant propagationLoren Merritt2009-12-03
| | | | | | 50% faster predictor_update_filter, 1-10% faster ape decoding on core2 Originally committed as revision 20719 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement missing case for decoding samples with large pivot value in APEKostya Shishkov2009-11-20
| | | | | | | decoder. This fixes issue 1555 Originally committed as revision 20560 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Monkey's Audio uses subframes too, declare that in its capabilitiesKostya Shishkov2009-09-16
| | | | Originally committed as revision 19883 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
* Fix Doxygen comments for APE decoder.Kostya Shishkov2009-01-28
| | | | Originally committed as revision 16841 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
* Correct wrong lower limit and condition used in APE decoderKostya Shishkov2008-09-24
| | | | Originally committed as revision 15396 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Bump Major version, this commit is almost just renaming bits_per_sample toLuca Abeni2008-09-08
| | | | | | | | | | | bits_per_coded_sample but that cannot be done seperately. Patch by Luca Abeni Also reset the minor version and fix the forgotton change to libfaad. Note: The API/ABI should not be considered stable yet, there still may be a change done here or there if some developer has some cleanup ideas and patches! Originally committed as revision 15262 to svn://svn.ffmpeg.org/ffmpeg/trunk
* While APE changed container format in 3.98, frequency tables for range codingKostya Shishkov2008-08-29
| | | | | | | | | were changed only in 3.99. This fixes decoding of v3.98 APE file I have. Eternal curses to the creator of such unstable format. Originally committed as revision 15019 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
* Add several vector functions used by Monkey's Audio decoder to dsputilKostya Shishkov2008-07-06
| | | | Originally committed as revision 14081 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 AVCodec declarations.Stefano Sabatini2008-04-27
| | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13009 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
* smaller tablesMichael Niedermayer2008-03-10
| | | | Originally committed as revision 12402 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused elements from tables.Michael Niedermayer2008-03-04
| | | | Originally committed as revision 12317 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Detect and prevent reading over the end of counts_*. We pass the errorMichael Niedermayer2008-03-04
| | | | | | | | | | | through a context variable as this is simpler and i think also faster, but the return value of functions could be used instead of course. The code also ensures as a side effect that the AC decoder state does not become invalid. This fixes all known crashes. And outputs nothing in case of an error instead of random noise. Originally committed as revision 12316 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Prevent segfault due to reading over the end of the input buffer.Michael Niedermayer2008-03-04
| | | | Originally committed as revision 12315 to svn://svn.ffmpeg.org/ffmpeg/trunk
* constMichael Niedermayer2008-02-01
| | | | Originally committed as revision 11713 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cast to correct type, fix warning: apedec.c:859: warning: passing argument 1 ↵Baptiste Coudurier2008-01-31
| | | | | | of 's->dsp.bswap_buf' from incompatible pointer type Originally committed as revision 11679 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix some spelling mistakes.Diego Biurrun2007-12-02
| | | | Originally committed as revision 11125 to svn://svn.ffmpeg.org/ffmpeg/trunk
* spellingVitor Sessak2007-12-01
| | | | Originally committed as revision 11122 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Monkey Audio decoderKostya Shishkov2007-09-13
Originally committed as revision 10484 to svn://svn.ffmpeg.org/ffmpeg/trunk