Commit ce31afe4 authored by Xiaozhong Xu's avatar Xiaozhong Xu
Browse files

bug fix

parent 3a668d9c
......@@ -827,8 +827,8 @@ void DecCu::xDeriveCUMV( CodingUnit &cu )
const int picWidth = pu.cs->slice->getSPS()->getPicWidthInLumaSamples();
const int picHeight = pu.cs->slice->getSPS()->getPicHeightInLumaSamples();
const unsigned int lcuWidth = pu.cs->slice->getSPS()->getMaxCUWidth();
int xPred = pu.bv.getHor();
int yPred = pu.bv.getVer();
int xPred = pu.mv[0].getHor()>>4;
int yPred = pu.mv[0].getVer()>>4;
CHECK(!PU::isBlockVectorValid(pu, cuPelX, cuPelY, roiWidth, roiHeight, picWidth, picHeight, 0, 0, xPred, yPred, lcuWidth), "invalid block vector for IBC detected.");
}
}
......
Supports Markdown
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