[svn] / branches / release-0_9_1-fixes / xvidcore / src / global.h Repository:
ViewVC logotype

Diff of /branches/release-0_9_1-fixes/xvidcore/src/global.h

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

trunk/xvidcore/src/global.h revision 677, Tue Nov 26 23:44:11 2002 UTC branches/release-0_9_1-fixes/xvidcore/src/global.h revision 971, Fri Apr 4 22:12:07 2003 UTC
# Line 50  Line 50 
50   *  exception also makes it possible to release a modified version which   *  exception also makes it possible to release a modified version which
51   *  carries forward this exception.   *  carries forward this exception.
52   *   *
53   * $Id: global.h,v 1.17 2002-11-26 23:44:10 edgomez Exp $   * $Id: global.h,v 1.18.2.1 2003-04-04 22:12:07 edgomez Exp $
54   *   *
55   ****************************************************************************/   ****************************************************************************/
56    
# Line 88  Line 88 
88          uint32_t *tail;          uint32_t *tail;
89          uint32_t *start;          uint32_t *start;
90          uint32_t length;          uint32_t length;
91            uint32_t initpos;
92  }  }
93  Bitstream;  Bitstream;
94    
# Line 155  Line 156 
156                  return 8;                  return 8;
157    
158          if (quant < 25 && !lum)          if (quant < 25 && !lum)
159                  return (quant + 13) / 2;                  return (int8_t)((quant + 13) / 2);
160    
161          if (quant < 9)          if (quant < 9)
162                  return 2 * quant;                  return (int8_t)(2 * quant);
163    
164          if (quant < 25)          if (quant < 25)
165                  return quant + 8;                  return (int8_t)(quant + 8);
166    
167          if (lum)          if (lum)
168                  return 2 * quant - 16;                  return (int8_t)(2 * quant - 16);
169          else          else
170                  return quant - 6;                  return (int8_t)(quant - 6);
171  }  }
172    
173  /* useful macros */  /* useful macros */

Legend:
Removed from v.677  
changed lines
  Added in v.971

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