summaryrefslogtreecommitdiff
path: root/libavcodec/mlpdec.c
Commit message (Collapse)AuthorAge
* Disable deprecation warnings for cases where a replacement is availableDiego Biurrun2013-08-02
|
* mlpdec: Do not set invalid context in read_restart_headerLuca Barbato2013-07-12
| | | | | | | | The faulty values rippled further down the codepath causing a hard-to-track segfault in the assembly code. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* avcodec: av_log_ask_for_sample() ---> avpriv_request_sample()Diego Biurrun2013-03-13
|
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-08
|
* mlpdec: do not try to allocate a zero-sized output buffer.Anton Khirnov2013-02-23
| | | | CC:libav-stable@libav.org
* mlp/truehd: decode directly to the user-provided AVFrameJustin Ruggles2013-02-12
|
* mlp: implement support for AVCodecContext.request_channel_layout.Tim Walker2013-01-22
| | | | | | Also wrap usage of AVCodecContext.request_channels in FF_API_REQUEST_CHANNELS directives. Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* mlpdec: set the channel layout.Tim Walker2013-01-22
| | | | | | | | Fixes bug 401. Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com> CC:libav-stable@libav.org
* mlpdec: TrueHD: use Libav channel order.Tim Walker2013-01-22
| | | | | | | | Fixes bug 208. Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com> CC:libav-stable@libav.org
* mlp: store the channel layout for each substream.Tim Walker2013-01-22
| | | | | | | | Also stop storing the channel arrangement in the header info, as it's unused outside of ff_mlp_read_major_sync. Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com> CC:libav-stable@libav.org
* lavc: add a wrapper for AVCodecContext.get_buffer().Anton Khirnov2012-12-04
| | | | It will be useful in the upcoming transition to refcounted AVFrames.
* dsputil: split out mlp dsp functionLuca Barbato2012-10-11
|
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* 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>
* mlpdec: use av_log_ask_for_sample()Paul B Mahol2012-02-21
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* dsputil: Add ff_ prefix to the dsputil*_init* functionsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* doxygen: eliminate Qt-style doxygen syntaxDiego Biurrun2011-12-05
|
* Add avcodec_decode_audio4().Justin Ruggles2011-12-02
| | | | | | Deprecate avcodec_decode_audio3(). Implement audio support in avcodec_default_get_buffer(). Implement the new audio decoder API in all audio decoders.
* mlpdec: return meaningful error codes instead of -1Justin Ruggles2011-10-13
|
* mlpdec: remove unnecessary wrapper functionJustin Ruggles2011-10-13
|
* mlpdec: only calculate output size onceJustin Ruggles2011-10-13
|
* mlpdec: validate that the reported channel count matches the actual outputJustin Ruggles2011-10-13
| | | | channel count
* 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>
* Update the url to the site website and change ffmpeg-devel to libav-develJohan Andersson2011-03-13
| | | | 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
* Fix grammar errors in documentationMåns Rullgård2010-06-30
| | | | Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: Comment channel_params field in struct SubStream.Nick Brereton2010-05-11
| | | | | | Patch by Nick Brereton <nick at nbrereton dot net> Originally committed as revision 23085 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: Allocate channel decoding parameters for each substream. Some fileNick Brereton2010-05-11
| | | | | | | | was encountered with a channel range that overlapped the previous substreams, and the code assumed no such overlap was possible. Patch by Nick Brereton <nick at nbrereton dot net> Originally committed as revision 23084 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
* Reduce log level of "Extracting .. channel downmix" to AV_LOG_DEBUG, theReimar Döffinger2010-01-27
| | | | | | message is pointless to ordinary users and is printed once per frame. Originally committed as revision 21486 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix crash in MLP decoder due to integer overflow.Reimar Döffinger2010-01-24
| | | | | | | Probably only DoS, init_get_bits sets buffer to NULL, thus causing a NULL-dereference directly after. Originally committed as revision 21426 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove pointless CONFIG_MLP_DECODER preprocessor check.Diego Biurrun2009-12-29
| | | | | | The file is only ever compiled if the MLP decoder is enabled. Originally committed as revision 20968 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlp: Indent.Ramiro Polla2009-10-16
| | | | Originally committed as revision 20255 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlp: Only initialize VLC tables once. This caused a crash when multipleRamiro Polla2009-10-16
| | | | | | | instances of the decoder were started at different times. Bug reported by Maxim Anisiutkin. Originally committed as revision 20254 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlp: Simplify adressing of state and coeffs arrays for both filters by makingRamiro Polla2009-05-15
| | | | | | the arrays sequential. Originally committed as revision 18841 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: Fix possible writing out of array bounds introduced by beingRamiro Polla2009-05-06
| | | | | | under-paranoid in r18651. Originally committed as revision 18763 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: Split sync word error and MLP sync word check.Ramiro Polla2009-05-06
| | | | | | | The previous code would print the wrong error message for MLP streams with TrueHD noise type. Originally committed as revision 18762 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: Fix indentation that got mangled from copy&paste.Ramiro Polla2009-05-06
| | | | Originally committed as revision 18761 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: Move MLP's filter_channel() to dsputils.Ramiro Polla2009-04-30
| | | | Originally committed as revision 18721 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: Simplify filtering code by using only one counter variable.Ramiro Polla2009-04-26
| | | | Originally committed as revision 18695 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: Don't overallocate buffers.Ramiro Polla2009-04-21
| | | | | | | | Now that max channels and primitive matrices are properly validated, there is no need to be paranoid that random data will be overwritten. As a bonus this makes matrix_coeff 16-byte aligned between matrices. Originally committed as revision 18651 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: Validate num_primitive_matrices.Ramiro Polla2009-04-21
| | | | Originally committed as revision 18650 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: Validate max_channel and max_matrix_channel.Ramiro Polla2009-04-21
| | | | Originally committed as revision 18649 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: Restart header sync must be 0x31ea for MLP.Ramiro Polla2009-04-21
| | | | Originally committed as revision 18648 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: Read context variable to local variable to make code cleaner.Ramiro Polla2009-04-18
| | | | Originally committed as revision 18615 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: {}- and whitespace-related cosmetics.Ramiro Polla2009-04-18
| | | | Originally committed as revision 18614 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: Use some context arrays with local variables in rematrix_channels().Ramiro Polla2009-04-18
| | | | Originally committed as revision 18613 to svn://svn.ffmpeg.org/ffmpeg/trunk