[cvs] / xvidcore / src / quant / quant_mpeg.c Repository:
ViewVC logotype

Diff of /xvidcore/src/quant/quant_mpeg.c

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

revision 1.3, Mon Jul 10 08:09:59 2006 UTC revision 1.4, Wed Nov 26 01:04:34 2008 UTC
# Line 81  Line 81 
81          coeff[0] = DIV_DIV(data[0], (int32_t) dcscalar);          coeff[0] = DIV_DIV(data[0], (int32_t) dcscalar);
82    
83          for (i = 1; i < 64; i++) {          for (i = 1; i < 64; i++) {
84                  int level = data[i];                  int32_t level = data[i];
85                  level *= intra_matrix_rec[i];                  level *= intra_matrix_rec[i];
86                  level = (level + rounding)>>(SCALEBITS-3);                  level = (level + rounding)>>(SCALEBITS-3);
87                  coeff[i] = level;                  coeff[i] = level;

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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