summaryrefslogtreecommitdiff
path: root/libavcodec/mace.c
Commit message (Collapse)AuthorAge
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-11-09
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: tls: Use ERR_get_error() in do_tls_poll indeo3: Fix a fencepost error. mxfdec: Fix comparison of unsigned expression < 0. mpegts: set stream id on just created stream, not an unrelated variable ra288: return error if input buffer is too small ra288: utilize DSPContext.vector_fmul() ra288: use memcpy() to copy decoded samples to output mace: only calculate output buffer size once Remove redundant filename self-references inside files. indeo3data: add missing config.h #include for HAVE_BIGENDIAN x86: drop pointless ARCH_X86 #ifdef from files in x86 subdirectory avplay: reset rdft when closing stream. doc/git-howto: expand format-patch and send-email notes. lavf: expand doxy for some AVFormatContext fields. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mace: only calculate output buffer size onceJustin Ruggles2011-11-08
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-11-03
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (44 commits) replacement Indeo 3 decoder gsm demuxer: do not allocate packet twice. flvenc: use first packet delay as global delay. ac3enc: doxygen update. imc: return error codes instead of 0 for error conditions. imc: return meaningful error codes instead of -1 imc: do not set channel layout for stereo imc: validate channel count imc: check for ff_fft_init() failure imc: check output buffer size before decoding imc: use DSPContext.bswap16_buf() to byte-swap packet data rtsp: add allowed_media_types option libgsm: add flush function to reset the decoder state when seeking libgsm: simplify decoding by using a loop gsm: log error message when packet is too small libgsmdec: do not needlessly set *data_size to 0 gsmdec: do not needlessly set *data_size to 0 gsmdec: add flush function to reset the decoder state when seeking libgsmdec: check output buffer size before decoding gsmdec: log error message when output buffer is too small. ... Conflicts: Changelog ffplay.c libavcodec/indeo3.c libavcodec/mjpeg_parser.c libavcodec/vp3.c libavformat/cutils.c libavformat/id3v2.c libavutil/parseutils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Replace ffmpeg references with more accurate libav* references.Diego Biurrun2011-11-02
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-30
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: mxfdec: Include FF_INPUT_BUFFER_PADDING_SIZE when allocating extradata. H.264: tweak some other x86 asm for Atom probe: Fix insane flow control. mpegts: remove invalid error check s302m: use nondeprecated audio sample format API lavc: use designated initialisers for all codecs. x86: cabac: add operand size suffixes missing from 6c32576 Conflicts: libavcodec/ac3enc_float.c libavcodec/flacenc.c libavcodec/frwu.c libavcodec/pictordec.c libavcodec/qtrleenc.c libavcodec/v210enc.c libavcodec/wmv2dec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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>
| * 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>
* | Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-28
|/ | | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit d36beb3f6902b1217beda576aa18abf7eb72b03c)
* 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
* Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann2009-04-07
| | | | | | | | | | | 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-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
* Cosmetics: rename mace3_decode_frame() to mace_decode_frame()Vitor Sessak2008-10-05
| | | | 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-05
| | | | Originally committed as revision 15568 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use a for() instead of triplicating code.Vitor Sessak2008-10-05
| | | | Originally committed as revision 15566 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize duplicate table reading code.Vitor Sessak2008-10-05
| | | | Originally committed as revision 15564 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Convert two tables to signed decimalVitor Sessak2008-09-09
| | | | Originally committed as revision 15290 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: remove useless parenthesesVitor Sessak2008-09-09
| | | | Originally committed as revision 15288 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove ChannelData.lev var and use ChannelData.level insteadVitor Sessak2008-09-09
| | | | Originally committed as revision 15287 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check output buffer size before decoding.Vitor Sessak2008-09-07
| | | | Originally committed as revision 15257 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: rename vars s/ctx/chd/Vitor Sessak2008-09-07
| | | | Originally committed as revision 15256 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Exploit symmetry to reduce size of tables by half.Vitor Sessak2008-09-07
| | | | Originally committed as revision 15255 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: s/short/int16_t/Vitor Sessak2008-09-07
| | | | Originally committed as revision 15253 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove cast, now tables are signed.Vitor Sessak2008-09-07
| | | | Originally committed as revision 15252 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Convert tables to signed and decimal.Vitor Sessak2008-09-07
| | | | Originally committed as revision 15251 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused table entries.Vitor Sessak2008-09-07
| | | | Originally committed as revision 15250 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove commented out code.Vitor Sessak2008-09-07
| | | | Originally committed as revision 15249 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use FFMIN() instead of rewriting it.Vitor Sessak2008-09-07
| | | | 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-07
| | | | Originally committed as revision 15247 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: whitespace/linebreaksVitor Sessak2008-09-07
| | | | 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-07
| | | | 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-07
| | | | | | 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-07
| | | | Originally committed as revision 15243 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: indent after last commit and remove useless bracesVitor Sessak2008-09-05
| | | | Originally committed as revision 15214 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify: use a for instead of unrolling by handVitor Sessak2008-09-05
| | | | 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-04
| | | | | | | | 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-04
| | | | | | 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-04
| | | | Originally committed as revision 15207 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove useless commentsVitor Sessak2008-09-04
| | | | 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-04
| | | | | | 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-31
| | | | Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make AVCodec long_names definition conditional depending on CONFIG_SMALL.Stefano Sabatini2008-06-12
| | | | Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add long names to many AVCodec declarations.Stefano Sabatini2008-04-27
| | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13005 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Apply 'cold' attribute to init/uninit functions in libavcodecZuxy Meng2008-03-21
| | | | Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* constsMichael Niedermayer2008-02-01
| | | | Originally committed as revision 11706 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace puts() by dprintf where appropriate.Diego Biurrun2008-01-17
| | | | Originally committed as revision 11547 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
* Fix buffer handling for stereo mace files, fixes some random sig11Alan Curry2006-09-05
| | | | | | Patch by Alan Curry !<! pacman !@! TheWorld !.! com !>! Originally committed as revision 6178 to svn://svn.ffmpeg.org/ffmpeg/trunk