summaryrefslogtreecommitdiffstats
path: root/libavcodec/svq1dec.c
Commit message (Collapse)AuthorAgeFilesLines
* svq1: Use hpeldsp instead of dsputil for half-pel functionsRonald S. Bultje2013-04-191-11/+11
| | | | | | This makes svq1 independent of dsputil. Signed-off-by: Martin Storsjö <martin@martin.st>
* svq1dec: clip motion vectors to the frame size.Anton Khirnov2013-04-171-14/+13
| | | | | | | Fixes invalid reads for corrupted files. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* svq1dec: check that the reference frame has the same dimensions as the ↵Anton Khirnov2013-04-171-1/+2
| | | | | | | | | | current one They can be different if the last keyframe failed to decode correctly. Fixes possible invalid reads in such a case. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* svq1: use av_frame_free to free refcounted frameJanne Grunau2013-03-101-1/+1
| | | | Fixes a memleak due to avcodec_free_frame not freeing the frame data.
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-081-23/+11
|
* svq1: replace struct svq1_frame_size with an array.Anton Khirnov2013-02-061-2/+2
| | | | It is used as an array in svq1enc, so this is more correct.
* svq1: Fix building with -DDEBUGMartin Storsjö2012-12-121-2/+2
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* svq1: return meaningful error codes.Anton Khirnov2012-12-121-7/+7
|
* lavc: replace some forgotten instances of PixelFormat with AVPixelFormatAnton Khirnov2012-12-121-2/+2
|
* svq1: unmacroify macros used only once.Anton Khirnov2012-12-121-28/+24
|
* svq1: deMpegEncContextizeAnton Khirnov2012-12-121-67/+106
| | | | | This decoder is quite simple and none of the MpegEncContext complexity is actually needed.
* lavc: fix decode_frame() third parameter semantics for video decodersAnton Khirnov2012-12-041-2/+2
| | | | It's got_frame, not data size
* svq1: Drop a bunch of useless parenthesesDiego Biurrun2012-10-101-35/+35
|
* svq1: K&R formatting cosmeticsDiego Biurrun2012-10-101-567/+586
|
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-081-2/+2
|
* avcodec: Convert some commented-out printf/av_log instances to av_dlogDiego Biurrun2012-10-011-2/+2
|
* svq1/svq3: Move common code out of SVQ1 decoder-specific fileDiego Biurrun2012-08-241-45/+0
|
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-071-1/+1
|
* cosmetics: Align codec declarationsMartin Storsjö2012-04-061-3/+3
| | | | | | | 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>
* Replace AVFrame pointer type punning by proper struct member assignments.Diego Biurrun2012-03-011-1/+1
|
* mpegvideo: Add ff_ prefix to nonstatic functionsMartin Storsjö2012-02-151-5/+5
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* h263: Add ff_ prefix to nonstatic symbolsMartin Storsjö2012-02-151-3/+3
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* svq1dec: call avcodec_set_dimensions() after dimensions changed.Michael Niedermayer2011-12-231-0/+1
| | | | | | | Fixes NGS00148, CVE-2011-4579 Found-by: Phillip Langlois Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* svq1dec: avoid undefined get_bits(0) callMans Rullgard2011-12-021-1/+2
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* svq1dec: use sign_extend()Mans Rullgard2011-11-261-2/+2
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-291-9/+8
| | | | It's more readable and less prone to breakage.
* Eliminate FF_COMMON_FRAME macro.Diego Biurrun2011-07-111-3/+3
| | | | | FF_COMMON_FRAME holds the contents of the AVFrame structure and is also copied to struct Picture. Replace by an embedded AVFrame structure in struct Picture.
* svq1dec: Fix debug statements that referenced non-existing context.Diego Biurrun2011-06-071-2/+2
|
* Replace custom DEBUG preprocessor trickery by the standard one.Diego Biurrun2011-06-031-3/+0
|
* Replace #ifdef + av_log() combinations by av_dlog().Diego Biurrun2011-06-031-18/+10
|
* Remove unused variablesMans Rullgard2011-06-021-2/+1
|
* Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini2011-05-021-6/+6
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Remove some disabled printf debug cruft.Diego Biurrun2011-04-291-13/+0
|
* lavc: remove FF_API_HURRY_UP cruftAnton Khirnov2011-04-261-3/+0
|
* lavc: mark hurry_up for removal on next major bumpAnton Khirnov2011-04-021-0/+2
| | | | | It has been deprecated for about five years, skip_idct/skip_frame should be used instead.
* 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-1/+1
| | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
* svq1dec: replace VLA with malloc/freeMåns Rullgård2010-06-261-4/+11
| | | | Originally committed as revision 23794 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
* Add additional long names for the Sorenson Vector Quantizer 1 decoderStefano Sabatini2009-10-191-1/+1
| | | | | | and encoder. Originally committed as revision 20315 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace last use of INIT_VLC_USE_STATIC by INIT_VLC_USE_NEW_STATIC in svq1decReimar Döffinger2009-09-241-2/+11
| | | | Originally committed as revision 20012 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use INIT_VLC_STATIC where easily possible in svq1decReimar Döffinger2009-09-241-8/+8
| | | | Originally committed as revision 20009 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark all pix_fmts and supported_framerates compound literals as const.Reimar Döffinger2009-09-061-1/+1
| | | | | | Makes no difference for gcc but at least icc can put them in .rodata then. Originally committed as revision 19789 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move ALIGN macro to libavutil/common.h and use it in various placesDavid Conrad2009-05-221-4/+4
| | | | Originally committed as revision 18898 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Two INIT_VLC_USE_STATIC cases Carl missed.Michael Niedermayer2009-04-111-1/+1
| | | | Originally committed as revision 18438 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use INIT_VLC_USE_STATIC and not its value "1".Carl Eugen Hoyos2009-04-111-5/+5
| | | | Originally committed as revision 18430 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
* moves mid_pred() into mathops.h (with arch specific code split by directory)Aurelien Jacobs2009-01-181-0/+1
| | | | Originally committed as revision 16681 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud