summaryrefslogtreecommitdiff
path: root/libavcodec/libtheoraenc.c
Commit message (Collapse)AuthorAge
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-27
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: AV-prefix all codec flagsVittorio Giovara2015-07-27
| | | | | | Convert doxygen to multiline and 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>
* libtheoraenc: Keep coded_frame.key_frame a write-only variableVittorio Giovara2015-07-20
|
* libtheora: Check memory allocationVittorio Giovara2015-05-31
|
* libtheora: Check frame allocationVittorio Giovara2015-03-12
|
* avcodec: Use av_reallocp where suitableAlexandra Khirnova2013-12-09
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace all instances of avcodec_alloc_frame() with av_frame_alloc().Anton Khirnov2013-11-16
|
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-03
|
* libtheoraenc: fix granularity of video qualityMaximilian Seesslen2013-01-14
| | | | | | | | The floating point version of av_clip has to be used when converting the quality level. Signed-off-by: Maximilian Seesslen <mes@seesslen.net> Signed-off-by: Martin Storsjö <martin@martin.st>
* miscellaneous typo fixesDiego Biurrun2012-12-21
|
* libtheoraenc: add missing pixdesc.h headerLuca Barbato2012-11-13
| | | | Was left out from c1a02e884ac785033baab356a5437adf057a4189.
* pixdesc: add av_pix_fmt_get_chroma_sub_sampleLuca Barbato2012-11-13
| | | | Deprecate avcodec_get_chroma_sub_sample.
* 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>
* libtheoraenc: switch to encode2().Anton Khirnov2012-02-23
|
* Replace ffmpeg references with more accurate libav* references.Diego Biurrun2011-11-02
|
* Replace more FFmpeg references by Libav.Diego Biurrun2011-04-17
|
* 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>
* Fix grammar errors in documentationMåns Rullgård2010-06-30
| | | | Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use AV_BASE64_SIZE() macroHoward Chu2010-06-04
| | | | Originally committed as revision 23462 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 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
* cosmetics: Switch Doxygen comments to JavaDoc style.Diego Biurrun2010-04-20
| | | | Originally committed as revision 22919 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
* Clarify comment: although still hacky, it is correct for existing libtheoraDavid Conrad2009-12-12
| | | | Originally committed as revision 20817 to svn://svn.ffmpeg.org/ffmpeg/trunk
* libtheoraenc.c: mark keyframesDavid Conrad2009-12-12
| | | | Originally committed as revision 20816 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support compiling against libtheora older than 1.1David Conrad2009-11-25
| | | | Originally committed as revision 20609 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set colorspace for libtheora encodingDavid Conrad2009-11-22
| | | | Originally committed as revision 20583 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support 4:2:2 and 4:4:4 subsampling in libtheora encodingDavid Conrad2009-11-22
| | | | Originally committed as revision 20582 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for two pass encoding in libtheoraDavid Conrad2009-11-22
| | | | Originally committed as revision 20581 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update libtheora wrapper to use the 1.0 APIDavid Conrad2009-11-22
| | | | Originally committed as revision 20580 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Get rid of some pointless '== NULL' / '!= 0' conditions in if statements.Diego Biurrun2009-10-19
| | | | Originally committed as revision 20325 to svn://svn.ffmpeg.org/ffmpeg/trunk
* whitespace cosmetics: prettyprinting, K&R styleDiego Biurrun2009-10-19
| | | | Originally committed as revision 20313 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove pointless parentheses.Diego Biurrun2009-10-19
| | | | Originally committed as revision 20311 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Hack: set the coded frame PTS to the incoming PTS.Reimar Döffinger2009-10-10
| | | | | | | | | | This is not correct, but libtheora does not seem to provide a way to get the correct value, and this is necessary to make encoding produce sensible time stamps when encoded content is variable FPS or the time base is simply different from FPS. Somewhat fixes issue 1197. Originally committed as revision 20199 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support constant-quant encoding for libtheoraDavid Conrad2009-09-30
| | | | | | Based on a patch by j f (gonzaz-z # operamail (d) com) Originally committed as revision 20109 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix "warning: assignment discards qualifiers from pointer target type"David Conrad2009-07-13
| | | | Originally committed as revision 19424 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix memory leak in libtheora encoderArt Clarke2009-07-13
| | | | | | Patch by Art Clarke [aclark , xuggle . com] Originally committed as revision 19423 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix libtheora encoding for non-mod16 sizesDavid Conrad2009-05-22
| | | | Originally committed as revision 18899 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add missing av_cold in static init/close functions.Daniel Verkamp2009-02-22
| | | | | | Patch by Daniel Verkamp daniel at drv dot nu. Originally committed as revision 17526 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix filenames in Doxygen comments.Diego Biurrun2009-01-26
| | | | Originally committed as revision 16811 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add missing inclusion of libavutil/intreadwrite.h, fix compilation whenStefano Sabatini2009-01-11
| | | | | | libtheora is enabled. Originally committed as revision 16562 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
* Use full path for #includes from another directory.Diego Biurrun2008-05-09
| | | | Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk