[cvs] / xvidcore / src / bitstream / mbcoding.c Repository:
ViewVC logotype

Diff of /xvidcore/src/bitstream/mbcoding.c

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

revision 1.44.2.6, Sun Apr 27 19:45:52 2003 UTC revision 1.44.2.7, 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.1.44.2.6  
changed lines
  Added in v.1.44.2.7

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