mb_lmin/max to limit the per mb quality for the ratecontrol independant from the frame limits

Originally committed as revision 3928 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer
2005-02-02 19:33:48 +00:00
parent 957c743a23
commit 6e0d8c06c7
4 changed files with 39 additions and 25 deletions

View File

@@ -430,8 +430,8 @@ void avcodec_get_context_defaults(AVCodecContext *s){
s->bit_rate_tolerance= s->bit_rate*10;
s->qmin= 2;
s->qmax= 31;
s->mb_qmin= 2;
s->mb_qmax= 31;
s->mb_lmin= FF_QP2LAMBDA * 2;
s->mb_lmax= FF_QP2LAMBDA * 31;
s->rc_eq= "tex^qComp";
s->qcompress= 0.5;
s->max_qdiff= 3;