Mercurial > libavcodec.hg
diff mpegvideo.c @ 2053:c46e203dd698 libavcodec
change qscale -> lambda for the motion estimation
finetune bit/distortion weighting factor used in motion estimation, the old coeffs where finetuned relative to incorrect mv_penalty tables which where then fixed later but the coeffs where not
this _may_ fix the long standing blocking artifacts, but may also introduce mudding artefacts theoretically, so please tell us if u stumble across any so we can either fix them or export this variable so the user can change it
author | michael |
---|---|
date | Thu, 03 Jun 2004 19:29:47 +0000 |
parents | 533717e2910f |
children | 06d6a6bade18 |
line wrap: on
line diff
--- a/mpegvideo.c Thu Jun 03 14:17:59 2004 +0000 +++ b/mpegvideo.c Thu Jun 03 19:29:47 2004 +0000 @@ -4623,7 +4623,7 @@ s->me.scene_change_score=0; - s->lambda= s->current_picture_ptr->quality; //FIXME qscale / ... stuff for ME ratedistoration +// s->lambda= s->current_picture_ptr->quality; //FIXME qscale / ... stuff for ME ratedistoration if(s->pict_type==I_TYPE){ if(s->msmpeg4_version >= 3) s->no_rounding=1;