[svn] / branches / release-1_3-branch / xvidcore / src / quant / quant_matrix.c Repository:
ViewVC logotype

Diff of /branches/release-1_3-branch/xvidcore/src/quant/quant_matrix.c

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

revision 1713, Mon Jul 10 08:09:59 2006 UTC revision 1795, Wed Nov 26 01:04:34 2008 UTC
# Line 20  Line 20 
20   *  along with this program ; if not, write to the Free Software   *  along with this program ; if not, write to the Free Software
21   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
22   *   *
23   * $Id: quant_matrix.c,v 1.15 2006-07-10 08:09:59 syskin Exp $   * $Id: quant_matrix.c,v 1.16 2008-11-26 01:04:34 Isibaar Exp $
24   *   *
25   ****************************************************************************/   ****************************************************************************/
26    
# Line 127  Line 127 
127    
128          for (i = 0; i < 64; i++) {          for (i = 0; i < 64; i++) {
129                  uint32_t div = intra_matrix[i]*quant;                  uint32_t div = intra_matrix[i]*quant;
130                  intra_matrix_rec[i] = ((1<<SCALEBITS) + (div>>1))/div;                  intra_matrix_rec[i] = ((uint32_t)((1<<SCALEBITS) + (div>>1)))/div;
131          }          }
132  }  }
133    

Legend:
Removed from v.1713  
changed lines
  Added in v.1795

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