summaryrefslogtreecommitdiff
path: root/libavcodec/a64multienc.c
Commit message (Collapse)AuthorAge
* lavc: Consistently prefix input buffer definesVittorio Giovara2015-07-27
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-27
| | | | | | Express bitfields more simply. 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>
* a64multienc: Do not entangle coded_frameVittorio Giovara2015-07-20
| | | | | | | | | | | This change (and the following ones of the same kind) is mainly to simplify wrapping this section with an #if FF_API block later on. No functional changes are applied, the fields of the context coded_frame fields are directly initialized, instead of keeping a reference to the coded_frame itself. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* a64multi: check elbg return valuesVittorio Giovara2014-12-18
|
* avcodec: Consistently name encoder init functions foo_encode_initDiego Biurrun2014-02-20
|
* a64multienc: use the AVFrame API properly.Anton Khirnov2013-11-16
|
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-03
|
* 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
|
* Remove unnecessary AVFrame pointer casts.Diego Biurrun2012-03-01
|
* a64multienc: switch to encode2().Anton Khirnov2012-02-23
| | | | We have no decoder, so cannot test if the output is decodable.
* a64multienc: don't write into output buffer when there's no output.Anton Khirnov2012-02-23
|
* Remove unused variablesMans Rullgard2011-06-02
|
* 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>
* a64enc: make PixelFormat arrays constMans Rullgard2011-01-18
|
* Cosmetics, lots of.Tobias Bindhammer2010-10-05
| | | | Originally committed as revision 25348 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Skip unnecessary calculations in 4col-mode.Tobias Bindhammer2010-10-05
| | | | Originally committed as revision 25347 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add possibility to crop screens inside of encoded frames.Tobias Bindhammer2010-10-05
| | | | Originally committed as revision 25346 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add check for height when cropping.Tobias Bindhammer2010-10-05
| | | | Originally committed as revision 25345 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Introduce palette with dynamic size.Tobias Bindhammer2010-10-05
| | | | Originally committed as revision 25344 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Checking return values of av_malloc(z) and report an error in case.Tobias Bindhammer2010-08-31
| | | | Originally committed as revision 25003 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Clarify code/avoid possible bugs by using precalculated values that are used ↵Tobias Bindhammer2010-08-26
| | | | | | for extradata as well Originally committed as revision 24941 to svn://svn.ffmpeg.org/ffmpeg/trunk
* enable a flexible lifetimeTobias Bindhammer2010-08-26
| | | | Originally committed as revision 24940 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Setting proper values in extradata for future use in muxerTobias Bindhammer2010-08-26
| | | | Originally committed as revision 24939 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cleanup a bit in a64multi_encode_frame()Tobias Bindhammer2010-08-25
| | | | Originally committed as revision 24914 to svn://svn.ffmpeg.org/ffmpeg/trunk
* added/extended some comments in a64multi_encode_frame()Tobias Bindhammer2010-08-25
| | | | Originally committed as revision 24913 to svn://svn.ffmpeg.org/ffmpeg/trunk
* added interlacing option and compression option for colorram (lut)Tobias Bindhammer2010-08-24
| | | | Originally committed as revision 24901 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fixed some return values and deprecated CODEC_TYPE_VIDEO.Tobias Bindhammer2010-08-24
| | | | | | dithering (faster) along a linear gradient now. Originally committed as revision 24898 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Initial version of the a64 (multicolor charset) codecTobias Bindhammer2010-08-23
Originally committed as revision 24873 to svn://svn.ffmpeg.org/ffmpeg/trunk