[xiph-commits] r18677 - trunk/cronus/src/com/meviatronic/zeus/pollux
mike at svn.xiph.org
mike at svn.xiph.org
Sat Oct 27 18:33:37 PDT 2012
Author: mike
Date: 2012-10-27 18:33:37 -0700 (Sat, 27 Oct 2012)
New Revision: 18677
Modified:
trunk/cronus/src/com/meviatronic/zeus/pollux/TheoraDecoder.java
Log:
Fixed a small bug affecting chroma444 together with mbMode INTER_MV_FOUR (7), chroma 422 was surprisingly ok without any testing
Modified: trunk/cronus/src/com/meviatronic/zeus/pollux/TheoraDecoder.java
===================================================================
--- trunk/cronus/src/com/meviatronic/zeus/pollux/TheoraDecoder.java 2012-10-27 00:19:55 UTC (rev 18676)
+++ trunk/cronus/src/com/meviatronic/zeus/pollux/TheoraDecoder.java 2012-10-28 01:33:37 UTC (rev 18677)
@@ -948,15 +948,16 @@
}
}
- mVectsChroma1PointerArray = mVectsPointer[4];
-
if (chromaFormat == CHROMA420) {
+ mVectsChroma1PointerArray = mVectsPointer[4];
+
sum = sumABx + sumCDx;
mVectsChroma1PointerArray[0] = (byte) ((sum + (sum < 0 ? -2 : 2)) / 4);
sum = sumABy + sumCDy;
mVectsChroma1PointerArray[1] = (byte) ((sum + (sum < 0 ? -2 : 2)) / 4);
} else if (chromaFormat == CHROMA422) {
+ mVectsChroma1PointerArray = mVectsPointer[4];
mVectsChroma2PointerArray = mVectsPointer[5];
mVectsChroma1PointerArray[0] = (byte) ((sumABx + (sumABx < 0 ? -1 : 1)) / 2);
More information about the commits
mailing list