[xiph-commits] r16311 - branches/theora-thusnelda/lib/enc
tterribe at svn.xiph.org
tterribe at svn.xiph.org
Tue Jul 21 17:36:44 PDT 2009
Author: tterribe
Date: 2009-07-21 17:36:44 -0700 (Tue, 21 Jul 2009)
New Revision: 16311
Modified:
branches/theora-thusnelda/lib/enc/analyze.c
Log:
Fix INTER_MV bias broken in r16307.
Modified: branches/theora-thusnelda/lib/enc/analyze.c
===================================================================
--- branches/theora-thusnelda/lib/enc/analyze.c 2009-07-22 00:34:58 UTC (rev 16310)
+++ branches/theora-thusnelda/lib/enc/analyze.c 2009-07-22 00:36:44 UTC (rev 16311)
@@ -1342,7 +1342,7 @@
and refine only that one.
We have to be careful to remember which ones we've refined so that
we don't refine it again if we re-encode this frame.*/
- inter_mv_pref=_enc->lambda*3<<OC_BIT_SCALE;
+ inter_mv_pref=_enc->lambda*3;
if(modes[OC_MODE_INTER_MV_FOUR].cost<modes[OC_MODE_INTER_MV].cost&&
modes[OC_MODE_INTER_MV_FOUR].cost<modes[OC_MODE_GOLDEN_MV].cost){
if(!(embs[mbi].refined&0x80)){
More information about the commits
mailing list