ref: d78f8c7ed8beec0d6d0680bc90cb2686a873e051
parent: 6854e06796aa285c4d22f0e10489d511f9e5f9e2
author: Licai Guo <[email protected]>
date: Sun Feb 23 19:27:33 EST 2014
fix int conversion warning, using LD32/ST32
--- a/codec/decoder/core/src/mv_pred.cpp
+++ b/codec/decoder/core/src/mv_pred.cpp
@@ -212,13 +212,13 @@
int16_t iAMV[2], iBMV[2], iCMV[2];
- * (int32_t*)iAMV = INTD32 (iMotionVector[0][ kuiLeftIdx]);
- * (int32_t*)iBMV = INTD32 (iMotionVector[0][ kuiTopIdx]);
- * (int32_t*)iCMV = INTD32 (iMotionVector[0][kuiRightTopIdx]);
+ ST32 (iAMV, LD32 (iMotionVector[0][ kuiLeftIdx]));
+ ST32 (iBMV, LD32 (iMotionVector[0][ kuiTopIdx]));
+ ST32 (iCMV, LD32 (iMotionVector[0][kuiRightTopIdx]));
if (REF_NOT_AVAIL == iDiagonalRef) {
iDiagonalRef = kiLeftTopRef;
- * (int32_t*)iCMV = INTD32 (iMotionVector[0][kuiLeftTopIdx]);
+ ST32 (iCMV, LD32 (iMotionVector[0][kuiLeftTopIdx]));
}
iMatchRef = (iRef == kiLeftRef) + (iRef == kiTopRef) + (iRef == iDiagonalRef);