summaryrefslogtreecommitdiff
path: root/libavcodec/audioconvert.c
Commit message (Collapse)AuthorAge
* Fix the conversion of AV_SAMPLE_FMT_FLT and _DBL to AV_SAMPLE_FMT_S32.Alex Converse2011-04-11
| | | | | | | (1<<31) is undefined and seems to be evaluated by gcc to -2^31 when these formulae require 2^31. These conversions still need fate tests.
* 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>
* Use the new libavcore audio channel API.Stefano Sabatini2010-11-21
| | | | | | | This also allows to remove a linking dependency of libavfilter on libavcodec. Originally committed as revision 25789 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move audio channel API from libavcodec to libavcore.Stefano Sabatini2010-11-21
| | | | Originally committed as revision 25787 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
* Implement functions:Stefano Sabatini2010-11-02
| | | | | | | | | | | | | av_get_sample_fmt_name() av_get_sample_fmt() av_get_sample_fmt_string() in libavcore, and deprecate the corresponding libavcodec/audioconvert.h functions: avcodec_get_sample_fmt_name() avcodec_get_sample_fmt() avcodec_sample_fmt_string() Originally committed as revision 25653 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avcodec_get_channel_layout().S.N. Hemanth Meenakshisundaram2010-08-26
| | | | | | Patch by S.N. Hemanth Meenakshisundaram smeenaks:ucsd+edu. Originally committed as revision 24936 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Workaround for missing llrintf()Måns Rullgård2010-04-23
| | | | Originally committed as revision 22954 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move clipping of audio samples (for those codecs outputting float) from decoderRonald S. Bultje2010-04-21
| | | | | | to the audio conversion routines. Originally committed as revision 22937 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
* Make function get_channel_name() static: It is only used in audioconvert.c.Carl Eugen Hoyos2010-02-28
| | | | Originally committed as revision 22114 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not guess the channel layout when getting its string value.Justin Ruggles2009-06-13
| | | | Originally committed as revision 19185 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove the 3-front-channel layout from the list of channel layoutJustin Ruggles2009-06-13
| | | | | | aliases. Calling this "surround" is confusing and questionable. Originally committed as revision 19183 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check that channel layout is compatible with number of channels forJustin Ruggles2009-04-19
| | | | | | output audio stream. Originally committed as revision 18621 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add 3 channel layout convenience macros.Justin Ruggles2009-04-18
| | | | Originally committed as revision 18609 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add names for 5.0 and 5.1 back speaker channel layouts.Justin Ruggles2009-04-12
| | | | Originally committed as revision 18459 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace snprintf() with av_strlcpy().Patrik2009-02-09
| | | | | | | | | | Fixes the following warning on some systems: audioconvert.c:131: warning: format not a string literal and no format arguments Patch by Patrik patrik A yes D nu Originally committed as revision 17110 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
* Add const, remove warning:Baptiste Coudurier2009-01-22
| | | | | | libavcodec/audioconvert.c:190: warning: initialization discards qualifiers from pointer target type Originally committed as revision 16716 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use "" instead of <> when #including non-system headers.Diego Biurrun2009-01-19
| | | | Originally committed as revision 16689 to svn://svn.ffmpeg.org/ffmpeg/trunk
* One const is enough.Carl Eugen Hoyos2008-11-17
| | | | Originally committed as revision 15847 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change multichannel API define prefix from "CHANNEL_" to "CH_".Andreas Öman2008-11-02
| | | | Originally committed as revision 15768 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add audio channel layout API to libavcodec.Peter Ross2008-11-01
| | | | Originally committed as revision 15762 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove duplicate "const" qualifier for *matrix.Diego Pettenò2008-10-02
| | | | | | | This silences out a warning when compiling with Intel C Compiler. Patch by Diego 'Flameeyes' Pettenò %flameeyes A gmail P com% Originally committed as revision 15524 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Drop deprecated SAMPLE_FMT_S24.Michael Niedermayer2008-09-08
| | | | Originally committed as revision 15264 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add SAMPLE_FMT_DBL.Peter Ross2008-08-19
| | | | Originally committed as revision 14832 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Modify av_audio_convert() to use AVAudioConvert context struct; add ↵Peter Ross2008-08-01
| | | | | | av_audio_convert_alloc() and av_audio_convert_free() support functions. Originally committed as revision 14496 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Revert r14484 hunk that deleted the 'include avcodec.h' statement.Peter Ross2008-08-01
| | | | Originally committed as revision 14495 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add sample format support functions: avcodec_get_sample_fmt_name(), ↵Peter Ross2008-07-31
| | | | | | avcodec_get_sample_fmt(), avcodec_sample_fmt_string() Originally committed as revision 14484 to svn://svn.ffmpeg.org/ffmpeg/trunk
* license header consistency cosmeticsDiego Biurrun2007-07-05
| | | | Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
* misc spelling fixesDiego Biurrun2007-06-12
| | | | Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change license headers to say 'FFmpeg' instead of 'this program/this library'Diego Biurrun2006-10-07
| | | | | | and fix GPL/LGPL version mismatches. Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmeticsMichael Niedermayer2006-08-19
| | | | Originally committed as revision 6032 to svn://svn.ffmpeg.org/ffmpeg/trunk
* audio format conversionMichael Niedermayer2006-08-19
untested and unused Originally committed as revision 6029 to svn://svn.ffmpeg.org/ffmpeg/trunk