Commit dd47359e authored by Yu Han's avatar Yu Han
Browse files

JVET_N0317_ADD_ZERO_BV

parent 09cc4772
......@@ -50,6 +50,8 @@
#include <assert.h>
#include <cassert>
#define JVET_N0317_ADD_ZERO_BV 1
#define JVET_N0462_FIX_CTX_MODELING 1 // Fix context modeling of inter_pred_idc
#define JVET_N0286_SIMPLIFIED_GBI_IDX 1 // Simplified coding of the GBi index
......
......@@ -1323,6 +1323,19 @@ void PU::getIBCMergeCandidates(const PredictionUnit &pu, MergeCtx& mrgCtx, const
}
#endif
#if JVET_N0317_ADD_ZERO_BV
while (cnt < maxNumMergeCand)
{
mrgCtx.mvFieldNeighbours[cnt * 2].setMvField(Mv(0, 0), MAX_NUM_REF);
mrgCtx.interDirNeighbours[cnt] = 1;
cnt++;
if (mrgCandIdx == cnt && canFastExit)
{
return;
}
}
#endif
mrgCtx.numValidMergeCand = cnt;
}
......
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