summaryrefslogtreecommitdiff
path: root/libavcodec/cook.c
Commit message (Collapse)AuthorAge
* 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
* Move array specifiers outside DECLARE_ALIGNED() invocationsMåns Rullgård2010-01-22
| | | | Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cook: use constant seed for dithering RNGMåns Rullgård2009-11-29
| | | | Originally committed as revision 20657 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
* 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
* Bugfix for bug introduced in the multichannel cook patchset.Benjamin Larsson2009-05-15
| | | | Originally committed as revision 18842 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Proper subpacket size check for cook multichannel files.Benjamin Larsson2009-04-25
| | | | Originally committed as revision 18693 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove parenthesesBenjamin Larsson2009-04-25
| | | | Originally committed as revision 18692 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set the type of size in COOKSubpacket to unsignedBenjamin Larsson2009-04-25
| | | | Originally committed as revision 18691 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sure we only parse max amount of subpackets (5) in the cook decoder.Benjamin Larsson2009-04-25
| | | | Originally committed as revision 18689 to svn://svn.ffmpeg.org/ffmpeg/trunk
* IndentBenjamin Larsson2009-04-25
| | | | Originally committed as revision 18688 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove redundant codeBenjamin Larsson2009-04-25
| | | | Originally committed as revision 18687 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support cook multichannel files.Benjamin Larsson2009-04-25
| | | | Originally committed as revision 18685 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix the COOKDEBUG codeBenjamin Larsson2009-04-25
| | | | Originally committed as revision 18684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factor out COOKSubpacket, in preparation for multichannel support.Benjamin Larsson2009-04-25
| | | | Originally committed as revision 18683 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
* Get rid of av_random in cook.cBenjamin Larsson2009-03-20
| | | | Originally committed as revision 18079 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use intptr_t to cast pointers to int in codecs maintained by benjamin larssonRamiro Polla2009-03-17
| | | | Originally committed as revision 18027 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add cook channel count function, part of multichannel cookBenjamin Larsson2009-03-15
| | | | Originally committed as revision 17992 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add max allowed subpackets in multichannel cookBenjamin Larsson2009-03-15
| | | | Originally committed as revision 17991 to svn://svn.ffmpeg.org/ffmpeg/trunk
* save avctx in cook decoder context and use it for av_logBenjamin Larsson2009-03-15
| | | | Originally committed as revision 17988 to svn://svn.ffmpeg.org/ffmpeg/trunk
* memset when category is >=7, part of cook multichannelBenjamin Larsson2009-03-15
| | | | Originally committed as revision 17987 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add missing av_cold in static init/close functions.Daniel Verkamp2009-02-22
| | | | | | Patch by Daniel Verkamp daniel at drv dot nu. Originally committed as revision 17526 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_cold attribute to init function.Diego Biurrun2009-02-08
| | | | Originally committed as revision 17082 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
* Replace calls to the deprecated function av_init_random() withStefano Sabatini2009-01-18
| | | | | | corresponding calls to av_random_init(). Originally committed as revision 16682 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set channel_layoutBenjamin Larsson2008-11-16
| | | | Originally committed as revision 15843 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
* remove mdct tmp bufferLoren Merritt2008-08-12
| | | | Originally committed as revision 14702 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
* Remove now unused variableRobert Swain2008-06-22
| | | | Originally committed as revision 13889 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add generic ff_sine_window_init function and implement in codecs appropriatelyRobert Swain2008-06-22
| | | | Originally committed as revision 13888 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