[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 248, Fri Jun 28 15:14:40 2002 UTC revision 252, Sun Jun 30 10:46:29 2002 UTC
# Line 573  Line 573 
573   ***************************************************************/   ***************************************************************/
574    
575    
 void  
 skip_stuffing(Bitstream *bs)  
 {  
         while (BitstreamShowBits(bs, 9) == 1)  
                 BitstreamSkip(bs, 9);  
 }  
   
   
   
576  // for IVOP addbits == 0  // for IVOP addbits == 0
577  // for PVOP addbits == fcode - 1  // for PVOP addbits == fcode - 1
578  // for BVOP addbits == max(fcode,bcode) - 1  // for BVOP addbits == max(fcode,bcode) - 1
# Line 782  Line 773 
773                  }                  }
774                  coeff += run;                  coeff += run;
775                  block[scan[coeff]] = level;                  block[scan[coeff]] = level;
776    
777                    DPRINTF(DPRINTF_COEFF,"block[%i] %i", scan[coeff], level);
778                    //DPRINTF(DPRINTF_COEFF,"block[%i] %i %08x", scan[coeff], level, BitstreamShowBits(bs, 32));
779    
780                  if (level < -127 || level > 127) {                  if (level < -127 || level > 127) {
781                          DEBUG1("warning: intra_overflow", level);                          DEBUG1("warning: intra_overflow", level);
782                  }                  }
# Line 811  Line 806 
806                  p += run;                  p += run;
807    
808                  block[scan[p]] = level;                  block[scan[p]] = level;
809    
810                    DPRINTF(DPRINTF_COEFF,"block[%i] %i", scan[p], level);
811                    // DPRINTF(DPRINTF_COEFF,"block[%i] %i %08x", scan[p], level, BitstreamShowBits(bs, 32));
812    
813                  if (level < -127 || level > 127) {                  if (level < -127 || level > 127) {
814                          DEBUG1("warning: inter_overflow", level);                          DEBUG1("warning: inter_overflow", level);
815                  }                  }

Legend:
Removed from v.248  
changed lines
  Added in v.252

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