OSDN Git Service

Implement the fields rc_max_available_vbv_use and
authorBaptiste Coudurier <baptiste.coudurier@smartjog.com>
Sat, 29 Nov 2008 14:08:48 +0000 (14:08 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 29 Nov 2008 14:08:48 +0000 (14:08 +0000)
commit3bff4d8b7a9342e795c925ebab407cead2b9b54e
tree3c0aa9012cba95c2f5543d7b6334821bc908496c
parentcd0e37d3b16c403d922857ffb7df35ed6e89e50d
Implement the fields rc_max_available_vbv_use and
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
libavcodec/avcodec.h
libavcodec/mpegvideo_enc.c
libavcodec/ratecontrol.c
libavcodec/utils.c