summaryrefslogtreecommitdiff
path: root/libavcodec/libmp3lame.c
Commit message (Collapse)AuthorAge
* mpegaudiodecheader: check the header in avpriv_mpegaudio_decode_headerAnton Khirnov2015-12-12
| | | | | | Almost all the places from which this function is called already check the header manually and in the two that don't (the mp3 muxer) the check should not cause any problems.
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-27
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: AV-prefix all codec flagsVittorio Giovara2015-07-27
| | | | | | Convert doxygen to multiline and express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: Replace av_dlog and tprintf with internal macrosVittorio Giovara2015-04-19
|
* lavc: use a separate field for exporting audio encoder paddingAnton Khirnov2014-10-13
| | | | | | | | | | | | | | Currently, the amount of padding inserted at the beginning by some audio encoders, is exported through AVCodecContext.delay. However - the term 'delay' is heavily overloaded and can have multiple different meanings even in the case of audio encoding. - this field has entirely different meanings, depending on whether the codec context is used for encoding or decoding (and has yet another different meaning for video), preventing generic handling of the codec context. Therefore, add a new field -- AVCodecContext.initial_padding. It could conceivably be used for decoding as well at a later point.
* cosmetics: Write NULL pointer equality checks more compactlyGabriel Dume2014-08-15
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Check mp3 header before calling avpriv_mpegaudio_decode_header().Justin Ruggles2014-06-22
| | | | | | | | As indicated in the function documentation, the header MUST be checked prior to calling it because no consistency check is done there. CC:libav-stable@libav.org
* libmp3lame: add ABR supportTimothy Gu2014-03-31
|
* libmp3lame: add comments about CBR/VBR modesTimothy Gu2014-03-31
|
* libmp3lame: allow joint stereo to be disabledPaul B Mahol2014-03-31
|
* avcodec: Use av_reallocp where suitableAlexandra Khirnova2013-12-09
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-03
|
* lavc: remove disabled FF_API_OLD_ENCODE_AUDIO cruftAnton Khirnov2013-03-09
|
* libmp3lame: use the correct remaining buffer size when flushingJustin Ruggles2013-03-08
| | | | CC:libav-stable@libav.org
* lavc: Fix assignments in if() when calling ff_af_queue_addMichael Niedermayer2013-01-14
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* dsputil: move vector_fmul_scalar() to AVFloatDSPContext in libavutilJustin Ruggles2012-11-26
|
* Include libavutil/channel_layout.h instead of libavutil/audioconvert.hJustin Ruggles2012-11-11
| | | | Also reorder some other #include when applicable.
* libmp3lame: resize the output buffer if neededJustin Ruggles2012-10-17
| | | | | | | | | The LAME API documentation for the required buffer size refers to the size for a single encode call. However, we store multiple frames in the same output buffer but only read 1 frame at a time out of it. As a result, the buffer size given in lame_encode_buffer() is actually smaller than what it should be. Since we do not know how many frames it will end up buffering, it is best to just reallocate if needed.
* libmp3lame: use planar sample formatsJustin Ruggles2012-10-06
|
* avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union memberMartin Storsjö2012-09-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Don't include common.h from avutil.hMartin Storsjö2012-08-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* libmp3lame: add missing layout terminatorMichael Niedermayer2012-06-10
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* libmp3lame: set supported channel layouts.Anton Khirnov2012-05-14
|
* libmp3lame: use AVCodec.encode2()Justin Ruggles2012-03-20
|
* libmp3lame: support float and s32 sample formatsJustin Ruggles2012-02-20
|
* libmp3lame: renaming, rearrangement, alignment, and commentsJustin Ruggles2012-02-20
|
* libmp3lame: use the LAME default bit rateJustin Ruggles2012-02-20
| | | | Also, only set bit rate for CBR.
* libmp3lame: use avpriv_mpegaudio_decode_header() for output frame parsingJustin Ruggles2012-02-20
|
* libmp3lame: cosmetics: remove some pointless commentsJustin Ruggles2012-02-20
|
* libmp3lame: convert some debugging code to av_dlog()Justin Ruggles2012-02-20
| | | | also remove unneeded commented-out full frame data debugging
* libmp3lame: remove outdated comment.Justin Ruggles2012-02-20
| | | | | | We now require at least libmp3lame 3.98.3. lame_encode_buffer_interleaved() still doesn't work for mono, but it does not "die"; it just expects a stereo interleaved buffer.
* libmp3lame: do not set coded_frame->key_frame.Justin Ruggles2012-02-20
| | | | it is already set in avcodec_alloc_frame()
* libmp3lame: improve error handling in MP3lame_encode_init()Justin Ruggles2012-02-20
|
* libmp3lame: remove unneeded 'stereo' field from Mp3AudioContextJustin Ruggles2012-02-20
|
* lavc: remove disabled FF_API_LAME_GLOBAL_OPTS cruft.Anton Khirnov2012-01-27
|
* libmp3lame: K&R formatting cosmeticsAneesh Dogra2011-12-29
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*Anton Khirnov2011-10-12
|
* libmp3lame: fix typoAnton Khirnov2011-09-01
| | | | | | FF_API_LAME_GLOBAL_OPTIONS => FF_API_LAME_GLOBAL_OPTS Thanks to Clément Bœsch for spotting.
* libmp3lame: add 'reservoir' private option.Anton Khirnov2011-08-31
| | | | Deprecate CODEC_FLAG2_BIT_RESERVOIR
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* mp3lame: add #include required for AV_RB32 macro.Ronald S. Bultje2011-05-20
| | | | Fixes compilation with mp3lame enabled.
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.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
* Allow mono encoding with LAME.Thierry Foucu2010-11-02
| | | | | | Patch by Thierry Foucu, tfoucu gmail Originally committed as revision 25650 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove useless comment.Carl Eugen Hoyos2010-09-16
| | | | Originally committed as revision 25129 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allow float values for libmp3lame quality.James Darnley2010-09-15
| | | | | | Patch by James Darnley, james D darnley A gmail Originally committed as revision 25128 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set .supported_samplerates for mpeg audio encoders.Michael Niedermayer2010-04-22
| | | | Originally committed as revision 22944 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