summaryrefslogtreecommitdiffstats
path: root/libavcodec/cook.c
Commit message (Collapse)AuthorAgeFilesLines
* cook: K&R formatting cosmeticsShitiz Garg2011-12-311-364/+366
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Add avcodec_decode_audio4().Justin Ruggles2011-12-021-13/+30
| | | | | | 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-261-1/+5
| | | | | | | 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-261-1/+1
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* cook: return AVERROR_PATCHWELCOME instead of ENOTSUPJustin Ruggles2011-10-291-7/+7
| | | | ENOTSUP is not defined on some systems
* cook: check output buffer size before decodingJustin Ruggles2011-10-291-3/+9
|
* cook: do not needlessly set *data_size to 0Justin Ruggles2011-10-291-1/+0
|
* cook: remove pointless return statementsJustin Ruggles2011-10-291-2/+0
|
* cook: simplify decouple_info()Justin Ruggles2011-10-291-17/+14
|
* cook: return appropriate error codes instead of -1Justin Ruggles2011-10-291-22/+23
|
* cook: avoid hardcoded sizes in sizeof()Justin Ruggles2011-10-291-10/+11
|
* cook: remove unneeded #includesJustin Ruggles2011-10-291-5/+0
|
* cook: output float samples instead of converting to int16Justin Ruggles2011-10-291-14/+13
|
* cook: Fix js_vlc_bits value validation for joint stereoLaurent Aimar2011-10-061-2/+3
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* doxygen: Drop array size declarations from Doxygen parameter names.Diego Biurrun2011-07-031-1/+1
| | | | Adding [] to a Doxygen parameter name clashes with Doxygen syntax.
* Remove statements immediately following unconditional jumpsMans Rullgard2011-07-031-1/+0
| | | | | | 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-031-3/+2
|
* cook: Remove non-compiling debug output.Diego Biurrun2011-06-031-1/+0
| | | | | 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-031-32/+0
|
* Add AVX FFT implementation.Vitor Sessak2011-04-261-1/+1
| | | | Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* cook: Fix small typo in av_log_ask_for_sample message.Diego Biurrun2011-04-231-1/+1
|
* Use av_log_ask_for_sample() to request samples from users.Diego Biurrun2011-04-221-1/+3
|
* Use av_log_ask_for_sample() where appropriate.Diego Biurrun2011-04-211-6/+6
|
* Move sine windows to a separate fileMans Rullgard2011-03-201-0/+1
| | | | | | | 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-191-1/+1
| | | | | | | 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-191-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Merge libavcore into libavutilReinhard Tartler2011-02-151-1/+1
| | | | | | | | | | | | 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-061-1/+2
| | | | 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-261-1/+1
| | | | | | | 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-121-1/+1
| | | | | | 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-101-2/+2
| | | | Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
* bswap: change ME to NE in macro namesMåns Rullgård2010-07-101-2/+2
| | | | | | | 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-081-6/+6
| | | | Originally committed as revision 24115 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Restore array sizes in doxygen parameter names.Diego Biurrun2010-07-081-2/+2
| | | | Originally committed as revision 24108 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move DECODE_BYTES_PAD* macros before Doxygen comments.Diego Biurrun2010-07-021-2/+3
| | | | | | 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-021-1/+1
| | | | 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-021-1/+1
| | | | Originally committed as revision 23982 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove non-existing stray arguments from Doxygen function documentation.Diego Biurrun2010-07-021-3/+0
| | | | Originally committed as revision 23976 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix misspelled parameter names in Doxygen documentation.Diego Biurrun2010-07-021-3/+3
| | | | | | 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-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
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-301-1/+1
| | | | | | 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-061-0/+1
| | | | Originally committed as revision 22235 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove DECLARE_ALIGNED_{8,16} macrosMåns Rullgård2010-03-061-1/+1
| | | | | | | 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
* Move array specifiers outside DECLARE_ALIGNED() invocationsMåns Rullgård2010-01-221-1/+1
| | | | Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cook: use constant seed for dithering RNGMåns Rullgård2009-11-291-1/+1
| | | | Originally committed as revision 20657 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge FFTContext and MDCTContextMåns Rullgård2009-09-201-1/+1
| | | | Originally committed as revision 19931 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support for getting (i)MDCT output multiplied by a constant scaling factor.Siarhei Siamashka2009-05-161-1/+1
| | | | | | | | 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
* Bugfix for bug introduced in the multichannel cook patchset.Benjamin Larsson2009-05-151-2/+3
| | | | Originally committed as revision 18842 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Proper subpacket size check for cook multichannel files.Benjamin Larsson2009-04-251-1/+5
| | | | Originally committed as revision 18693 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove parenthesesBenjamin Larsson2009-04-251-1/+1
| | | | Originally committed as revision 18692 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud