summaryrefslogtreecommitdiff
path: root/libavcodec/pcm-mpeg.c
Commit message (Collapse)AuthorAge
* pcm_bluray: rename pcm-mpeg.c to pcm-bluray.cChristian Schmidt2013-08-31
| | | | | | The original idea was to collect PCM codecs that could appear in various MPEG streams in this file. Discussion in IRC lead to the conclusion that one codec per file would be better and stop the need for #ifdefs.
* pcm_bluray: Return AVERROR_INVALIDDATA instead of -1 on header errorsChristian Schmidt2013-08-06
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-08
|
* pcm-bluray: decode directly to the user-provided AVFrameJustin Ruggles2013-02-12
|
* lavc: add a wrapper for AVCodecContext.get_buffer().Anton Khirnov2012-12-04
| | | | It will be useful in the upcoming transition to refcounted AVFrames.
* Include libavutil/channel_layout.h instead of libavutil/audioconvert.hJustin Ruggles2012-11-11
| | | | Also reorder some other #include when applicable.
* pcm-mpeg: correct bitrate calculationChristian Schmidt2012-10-16
| | | | | | | | Bitrate calculation is off since the bluray spec always specifies an even number of coded channels. This was honored in the decoder, but not for bitrate calculation. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* pcm-mpeg: improve log message wordingChristian Schmidt2012-05-30
| | | | | | | | We support every defined value for channel layout, bitrate and sample depth. All other values are not unsupported, but reserved. Update comments to say "are used" instead of "are known or exist". Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* pcm_mpeg: fix number of consumed bytes to include the header.Hendrik Leppkes2012-05-29
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* pcm_bluray: set bits_per_raw_sample for > 16-bitHendrik Leppkes2012-05-01
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* cosmetics: Align codec declarationsMartin Storsjö2012-04-06
| | | | | | | Also break some long lines, remove codec function placeholder comments and add spaces in sample/pixel format lists. Signed-off-by: Martin Storsjö <martin@martin.st>
* pcm-mpeg: convert to bytestream2 APIPaul B Mahol2012-03-12
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* lpcm: fix sample size calculation for 20bit LCPM.Ronald S. Bultje2012-03-07
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* pcm-mpeg: implement new audio decoding apiHendrik Leppkes2011-12-07
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* 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 dprintf with av_dlogLuca Barbato2011-01-29
| | | | dprintf clashes with POSIX.1-2008
* 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>
* 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
* 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
* 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
* Remove pointless debug statement that fails to compile.Diego Biurrun2009-09-08
| | | | Originally committed as revision 19795 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sample_fmts and channel_layouts compound literals const to reduce size ofReimar Döffinger2009-09-06
| | | | | | .data section. Originally committed as revision 19787 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Decoder for LPCM as used in Bluray discs.Christian Schmidt2009-08-26
Patch by Christian Schmidt, schmidt digadd de Originally committed as revision 19722 to svn://svn.ffmpeg.org/ffmpeg/trunk