ref: 49df436616e734a4338fca872e174ff037203f4a
parent: cad753d87126cbc818dbfa2ee416547774d30e43
author: wayne liu <wayne@ubuntu-wayne.(none)>
date: Mon Mar 31 16:20:15 EDT 2014
fix bug of assign data
--- a/test/decoder/DecUT_PredMv.cpp
+++ b/test/decoder/DecUT_PredMv.cpp
@@ -145,7 +145,7 @@
}
}
-void CopyMvInputData (SAnchorMvPred* pDstMvPred, SWelsMvPred* pSrcMvPred) {
+void CopyMvInputData (SWelsMvPred* pDstMvPred, SAnchorMvPred* pSrcMvPred) {
int32_t i, j, k;
//fill MV data and refIdx
for (i = 0; i < 2; ++i) {
@@ -160,7 +160,7 @@
#define INIT_MV_DATA \
AssignMvInputData (&sAncMvPred); \
- CopyMvInputData (&sAncMvPred, &sWelsMvPred);
+ CopyMvInputData (&sWelsMvPred, &sAncMvPred);
#define TEST_MV_PRED \
AnchorPredMv (sAncMvPred.iMvArray, sAncMvPred.iRefIdxArray, iIndex, iBlockWidth, iRef, sAncMvPred.iMvp); \