[xiph-commits] r18667 - trunk/cronus/src/com/meviatronic/zeus/pollux

mike at svn.xiph.org mike at svn.xiph.org
Sat Oct 20 15:48:27 PDT 2012


Author: mike
Date: 2012-10-20 15:48:27 -0700 (Sat, 20 Oct 2012)
New Revision: 18667

Modified:
   trunk/cronus/src/com/meviatronic/zeus/pollux/VideoReader.java
Log:
Fixed a problem in computeQuantizationMatrix:
for (ci = 0; ci < 64; ci++) {
  qmin = 16;

instead of:

for (ci = 0, qmin = 16; ci < 64; ci++) {
  qmin = 16;


Modified: trunk/cronus/src/com/meviatronic/zeus/pollux/VideoReader.java
===================================================================
--- trunk/cronus/src/com/meviatronic/zeus/pollux/VideoReader.java	2012-10-14 23:50:15 UTC (rev 18666)
+++ trunk/cronus/src/com/meviatronic/zeus/pollux/VideoReader.java	2012-10-20 22:48:27 UTC (rev 18667)
@@ -378,7 +378,8 @@
 		short[] bmsPointer = bms[bmi];
 		short[] bmsPointer1 = bms[bmj];
 		
-		for (ci = 0, qmin = 16; ci < 64; ci++) {
+		for (ci = 0; ci < 64; ci++) {
+			qmin = 16;
 			bmci = (2 * (qiEnd - qi) * bmsPointer[ci] + 2 * (qi - qiStart) * bmsPointer1[ci] + qrSizesValue) / (2 * qrSizesValue);
 			if (ci > 0 && qti == 0) {
 				qmin = 8;



More information about the commits mailing list