summaryrefslogtreecommitdiffstats
path: root/libavcodec/mace.c
Commit message (Collapse)AuthorAgeFilesLines
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-031-2/+2
|
* mace: Make sure that the channel count is set to a valid valueMartin Storsjö2013-09-171-2/+2
| | | | | | | | Also return a proper error code. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-081-1/+1
|
* mace: decode directly to the user-provided AVFrameJustin Ruggles2013-02-121-11/+5
|
* lavc: add a wrapper for AVCodecContext.get_buffer().Anton Khirnov2012-12-041-1/+2
| | | | It will be useful in the upcoming transition to refcounted AVFrames.
* mace: use planar sample formatJustin Ruggles2012-10-091-17/+15
|
* Don't include common.h from avutil.hMartin Storsjö2012-08-151-0/+1
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-071-3/+3
|
* cosmetics: Align codec declarationsMartin Storsjö2012-04-061-2/+2
| | | | | | | 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>
* cosmetics: Remove extra newlines at EOFAlex Converse2012-01-271-1/+0
|
* Add avcodec_decode_audio4().Justin Ruggles2011-12-021-12/+21
| | | | | | Deprecate avcodec_decode_audio3(). Implement audio support in avcodec_default_get_buffer(). Implement the new audio decoder API in all audio decoders.
* mace: only calculate output buffer size onceJustin Ruggles2011-11-081-4/+7
|
* Replace ffmpeg references with more accurate libav* references.Diego Biurrun2011-11-021-1/+1
|
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-291-16/+12
| | | | It's more readable and less prone to breakage.
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | 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-261-2/+2
| | | | | | | 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-121-1/+1
| | | | | | 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-201-1/+1
| | | | | | | | 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-301-2/+2
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann2009-04-071-1/+3
| | | | | | | | | | | 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
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-011-1/+1
| | | | | | | 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
* Cosmetics: rename mace3_decode_frame() to mace_decode_frame()Vitor Sessak2008-10-051-3/+3
| | | | Originally committed as revision 15569 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Avoid code duplication between mace3_decode_frame() and mace6_decode_frame()Vitor Sessak2008-10-051-41/+19
| | | | Originally committed as revision 15568 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use a for() instead of triplicating code.Vitor Sessak2008-10-051-32/+30
| | | | Originally committed as revision 15566 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize duplicate table reading code.Vitor Sessak2008-10-051-15/+17
| | | | Originally committed as revision 15564 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Convert two tables to signed decimalVitor Sessak2008-09-091-4/+4
| | | | Originally committed as revision 15290 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: remove useless parenthesesVitor Sessak2008-09-091-1/+1
| | | | Originally committed as revision 15288 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove ChannelData.lev var and use ChannelData.level insteadVitor Sessak2008-09-091-3/+3
| | | | Originally committed as revision 15287 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check output buffer size before decoding.Vitor Sessak2008-09-071-0/+10
| | | | Originally committed as revision 15257 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: rename vars s/ctx/chd/Vitor Sessak2008-09-071-25/+25
| | | | Originally committed as revision 15256 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Exploit symmetry to reduce size of tables by half.Vitor Sessak2008-09-071-202/+112
| | | | Originally committed as revision 15255 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: s/short/int16_t/Vitor Sessak2008-09-071-5/+5
| | | | Originally committed as revision 15253 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove cast, now tables are signed.Vitor Sessak2008-09-071-4/+4
| | | | Originally committed as revision 15252 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Convert tables to signed and decimal.Vitor Sessak2008-09-071-194/+194
| | | | Originally committed as revision 15251 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused table entries.Vitor Sessak2008-09-071-75/+77
| | | | Originally committed as revision 15250 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove commented out code.Vitor Sessak2008-09-071-3/+0
| | | | Originally committed as revision 15249 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use FFMIN() instead of rewriting it.Vitor Sessak2008-09-071-4/+1
| | | | Originally committed as revision 15248 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize broken clipping in its own function and document it.Vitor Sessak2008-09-071-12/+16
| | | | Originally committed as revision 15247 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: whitespace/linebreaksVitor Sessak2008-09-071-12/+18
| | | | Originally committed as revision 15246 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use the same 8 bit -> 16 bit conversion as QuickTime.Vitor Sessak2008-09-071-3/+7
| | | | Originally committed as revision 15245 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not share context variables between channels and do not zero them atVitor Sessak2008-09-071-11/+13
| | | | | | decode_frame(). This makes the output much closer to that of the binary decoder. Originally committed as revision 15244 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove output pointer from contextVitor Sessak2008-09-071-19/+21
| | | | Originally committed as revision 15243 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: indent after last commit and remove useless bracesVitor Sessak2008-09-051-6/+5
| | | | Originally committed as revision 15214 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify: use a for instead of unrolling by handVitor Sessak2008-09-051-7/+4
| | | | Originally committed as revision 15213 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Functions mace{3,6}_decode_frame() are just wrappers to Exp1to{3,6}(). This ↵Vitor Sessak2008-09-041-90/+34
| | | | | | | | commit moves the code of Exp1to* to the decode functions. Originally committed as revision 15212 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify: use two distinct functions to decode MACE3 and MACE6, since theVitor Sessak2008-09-041-24/+26
| | | | | | previous mace_decode_init() function was almost just a switch statement. Originally committed as revision 15208 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify mace_decode_frame()Vitor Sessak2008-09-041-8/+11
| | | | Originally committed as revision 15207 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove useless commentsVitor Sessak2008-09-041-9/+0
| | | | Originally committed as revision 15205 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent mace.c, its indentation was completly inconsistent with the coding ↵Vitor Sessak2008-09-041-95/+95
| | | | | | rules. Originally committed as revision 15204 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Modify all codecs to report their supported input and output sample format(s).Peter Ross2008-07-311-0/+1
| | | | Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud