[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.2.1, Fri Apr 4 22:12:07 2003 UTC
# 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.1.17  
changed lines
  Added in v.1.18.2.1

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