[svn] / trunk / xvidcore / src / bitstream / vlc_codes.h Repository:
ViewVC logotype

Diff of /trunk/xvidcore/src/bitstream/vlc_codes.h

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

revision 16, Sat Mar 9 15:53:05 2002 UTC revision 28, Fri Mar 15 09:20:03 2002 UTC
# Line 632  Line 632 
632          coeff_inter_last1,          coeff_inter_last1,
633  };  };
634    
635  static const VLC mcbpc_I[4] = {  /* MCBPC Indexing by cbpc in first two bits, mode in last two.
636          {1, 1}, {1, 3}, {2, 3}, {3, 3}   CBPC as in table 4/H.263, MB type (mode): 3 = 01, 4 = 10.
637  };   Example: cbpc = 01 and mode = 4 gives index = 0110 = 6. */
638    
639  static const VLC mcbpc_P_intra[4] = {  static VLC mcbpc_intra_tab[15] = {
640          {3, 5}, {4, 8}, {3, 8}, {3, 7}      {0x01, 9}, {0x01, 1}, {0x01, 4}, {0x00, 0},
641  };      {0x00, 0}, {0x01, 3}, {0x01, 6}, {0x00, 0},
642        {0x00, 0}, {0x02, 3}, {0x02, 6}, {0x00, 0},
643  static const VLC mcbpc_P_inter[4] = {      {0x00, 0}, {0x03, 3}, {0x03, 6}
644          {1, 1}, {3, 4}, {2, 4}, {5, 6}  };
645  };  
646    /* MCBPC inter.
647  static const VLC mcbpc_P_inter4v[4] = {     Addressing: 5 bit ccmmm (cc = CBPC, mmm = mode (1-4 binary)) */
648          {2, 3}, {5, 7}, {4, 7}, {5, 8}  
649    static VLC mcbpc_inter_tab[29] = {
650        {1, 1}, {3, 3}, {2, 3}, {3, 5}, {4, 6}, {1, 9}, {0, 0}, {0, 0},
651        {3, 4}, {7, 7}, {5, 7}, {4, 8}, {4, 9}, {0, 0}, {0, 0}, {0, 0},
652        {2, 4}, {6, 7}, {4, 7}, {3, 8}, {3, 9}, {0, 0}, {0, 0}, {0, 0},
653        {5, 6}, {5, 9}, {5, 8}, {3, 7}, {2, 9}
654  };  };
655    
656  static const VLC cbpy_tab[16] = {  static const VLC cbpy_tab[16] = {

Legend:
Removed from v.16  
changed lines
  Added in v.28

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