diff utils.c @ 2494:36d70fbb31c5 libavcodec

mb_lmin/max to limit the per mb quality for the ratecontrol independant from the frame limits
author michael
date Wed, 02 Feb 2005 19:33:48 +0000
parents 8dd4672b9f74
children e25782262d7d
line wrap: on
line diff
--- a/utils.c	Wed Feb 02 18:49:04 2005 +0000
+++ b/utils.c	Wed Feb 02 19:33:48 2005 +0000
@@ -430,8 +430,8 @@
     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;