Commit a86ab09c authored by Karsten Suehring's avatar Karsten Suehring

Merge branch 'fix_ticket140' into 'master'

Fix ticket #140 inconsistent results when CPR is on

See merge request !139
parents 45463a41 f4593572
Pipeline #474 passed with stage
......@@ -768,9 +768,9 @@ int InterSearch::xCPRSearchMVChromaRefine(PredictionUnit& pu,
tempSad = sadBestCand[cand];
Mv cMvQuaterPixl = cMVCand[cand];
cMvQuaterPixl <<= 2;
pu.mv[0] = cMvQuaterPixl;
Mv mvFullPrecision = cMVCand[cand];
mvFullPrecision <<= ( 2 + VCEG_AZ07_MV_ADD_PRECISION_BIT_FOR_STORE);
pu.mv[0] = mvFullPrecision;
pu.interDir = 1;
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