ref: 35d921ba9803422ec0c7b5bd53a5d0530388783e
parent: fcf345c20eed7664cce50d9fdd03b88ef093b4aa
parent: c25a899942b00de6b2ecddcef6d6fe92b10838f5
author: ruil2 <ruil2@cisco.com>
date: Fri Apr 28 06:50:34 EDT 2017
Merge pull request #2733 from huili2/weight_pred_bugfix bugfix of weight prediction
--- a/codec/decoder/core/src/rec_mb.cpp
+++ b/codec/decoder/core/src/rec_mb.cpp
@@ -294,8 +294,8 @@
//UV
- iBlkWidth = iBlkWidth >> 2;
- iBlkHeight = iBlkHeight >> 2;
+ iBlkWidth = iBlkWidth >> 1;
+ iBlkHeight = iBlkHeight >> 1;
iLog2denom = pCurDqLayer->pPredWeightTable->uiChromaLog2WeightDenom;
iLineStride = pMCRefMem->iDstLineChroma;