Skip to content
Snippets Groups Projects
Commit 76ad7ee5 authored by Xiang Li's avatar Xiang Li
Browse files

Merge branch 'Ticket405' into 'master'

Fix the Ticket #405 : Simplified BCW inheritance assigns BCW index to non-bipred CUs

See merge request jvet/VVCSoftware_VTM!827
parents ede5e0bb b6afafc5
No related branches found
No related tags found
No related merge requests found
...@@ -3145,7 +3145,11 @@ void PU::getAffineControlPointCand(const PredictionUnit &pu, MotionInfo mi[4], i ...@@ -3145,7 +3145,11 @@ void PU::getAffineControlPointCand(const PredictionUnit &pu, MotionInfo mi[4], i
} }
affMrgType.interDirNeighbours[affMrgType.numValidMergeCand] = dir; affMrgType.interDirNeighbours[affMrgType.numValidMergeCand] = dir;
affMrgType.affineType[affMrgType.numValidMergeCand] = curType; affMrgType.affineType[affMrgType.numValidMergeCand] = curType;
#if JVET_O0366_AFFINE_BCW
affMrgType.GBiIdx[affMrgType.numValidMergeCand] = (dir == 3) ? gbiIdx : GBI_DEFAULT;
#else
affMrgType.GBiIdx[affMrgType.numValidMergeCand] = gbiIdx; affMrgType.GBiIdx[affMrgType.numValidMergeCand] = gbiIdx;
#endif
affMrgType.numValidMergeCand++; affMrgType.numValidMergeCand++;
......
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