summaryrefslogtreecommitdiff
path: root/libavcodec/gif.c
Commit message (Collapse)AuthorAge
* lavc: Consistently prefix input buffer definesVittorio Giovara2015-07-27
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* Deprecate avctx.coded_frameVittorio Giovara2015-07-20
| | | | | | | | | | | | | | | | | The rationale is that coded_frame was only used to communicate key_frame, pict_type and quality to the caller, as well as a few other random fields, in a non predictable, let alone consistent way. There was agreement that there was no use case for coded_frame, as it is a full-sized AVFrame container used for just 2-3 int-sized properties, which shouldn't even belong into the AVCodecContext in the first place. The appropriate AVPacket flag can be used instead of key_frame, while quality is exported with the new AVPacketSideData quality factor. There is no replacement for the other fields as they were unreliable, mishandled or just not used at all. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* Gather all coded_frame allocations and free functions to a single placeVittorio Giovara2015-07-20
| | | | | | | | | | | | | | Allocating coded_frame is what most encoders do anyway, so it makes sense to always allocate and free it in a single place. Moreover a lot of encoders freed the frame with av_freep() instead of the correct API av_frame_free(). This bring uniformity to encoder behaviour and prevents applications from erroneusly accessing this field when not allocated. Additionally this helps isolating encoders that export information with coded_frame, and heavily simplifies its deprecation. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* avcodec: Don't anonymously typedef structsDiego Biurrun2015-02-14
|
* gif: use the AVFrame API properly.Anton Khirnov2013-11-16
|
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-03
|
* Move misplaced file author information where it belongsDiego Biurrun2013-04-11
|
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
|
* 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
|
* gifenc: switch to encode2().Anton Khirnov2012-02-23
|
* 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>
* In gif encoder, fix uninitialized value, patch by Clément Bœsch, ubitux at ↵Clément Bœsch2011-01-10
| | | | | | gmail dot com Originally committed as revision 26303 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all remaining occurrences of AVERROR_NOMEM withStefano Sabatini2010-04-03
| | | | | | | | | AVERROR(ENOMEM). AVERROR_NOMEM is deprecated and will be dropped at the next libavutil major bump. Originally committed as revision 22791 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
* use lzw compression in gif encoderBaptiste Coudurier2009-12-03
| | | | Originally committed as revision 20723 to svn://svn.ffmpeg.org/ffmpeg/trunk
* pass avctx as argument instead of width and heightBaptiste Coudurier2009-12-02
| | | | Originally committed as revision 20710 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove useless paramsBaptiste Coudurier2009-12-02
| | | | Originally committed as revision 20709 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove useless paramsBaptiste Coudurier2009-12-02
| | | | Originally committed as revision 20708 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move private context declaration at the topBaptiste Coudurier2009-12-02
| | | | Originally committed as revision 20707 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark all pix_fmts and supported_framerates compound literals as const.Reimar Döffinger2009-09-06
| | | | | | 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
* Rename pbBufPtr() to put_bits_ptr().Stefano Sabatini2009-04-13
| | | | | | | The new name is more readable and consistent with the FFmpeg naming style. Originally committed as revision 18497 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split bitstream.h, put the bitstream writer stuff in the new fileStefano Sabatini2009-04-12
| | | | | | put_bits.h. Originally committed as revision 18461 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove no more needed fields in GIFContext, patch by Daniel Verkamp, daniel ↵Daniel Verkamp2009-02-09
| | | | | | at drv dot nu Originally committed as revision 17096 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove dead rgb24 code, gif encoder now directly takes palette, patch by ↵Daniel Verkamp2009-02-09
| | | | | | Daniel Verkamp, daniel at drv dot nu Originally committed as revision 17095 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove dead netscape loop header code in gif encoder, patch by Daniel ↵Daniel Verkamp2009-02-09
| | | | | | Verkamp, daniel at drv dot nu Originally committed as revision 17094 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix list of input pix_fmts supported by GIF. This makes it work with swscale.Michael Niedermayer2009-02-06
| | | | | | | It also allows encoding GIF with a 4-bit palette and with a graycale one as a side effect. Originally committed as revision 17019 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-19
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cleanup gif, use BISTREAM_WRITER_LEBaptiste Coudurier2009-01-14
| | | | Originally committed as revision 16591 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
* Replace some occurrences of -1 with PIX_FMT_NONE.Carl Eugen Hoyos2008-05-11
| | | | | | Fixes icc warning #188: enumerated type mixed with another type Originally committed as revision 13130 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add long names to AVCodec declarations.Stefano Sabatini2008-04-27
| | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13009 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
* Replace idiotic (what moron wrote that code?) "buffer overflow" message byMichael Niedermayer2008-01-17
| | | | | | abort() Originally committed as revision 11546 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use AV_xx throughout libavcodecRamiro Polla2007-06-02
| | | | Originally committed as revision 9169 to svn://svn.ffmpeg.org/ffmpeg/trunk
* change gif muxer to simple gif encoderBaptiste Coudurier2006-11-02
Originally committed as revision 6874 to svn://svn.ffmpeg.org/ffmpeg/trunk