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

Diff of /xvidcore/src/global.h

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

revision 1.17, Tue Nov 26 23:44:10 2002 UTC revision 1.18, Sun Dec 15 01:21:12 2002 UTC
# Line 155  Line 155 
155                  return 8;                  return 8;
156    
157          if (quant < 25 && !lum)          if (quant < 25 && !lum)
158                  return (quant + 13) / 2;                  return (int8_t)((quant + 13) / 2);
159    
160          if (quant < 9)          if (quant < 9)
161                  return 2 * quant;                  return (int8_t)(2 * quant);
162    
163          if (quant < 25)          if (quant < 25)
164                  return quant + 8;                  return (int8_t)(quant + 8);
165    
166          if (lum)          if (lum)
167                  return 2 * quant - 16;                  return (int8_t)(2 * quant - 16);
168          else          else
169                  return quant - 6;                  return (int8_t)(quant - 6);
170  }  }
171    
172  /* useful macros */  /* useful macros */

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

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