[svn] / branches / dev-api-4 / xvidcore / src / bitstream / mbcoding.c Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/src/bitstream/mbcoding.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1002, Sat May 3 10:05:56 2003 UTC revision 1003, Sat May 3 19:11:58 2003 UTC
# Line 1524  Line 1524 
1524    
1525    } // end of (i=0;i<=last_non_zero;i++)    } // end of (i=0;i<=last_non_zero;i++)
1526    
   
   last_score = 256 * 256 * 256 * 120;  
   for (i = left_limit; i <= last_non_zero + 1; i++)  
         {  
           int score = score_tab[i];  
           if (i)  
             score += 2*lambda;  /* coded block means 2 extra bits (roughly) */  
   
           if (score < last_score)  
             {  
               last_score = score;  
               last_i = i;  
               last_level = level_tab[i];  
               last_run = run_tab[i];  
             }  
         }  
   
1527    last_non_zero = last_i - 1;    last_non_zero = last_i - 1;
1528    if (last_non_zero < 0)    if (last_non_zero < 0)
1529      return last_non_zero;      return last_non_zero;

Legend:
Removed from v.1002  
changed lines
  Added in v.1003

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4