Commit f4593572 authored by Xiang Li's avatar Xiang Li

Fix ticket #140 inconsistent results when CPR is on.

parent 45463a41
...@@ -768,9 +768,9 @@ int InterSearch::xCPRSearchMVChromaRefine(PredictionUnit& pu, ...@@ -768,9 +768,9 @@ int InterSearch::xCPRSearchMVChromaRefine(PredictionUnit& pu,
tempSad = sadBestCand[cand]; tempSad = sadBestCand[cand];
Mv cMvQuaterPixl = cMVCand[cand]; Mv mvFullPrecision = cMVCand[cand];
cMvQuaterPixl <<= 2; mvFullPrecision <<= ( 2 + VCEG_AZ07_MV_ADD_PRECISION_BIT_FOR_STORE);
pu.mv[0] = cMvQuaterPixl; pu.mv[0] = mvFullPrecision;
pu.interDir = 1; pu.interDir = 1;
pu.refIdx[0] = pu.cs->slice->getNumRefIdx(REF_PIC_LIST_0) - 1; // last idx in the list pu.refIdx[0] = pu.cs->slice->getNumRefIdx(REF_PIC_LIST_0) - 1; // last idx in the list
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment