summaryrefslogtreecommitdiff
path: root/libavcodec/cook.c
Commit message (Collapse)AuthorAge
* cook: Make constants passed to AV_BE2NE32C() unsigned to avoid signed overflow.Alex Converse2012-04-17
|
* Replace memset(0) by zero initializations.Diego Biurrun2012-03-28
| | | | Also remove one pointless zero initialization in rangecoder.c.
* cook: error out on quant_index values outside [-63, 63] range.Ronald S. Bultje2012-03-10
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* cook: expand dither_tab[], and make sure indexes into it don't overflow.Ronald S. Bultje2012-03-10
| | | | | | | Fixes overflows in accessing dither_tab[]. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* cook: extend channel uncoupling tables so the full bit range is covered.Ronald S. Bultje2012-03-07
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* cook: prevent div-by-zero if channels is zero.Ronald S. Bultje2012-02-17
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* vlc/rl: Add ff_ prefix to the nonstatic symbolsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* cook: K&R formatting cosmeticsShitiz Garg2011-12-31
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Add avcodec_decode_audio4().Justin Ruggles2011-12-02
| | | | | | Deprecate avcodec_decode_audio3(). Implement audio support in avcodec_default_get_buffer(). Implement the new audio decoder API in all audio decoders.
* cook: use a table for xor key rotationMans Rullgard2011-11-26
| | | | | | | This is simpler and avoids an invalid shift by 32 in the aligned case. Signed-off-by: Mans Rullgard <mans@mansr.com>
* cook: fix apparent typo in extradata parsingK.Y.H2011-11-26
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* cook: return AVERROR_PATCHWELCOME instead of ENOTSUPJustin Ruggles2011-10-29
| | | | ENOTSUP is not defined on some systems
* cook: check output buffer size before decodingJustin Ruggles2011-10-29
|
* cook: do not needlessly set *data_size to 0Justin Ruggles2011-10-29
|
* cook: remove pointless return statementsJustin Ruggles2011-10-29
|
* cook: simplify decouple_info()Justin Ruggles2011-10-29
|
* cook: return appropriate error codes instead of -1Justin Ruggles2011-10-29
|
* cook: avoid hardcoded sizes in sizeof()Justin Ruggles2011-10-29
|
* cook: remove unneeded #includesJustin Ruggles2011-10-29
|
* cook: output float samples instead of converting to int16Justin Ruggles2011-10-29
|
* cook: Fix js_vlc_bits value validation for joint stereoLaurent Aimar2011-10-06
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* doxygen: Drop array size declarations from Doxygen parameter names.Diego Biurrun2011-07-03
| | | | Adding [] to a Doxygen parameter name clashes with Doxygen syntax.
* Remove statements immediately following unconditional jumpsMans Rullgard2011-07-03
| | | | | | This removes a number of compiler warnings. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace custom DEBUG preprocessor trickery by the standard one.Diego Biurrun2011-06-03
|
* cook: Remove non-compiling debug output.Diego Biurrun2011-06-03
| | | | | random_state was changed from an int to a struct and can no longer be printed as easily as before.
* cook: Remove unused debug functions.Diego Biurrun2011-06-03
|
* Add AVX FFT implementation.Vitor Sessak2011-04-26
| | | | Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* cook: Fix small typo in av_log_ask_for_sample message.Diego Biurrun2011-04-23
|
* Use av_log_ask_for_sample() to request samples from users.Diego Biurrun2011-04-22
|
* Use av_log_ask_for_sample() where appropriate.Diego Biurrun2011-04-21
|
* Move sine windows to a separate fileMans Rullgard2011-03-20
| | | | | | | These windows do not really belong in fft/mdct files and were easily confused with the similarly named tables used by rdft. Signed-off-by: Mans Rullgard <mans@mansr.com>
* fft: remove inline wrappers for function pointersMans Rullgard2011-03-19
| | | | | | | This removes the rather pointless wrappers (one not even inline) for calling the fft_calc and related function pointers. Signed-off-by: Mans Rullgard <mans@mansr.com>
* 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
* Add av_ prefix to bswap macrosMåns Rullgård2010-07-10
| | | | Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
* bswap: change ME to NE in macro namesMåns Rullgård2010-07-10
| | | | | | | Other parts of FFmpeg use NE (native endian) rather than ME (machine). This makes it consistent. Originally committed as revision 24169 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Improve variable names in imlt_window_float() and mlt_compensate_output().Diego Biurrun2010-07-08
| | | | Originally committed as revision 24115 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Restore array sizes in doxygen parameter names.Diego Biurrun2010-07-08
| | | | Originally committed as revision 24108 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move DECODE_BYTES_PAD* macros before Doxygen comments.Diego Biurrun2010-07-02
| | | | | | Doxygen thinks the comments belong to the macros otherwise. Originally committed as revision 23993 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix doxy of gb parameter in decode_gain_info().Diego Biurrun2010-07-02
| | | | Originally committed as revision 23989 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Avoid one more instance of angular brackets in Doxygen comments.Diego Biurrun2010-07-02
| | | | Originally committed as revision 23982 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove non-existing stray arguments from Doxygen function documentation.Diego Biurrun2010-07-02
| | | | Originally committed as revision 23976 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix misspelled parameter names in Doxygen documentation.Diego Biurrun2010-07-02
| | | | | | This fixes one Doxygen warning each. Originally committed as revision 23970 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
* 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
* Remove DECLARE_ALIGNED_{8,16} macrosMåns Rullgård2010-03-06
| | | | | | | These macros are redundant. All uses are replaced with the generic DECLARE_ALIGNED macro instead. Originally committed as revision 22233 to svn://svn.ffmpeg.org/ffmpeg/trunk