diff --git a/source/Lib/CommonLib/UnitTools.cpp b/source/Lib/CommonLib/UnitTools.cpp
index 3c74b9e..71bab37 100644
|
a
|
b
|
void PU::fillMvpCand(PredictionUnit &pu, const RefPicList &eRefPicList, const in |
| 2359 | 2359 | if (pu.cu->imv != 0) |
| 2360 | 2360 | { |
| 2361 | 2361 | unsigned imvShift = pu.cu->imv << 1; |
| | 2362 | #if REMOVE_MV_ADAPT_PREC |
| | 2363 | imvShift += VCEG_AZ07_MV_ADD_PRECISION_BIT_FOR_STORE; |
| | 2364 | #endif |
| 2362 | 2365 | roundMV(cColMv, imvShift); |
| 2363 | 2366 | } |
| 2364 | 2367 | int i = 0; |
| … |
… |
void PU::addAMVPHMVPCand(const PredictionUnit &pu, const RefPicList eRefPicList, |
| 3152 | 3155 | MotionInfo neibMi; |
| 3153 | 3156 | int i = 0; |
| 3154 | 3157 | unsigned imvShift = imv << 1; |
| | 3158 | #if REMOVE_MV_ADAPT_PREC |
| | 3159 | imvShift += VCEG_AZ07_MV_ADD_PRECISION_BIT_FOR_STORE; |
| | 3160 | #endif |
| 3155 | 3161 | |
| 3156 | 3162 | int num_avai_candInLUT = slice.getAvailableLUTMrgNum(); |
| 3157 | 3163 | int num_allowedCand = std::min(MAX_NUM_HMVP_AVMPCANDS, num_avai_candInLUT); |