[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 1262, Sat Dec 13 13:52:25 2003 UTC revision 1263, Sun Dec 14 03:32:01 2003 UTC
# Line 19  Line 19 
19   *  along with this program ; if not, write to the Free Software   *  along with this program ; if not, write to the Free Software
20   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21   *   *
22   * $Id: mbcoding.c,v 1.44.2.17 2003-10-03 16:57:55 edgomez Exp $   * $Id: mbcoding.c,v 1.44.2.18 2003-12-14 03:32:01 syskin Exp $
23   *   *
24   ****************************************************************************/   ****************************************************************************/
25    
# Line 692  Line 692 
692          const uint16_t *scan_table =          const uint16_t *scan_table =
693                  frame->vop_flags & XVID_VOP_ALTERNATESCAN ?                  frame->vop_flags & XVID_VOP_ALTERNATESCAN ?
694                  scan_tables[2] : scan_tables[0];                  scan_tables[2] : scan_tables[0];
695            int bits;
696    
697    
698  /*      ------------------------------------------------------------------  /*      ------------------------------------------------------------------
# Line 759  Line 760 
760                  default: break;                  default: break;
761          }          }
762    
763            bits = BitstreamPos(bs);
764          for (i = 0; i < 6; i++) {          for (i = 0; i < 6; i++) {
765                  if (mb->cbp & (1 << (5 - i))) {                  if (mb->cbp & (1 << (5 - i))) {
766                          CodeCoeffInter(bs, &qcoeff[i * 64], scan_table);                          CodeCoeffInter(bs, &qcoeff[i * 64], scan_table);
767                  }                  }
768          }          }
769            pStat->iTextBits += BitstreamPos(bs) - bits;
770  }  }
771    
772    

Legend:
Removed from v.1262  
changed lines
  Added in v.1263

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