diff --git a/source/Lib/CommonLib/UnitTools.cpp b/source/Lib/CommonLib/UnitTools.cpp
index e73eea3..33a1f96 100644
a
|
b
|
bool PU::addMergeHMVPCand(const Slice &slice, MergeCtx& mrgCtx, bool isCandInter |
777 | 777 | miNeighbor = slice.getMotionInfoFromLUTs(num_avai_candInLUT - mrgIdx); |
778 | 778 | #endif |
779 | 779 | mrgCtx.interDirNeighbours[cnt] = miNeighbor.interDir; |
780 | | #if JVET_M0264_HMVP_WITH_GBIIDX |
781 | | mrgCtx.GBiIdx[cnt] = (mrgCtx.interDirNeighbours[cnt] == 3) ? miNeighbor.GBiIdx: GBI_DEFAULT; |
782 | | #endif |
783 | 780 | mrgCtx.mvFieldNeighbours[cnt << 1].setMvField(miNeighbor.mv[0], miNeighbor.refIdx[0]); |
784 | 781 | if (slice.isInterB()) |
785 | 782 | { |
… |
… |
bool PU::addMergeHMVPCand(const Slice &slice, MergeCtx& mrgCtx, bool isCandInter |
796 | 793 | if(mmvdList != 0 && mrgCandIdx != -1) |
797 | 794 | mrgCandIdxIBC++; |
798 | 795 | } |
| 796 | #if JVET_M0264_HMVP_WITH_GBIIDX |
| 797 | mrgCtx.GBiIdx[cnt] = (mrgCtx.interDirNeighbours[cnt] == 3) ? miNeighbor.GBiIdx: GBI_DEFAULT; |
| 798 | #endif |
799 | 799 | if (mrgCandIdxIBC == cnt && canFastExit) |
800 | 800 | { |
801 | 801 | return true; |