[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 338, Wed Jul 24 23:07:45 2002 UTC revision 347, Sun Jul 28 13:06:46 2002 UTC
# Line 413  Line 413 
413  {  {
414    
415          if (frame->coding_type == P_VOP) {          if (frame->coding_type == P_VOP) {
                 if (pMB->cbp == 0 && pMB->mode == MODE_INTER && pMB->mvs[0].x == 0 &&  
                         pMB->mvs[0].y == 0) {  
   
 #ifdef _DISABLE_SKIP  
 /* disable SKIP when Bframes active until some workaround for the B-SKIP problem is found */  
                         BitstreamPutBit(bs, 0); // always coded!  
 #else  
                         BitstreamPutBit(bs, 1); // not_coded  
   
                         return;  
 #endif  
                 } else  
416                          BitstreamPutBit(bs, 0); // coded                          BitstreamPutBit(bs, 0); // coded
417          }          }
418    
# Line 435  Line 423 
423    
424  }  }
425    
426    
427    void
428    MBSkip(Bitstream * bs)
429    {
430            BitstreamPutBit(bs, 1); // not coded
431            return;
432    }
433    
434    
435  /***************************************************************  /***************************************************************
436   * bframe encoding start   * bframe encoding start
437   ***************************************************************/   ***************************************************************/

Legend:
Removed from v.338  
changed lines
  Added in v.347

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