summaryrefslogtreecommitdiff
path: root/libavcodec/qdrw.c
Commit message (Collapse)AuthorAge
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-27
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* quickdraw: Skip the empty 512 byte header for imagesVittorio Giovara2015-05-12
| | | | Found-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
* quickdraw: Make the palette opaqueCarl Eugen Hoyos2015-05-12
| | | | | | Additional overflow fix by Michael Niedermayer <michaelni@gmx.at>. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* quickdraw: Support direct pixel blocksVittorio Giovara2015-05-06
| | | | | Data is stored in separated components so rework decode_rle() to support stepping and offsets.
* quickdraw: Switch to greedy parsingVittorio Giovara2015-05-06
| | | | | | | | | | | | | | Quickdraw packs data as a series of codes that the application is supposed to handle, but it does not define any order in which they might appear. Since it's unfeasible to support *all* opcodes defined by the spec, only handle well-known blocks containing video data and ignore any unknown or unsupported ones. Move palette loading and rle decoding to separate functions to resue them in other blocks and drop format initialization in init since it can support more formats than pal8. Validate width and height.
* quickdraw: Convert to bytestream2Vittorio Giovara2015-05-06
| | | | | Add appropriate error messages and reduce r, g, b variables scope. Drop the now redundant line checks in RLE decoding.
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-03
|
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-08
|
* qdrw: cosmetics, reformatAnton Khirnov2013-01-14
|
* qdrw: return meaningful error codes.Anton Khirnov2013-01-14
|
* lavc: fix decode_frame() third parameter semantics for video decodersAnton Khirnov2012-12-04
| | | | It's got_frame, not data size
* lavc: add a wrapper for AVCodecContext.get_buffer().Anton Khirnov2012-12-04
| | | | It will be useful in the upcoming transition to refcounted AVFrames.
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
|
* Don't include common.h from avutil.hMartin Storsjö2012-08-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* 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>
* Remove unnecessary AVFrame pointer casts.Diego Biurrun2012-03-01
|
* quickdraw: Check for out of bound readsLaurent Aimar2011-10-07
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini2011-05-02
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* 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>
* 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
* Do not try to free memory that was never allocated (partial revert of r20231).Carl Eugen Hoyos2009-10-16
| | | | Originally committed as revision 20252 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Release frame after decoding is doneKostya Shishkov2009-10-14
| | | | 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-13
| | | | | | done at a higher level. Originally committed as revision 20229 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
* Fix build: Add intreadwrite.h and bswap.h #includes where necessary.Diego Biurrun2009-01-11
| | | | Originally committed as revision 16556 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
* remove more useless mpegvideo.h includesAurelien Jacobs2008-03-05
| | | | Originally committed as revision 12323 to svn://svn.ffmpeg.org/ffmpeg/trunk
* constMichael Niedermayer2008-02-01
| | | | Originally committed as revision 11769 to svn://svn.ffmpeg.org/ffmpeg/trunk
* license header consistency cosmeticsDiego Biurrun2007-07-05
| | | | Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
* This codec is PAL8 so make it output PAL8 tooKostya Shishkov2007-04-06
| | | | Originally committed as revision 8630 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename BE/LE_8/16/32 to AV_RL/B_8/16/32Alex Beregszaszi2007-01-19
| | | | Originally committed as revision 7587 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
* 1l: correct argument order in avcodec_check_dimensionsKostya Shishkov2006-10-01
| | | | Originally committed as revision 6400 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update licensing information: The FSF changed postal address.Diego Biurrun2006-01-12
| | | | Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
* COSMETICS: Remove all trailing whitespace.Diego Biurrun2005-12-17
| | | | Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check pointers before writing to memoryRoberto Togni2005-01-23
| | | | Originally committed as revision 3874 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avoid buf_size == 0 checks in every decoderMichael Niedermayer2005-01-23
| | | | Originally committed as revision 3872 to svn://svn.ffmpeg.org/ffmpeg/trunk
* support for Sierra Online audio files and Apple QuickDraw codec,Mike Melanson2004-09-28
courtesy of Konstantin Shishkov Originally committed as revision 3529 to svn://svn.ffmpeg.org/ffmpeg/trunk