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

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

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

revision 1.6, Wed Jun 12 20:38:40 2002 UTC revision 1.6.2.2, Sat Dec 14 09:39:42 2002 UTC
# Line 215  Line 215 
215   * encoder tables                                                 *   * encoder tables                                                 *
216   ******************************************************************/   ******************************************************************/
217    
218    static VLC sprite_trajectory_code[32768];
219    
220    static VLC sprite_trajectory_len[15] = {
221            { 0x00 , 2},
222            { 0x02 , 3}, { 0x03, 3}, { 0x04, 3}, { 0x05, 3}, { 0x06, 3},
223            { 0x0E , 4}, { 0x1E, 5}, { 0x3E, 6}, { 0x7F, 7}, { 0xFE, 8},
224            { 0x1FE, 9}, {0x3FE,10}, {0x7FE,11}, {0xFFE,12} };
225    
226    
227  /* DCT coefficients. Four tables, two for last = 0, two for last = 1.  /* DCT coefficients. Four tables, two for last = 0, two for last = 1.
228     the sign bit must be added afterwards. */     the sign bit must be added afterwards. */
229    
# Line 1308  Line 1317 
1317                  level = BitstreamGetBits(bs, 8);                  level = BitstreamGetBits(bs, 8);
1318    
1319                  if (level == 0 || level == 128)                  if (level == 0 || level == 128)
1320                          DEBUG1("Illegal LEVEL for ESCAPE mode 4:", level);                          DPRINTF(DPRINTF_ERROR,"Illegal LEVEL for ESCAPE mode 4: %i", level);
1321    
1322                  return (level >= 128 ? -(256 - level) : level);                  return (level >= 128 ? -(256 - level) : level);
1323          }          }

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.6.2.2

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