[xiph-commits] r16881 - experimental/derf/theora-ptalarbvorm/lib
tterribe at svn.xiph.org
tterribe at svn.xiph.org
Sun Feb 7 22:05:32 PST 2010
Author: tterribe
Date: 2010-02-07 22:05:32 -0800 (Sun, 07 Feb 2010)
New Revision: 16881
Modified:
experimental/derf/theora-ptalarbvorm/lib/analyze.c
Log:
Fix a bug in the fragment state tracker for the coded block flags.
It was using the partial SB flag instead of the run count when performing rate
estimation for RDO.
Modified: experimental/derf/theora-ptalarbvorm/lib/analyze.c
===================================================================
--- experimental/derf/theora-ptalarbvorm/lib/analyze.c 2010-02-07 18:30:43 UTC (rev 16880)
+++ experimental/derf/theora-ptalarbvorm/lib/analyze.c 2010-02-08 06:05:32 UTC (rev 16881)
@@ -248,7 +248,7 @@
int sb_full_count;
bits=_fr->bits;
/*Extend the sb_partial run, or start a new one.*/
- sb_partial_count=_fr->sb_partial;
+ sb_partial_count=_fr->sb_partial_count;
if(_fr->sb_partial==_sb_partial){
if(sb_partial_count>=4129){
bits++;
More information about the commits
mailing list