summaryrefslogtreecommitdiffstats
path: root/libavcodec/truemotion2.c
Commit message (Collapse)AuthorAgeFilesLines
* truemotion2: use the AVFrame API properly.Anton Khirnov2013-11-161-6/+8
|
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-031-1/+1
|
* truemotion2: Use av_freep properly in an error pathMartin Storsjö2013-09-171-8/+8
| | | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* avcodec: av_log_missing_feature(1) ---> avpriv_request_sample()Diego Biurrun2013-03-131-1/+1
|
* lavc decoders: properly initialize AVFrame.Anton Khirnov2013-03-081-1/+1
|
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-081-7/+6
|
* truemotion2: cosmetics, reformatAnton Khirnov2013-01-141-122/+150
|
* truemotion2: return meaningful error codes.Anton Khirnov2013-01-141-35/+32
|
* truemotion2: Sanitize tm2_read_header()Diego Biurrun2012-12-311-23/+21
| | | | Also give a variable a more sensible name.
* lavc: fix decode_frame() third parameter semantics for video decodersAnton Khirnov2012-12-041-2/+2
| | | | It's got_frame, not data size
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-081-1/+1
|
* truemotion2: Request samples for old TM2 headersDiego Biurrun2012-09-261-1/+1
|
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-071-1/+1
|
* cosmetics: Align codec declarationsMartin Storsjö2012-04-061-1/+1
| | | | | | | 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>
* truemotion: forbid invalid VLC bitsizes and token values.Ronald S. Bultje2012-03-291-4/+15
| | | | | | | | | | | | SHOW_UBITS() is only defined up to n_bits is 25, therefore forbid values larger than this in get_vlc2() (max_bits). tokens[][] can be used as an index in deltas[], which has a size of 64, so ensure the values are smaller than that. This prevents crashes on corrupt bitstreams. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* truemotion2: handle out-of-frame motion vectors through edge extension.Ronald S. Bultje2012-03-291-27/+90
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* truemotion2: convert packet header reading to bytestream2.Ronald S. Bultje2012-03-281-23/+31
| | | | | | | | Also use correct buffer sizes in calls to tm2_read_stream(). Together, this prevents overreads. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* Remove unnecessary AVFrame pointer casts.Diego Biurrun2012-03-011-1/+1
|
* truemotion2: error out if the huffman tree has no nodes.Ronald S. Bultje2012-02-231-1/+1
| | | | | | | | This prevents crashers and errors further down when reading nodes in the empty tree. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* dsputil: Add ff_ prefix to the dsputil*_init* functionsMartin Storsjö2012-02-151-1/+1
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vlc/rl: Add ff_ prefix to the nonstatic symbolsMartin Storsjö2012-02-151-1/+1
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* truemotion2: check size before GetBitContext initialisationJanne Grunau2012-01-051-0/+6
| | | | Prevents null ptr derefence for negative sizes.
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-291-9/+8
| | | | It's more readable and less prone to breakage.
* Remove unused variablesMans Rullgard2011-06-021-14/+0
|
* Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini2011-05-021-2/+2
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Replace more FFmpeg references by Libav.Diego Biurrun2011-04-171-1/+1
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove a few if (p) av_free(p) formsClément Bœsch2011-02-031-8/+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-1/+1
| | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Check for several overreads, fixes issue 2512.Daniel Kang2011-01-091-3/+14
| | | | | | Patch by Daniel Kang, daniel.d.kang at gmail Originally committed as revision 26289 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-1/+1
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not try to free memory that was never allocated (partial revert of r20231).Carl Eugen Hoyos2009-10-161-1/+0
| | | | Originally committed as revision 20252 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Release frame after decoding is doneKostya Shishkov2009-10-141-0/+6
| | | | Originally committed as revision 20231 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unnecessary calls to avcodec_check_dimensions, the check is alreadyReimar Döffinger2009-10-131-3/+0
| | | | | | done at a higher level. Originally committed as revision 20229 to svn://svn.ffmpeg.org/ffmpeg/trunk
* TrueMotion 2 uses its own YUV-like colourspace, so convert output to proper RGB.Reimar Döffinger2009-04-241-26/+20
| | | | | | Patch by Reimar Döffinger <latinize($name) at (MN's favourite mail provider).de> Originally committed as revision 18677 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename bitstream.h to get_bits.h.Stefano Sabatini2009-04-131-1/+1
| | | | Originally committed as revision 18494 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
* Make TM2 decoder byteswap input into separate buffer instead of doing it ↵Kostya Shishkov2009-02-011-4/+15
| | | | | | in-place. Originally committed as revision 16918 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize stream reading in TM2 decoderKostya Shishkov2009-02-011-28/+12
| | | | Originally committed as revision 16917 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
* Make AVCodec long_names definition conditional depending on CONFIG_SMALL.Stefano Sabatini2008-06-121-1/+1
| | | | Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unnecessary parentheses from return calls.Diego Biurrun2008-05-061-1/+1
| | | | Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add some long names to AVCodec declarations.Stefano Sabatini2008-04-291-0/+1
| | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13017 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Apply 'cold' attribute to init/uninit functions in libavcodecZuxy Meng2008-03-211-2/+2
| | | | Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* constMichael Niedermayer2008-02-011-5/+5
| | | | Originally committed as revision 11749 to svn://svn.ffmpeg.org/ffmpeg/trunk
* license header consistency cosmeticsDiego Biurrun2007-07-051-1/+0
| | | | Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove redundant #inclusion of common.h, avcodec.h already #includes it.Diego Biurrun2007-05-101-1/+0
| | | | Originally committed as revision 8967 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove redundant assignKostya Shishkov2007-03-271-1/+0
| | | | Originally committed as revision 8531 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_ prefix to clip functionsReimar Döffinger2007-02-251-4/+4
| | | | Originally committed as revision 8122 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud