summaryrefslogtreecommitdiff
path: root/libavcodec/a64multienc.c
Commit message (Collapse)AuthorAgeFilesLines
* lavc: Consistently prefix input buffer definesVittorio Giovara2015-07-271-1/+1
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-271-2/+2
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* Deprecate avctx.coded_frameVittorio Giovara2015-07-201-0/+8
| | | | | | | | | | | | | | | | | 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-201-7/+0
| | | | | | | | | | | | | | 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-201-6/+5
| | | | | | | | | | | 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-181-2/+8
|
* avcodec: Consistently name encoder init functions foo_encode_initDiego Biurrun2014-02-201-3/+3
|
* a64multienc: use the AVFrame API properly.Anton Khirnov2013-11-161-3/+8
|
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-031-2/+2
|
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-081-2/+2
|
* Don't include common.h from avutil.hMartin Storsjö2012-08-151-0/+1
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-071-3/+3
|
* Remove unnecessary AVFrame pointer casts.Diego Biurrun2012-03-011-1/+1
|
* a64multienc: switch to encode2().Anton Khirnov2012-02-231-14/+26
| | | | 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-231-2/+0
|
* Remove unused variablesMans Rullgard2011-06-021-2/+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 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-2/+2
| | | | | | | 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-181-2/+2
|
* Cosmetics, lots of.Tobias Bindhammer2010-10-051-38/+38
| | | | Originally committed as revision 25348 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Skip unnecessary calculations in 4col-mode.Tobias Bindhammer2010-10-051-1/+1
| | | | Originally committed as revision 25347 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add possibility to crop screens inside of encoded frames.Tobias Bindhammer2010-10-051-4/+19
| | | | Originally committed as revision 25346 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add check for height when cropping.Tobias Bindhammer2010-10-051-3/+3
| | | | Originally committed as revision 25345 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Introduce palette with dynamic size.Tobias Bindhammer2010-10-051-7/+8
| | | | 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-311-6/+13
| | | | 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-261-9/+9
| | | | | | for extradata as well Originally committed as revision 24941 to svn://svn.ffmpeg.org/ffmpeg/trunk
* enable a flexible lifetimeTobias Bindhammer2010-08-261-2/+1
| | | | Originally committed as revision 24940 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Setting proper values in extradata for future use in muxerTobias Bindhammer2010-08-261-0/+14
| | | | Originally committed as revision 24939 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cleanup a bit in a64multi_encode_frame()Tobias Bindhammer2010-08-251-7/+1
| | | | Originally committed as revision 24914 to svn://svn.ffmpeg.org/ffmpeg/trunk
* added/extended some comments in a64multi_encode_frame()Tobias Bindhammer2010-08-251-1/+8
| | | | Originally committed as revision 24913 to svn://svn.ffmpeg.org/ffmpeg/trunk
* added interlacing option and compression option for colorram (lut)Tobias Bindhammer2010-08-241-43/+124
| | | | Originally committed as revision 24901 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fixed some return values and deprecated CODEC_TYPE_VIDEO.Tobias Bindhammer2010-08-241-40/+63
| | | | | | 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-231-0/+248
Originally committed as revision 24873 to svn://svn.ffmpeg.org/ffmpeg/trunk