summaryrefslogtreecommitdiff
path: root/libavcodec/ratecontrol.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 flagsVittorio Giovara2015-07-27
| | | | | | Convert doxygen to multiline and express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: Deprecate avctx.rc_strategyVittorio Giovara2015-07-08
| | | | | | | Only used by libxvid in ratecontrol module, so move it to a codec private option. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* ratecontrol: Check memory allocationVittorio Giovara2015-05-31
|
* mpegvideo: Drop flags and flags2Vittorio Giovara2015-05-22
| | | | They are just duplicates of AVCodecContext members so use those instead.
* lavc: Replace av_dlog and tprintf with internal macrosVittorio Giovara2015-04-19
|
* lavc: make lmax/lmin into private options of mpegvideo encodersAnton Khirnov2014-10-18
|
* lavc: make border_masking into private options of mpegvideo encodersAnton Khirnov2014-10-18
|
* lavc: make rc_buffer_aggressivity/rc_initial_cplx into private options of ↵Anton Khirnov2014-10-18
| | | | mpegvideo encoders
* lavc: make rc_eq into private options of mpegvideo encodersAnton Khirnov2014-10-18
|
* lavc: make rc_qmod_* into private options of mpegvideo encodersAnton Khirnov2014-10-18
|
* lavc: make rc_qsquish a private option of mpegvideo encodersAnton Khirnov2014-10-18
|
* lavc: move CODEC_FLAG_NORMALIZE_AQP to mpegvideoAnton Khirnov2014-05-01
|
* mpegvideo: operate with pointers to AVFrames instead of whole structswm42014-04-09
| | | | | | | | | | | | | The most interesting parts are initialization in ff_MPV_common_init() and uninitialization in ff_MPV_common_end(). ff_mpeg_unref_picture and ff_thread_release_buffer have additional NULL checks for Picture.f, because these functions can be called on uninitialized or partially initialized Pictures. NULL pointer checks are added to ff_thread_release_buffer() stub function. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* mpegvideo: move mpegvideo formats-related defines to mpegutils.hVittorio Giovara2014-03-16
|
* avcodec: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-04
|
* Remove unnecessary dsputil.h #includesDiego Biurrun2013-02-26
|
* Fix a number of incorrect intmath.h #includes.Diego Biurrun2013-02-26
|
* ratecontrol: K&R cosmetic formattingLuca Barbato2013-01-12
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* miscellaneous typo fixesDiego Biurrun2012-12-21
|
* avcodec: Convert some commented-out printf/av_log instances to av_dlogDiego Biurrun2012-10-01
|
* avcodec: Drop silly and/or broken printf debug outputDiego Biurrun2012-10-01
|
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* mpegvideo: remove VLAsRonald S. Bultje2012-07-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* flvdec: remove incomplete, disabled seeking codeDiego Biurrun2012-06-19
|
* doxygen: misc consistency, spelling and wording fixesDiego Biurrun2011-12-12
|
* ratecontrol: update last_qscale_for soonerLuca Barbato2011-09-22
| | | | | | | | In order to make ratecontrol converge properly update the last_qscale_for values when populating the qscale array. It fixes the issue reported on http://lists.libav.org/pipermail/libav-tools/2011-September/000050.html
* Eliminate FF_COMMON_FRAME macro.Diego Biurrun2011-07-11
| | | | | FF_COMMON_FRAME holds the contents of the AVFrame structure and is also copied to struct Picture. Replace by an embedded AVFrame structure in struct Picture.
* Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini2011-05-02
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Replace deprecated av_get_pict_type_char() with av_get_picture_type_char().Stefano Sabatini2011-05-02
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Remove some disabled printf debug cruft.Diego Biurrun2011-04-29
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Use hierarchic names convention (prefix them with av_expr) for theStefano Sabatini2010-11-08
| | | | | | | | | eval API. More grep-friendly and more consistent with the rest of the FFmpeg API. Originally committed as revision 25708 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move eval.c and eval.h from libavcodec to libavutil, and make the evalStefano Sabatini2010-06-05
| | | | | | API public. Originally committed as revision 23485 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make ff_parse_expr() and ff_parse_and_eval_expr() return an intStefano Sabatini2010-06-01
| | | | | | | | | | | | containing an error code. Allow these functions to convey the reason of the failure to the calling function, failure which is not always due to a parsing error but it may depend for example on a memory problem. Also fix several potential memleaks. Originally committed as revision 23402 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change eval API to take parent log context and log level offset.Michael Niedermayer2010-05-19
| | | | | | this is based on stefanos work, especially all bugs are his fault ;) Originally committed as revision 23201 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change the order of parameters for ff_eval_expr() andStefano Sabatini2010-05-16
| | | | | | | | | | ff_parse_and_eval_expr(), place the names for constants/functions before the corresponding values. This looks more readable, as the user is expected to know the names before the values. Originally committed as revision 23149 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
* Rename ff_parse() to ff_parse_expr().Stefano Sabatini2010-04-12
| | | | | | | The new name is more expressive and fits better in the overall naming scheme for the revisited eval API. Originally committed as revision 22858 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename ff_parse_eval() to ff_eval_expr().Stefano Sabatini2010-04-11
| | | | | | The new name expresses better what the function does. Originally committed as revision 22844 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename ff_eval_free() to ff_free_expr().Stefano Sabatini2010-04-11
| | | | Originally committed as revision 22834 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move ff_sqrt() to libavutil/intmath.hMåns Rullgård2010-03-08
| | | | Originally committed as revision 22345 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove 2 useless assignments from ff_rate_control_init() found by CSA.Michael Niedermayer2009-04-17
| | | | Originally committed as revision 18573 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variable in modify_qscale() found by CSA.Michael Niedermayer2009-04-17
| | | | Originally committed as revision 18563 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
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-13
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement the fields rc_max_available_vbv_use andBaptiste Coudurier2008-11-29
| | | | | | | | | | rc_min_vbv_overflow_use in AVCodecContext, and use their values in the ratecontrol code rather than hardcoded ones. See the thread: "[RFC] ratecontrol buffer size magic". Patch by Baptiste Coudurier. Originally committed as revision 15955 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add (additional) const to many global tables.Reimar Döffinger2008-10-02
| | | | Originally committed as revision 15515 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix rc_eq mem leak.Michael Niedermayer2008-08-16
| | | | Originally committed as revision 14788 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mark read-only data as constStefan Gehrer2008-06-24
| | | | Originally committed as revision 13947 to svn://svn.ffmpeg.org/ffmpeg/trunk