[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.20, Sun Jun 30 10:46:29 2002 UTC revision 1.21, Thu Jul 18 23:52:40 2002 UTC
# Line 518  Line 518 
518          int i;          int i;
519    
520  /*      ------------------------------------------------------------------  /*      ------------------------------------------------------------------
521                  when a block is skipped it is decoded DIRECT(0,)                  when a block is skipped it is decoded DIRECT(0,0)
522                  hence are interpolated from forward & backward frames                  hence is interpolated from forward & backward frames
523          ------------------------------------------------------------------ */          ------------------------------------------------------------------ */
524    
525          if (mb->mode == 5) {          if (mb->mode == MODE_DIRECT_NONE_MV) {
526                  BitstreamPutBit(bs, 1); // skipped                  BitstreamPutBit(bs, 1); // skipped
527                  return;                  return;
528          }          }
# Line 556  Line 556 
556          }          }
557    
558          if (mb->mode == MODE_DIRECT) {          if (mb->mode == MODE_DIRECT) {
559                  // TODO: direct                  CodeVector(bs, mb->mvs[0].x, 1, pStat);         /* fcode is always 1 for delta vector */
560                    CodeVector(bs, mb->mvs[0].y, 1, pStat);         /* prediction is always (0,0) */
561          }          }
562    
563          for (i = 0; i < 6; i++) {          for (i = 0; i < 6; i++) {

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

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