Skip to content
Snippets Groups Projects
Commit 8522f017 authored by Tangi Poirier's avatar Tangi Poirier Committed by Vadim Seregin
Browse files

Fix issue #40: propagation of intra modes for IBC blocks

parent 3b135899
No related branches found
No related tags found
1 merge request!387Fix issue #40: propagation of intra modes for IBC blocks
......@@ -16766,12 +16766,8 @@ void PU::spanIpmInfoIBC( PredictionUnit &pu, IpmBuf &ib, int bvx, int bvy )
PosY.y = pu.Y().y + bvy;
PosY.x = (PosY.x & mask);
PosY.y = (PosY.y & mask);
CodingStructure *cs = pu.cs;
while (cs != NULL && !cs->area.Y().contains(PosY))
{
cs = cs->parent;
}
const uint8_t ipm = cs ? cs->getIpmInfo(PosY) : 0;
const PredictionUnit* puTarget = pu.cs->getPURestricted(PosY, pu, pu.chType);
const uint8_t ipm = puTarget ? puTarget->getIpmInfo(PosY) : 0;
for (int y = 0; y < ibH; y++)
{
for (int x = 0; x < ibW; x++)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment