Commit 620d892c authored by Frank Bossen's avatar Frank Bossen

Merge branch 'JVET-O0590-DMVR-Refinement' into 'master'

Integration of JVET-O0590

See merge request jvet/VVCSoftware_VTM!645
parents cdf3f9b5 18b80dd0
Pipeline #1814 passed with stage
......@@ -1842,6 +1842,9 @@ void InterPrediction::xProcessDMVR(PredictionUnit& pu, PelUnitBuf &pcYuvDst, con
if (i == 0)
{
minCost = xDMVRCost(clpRngs.comp[COMPONENT_Y].bd, addrL0, m_biLinearBufStride, addrL1, m_biLinearBufStride, dx, dy);
#if JVET_O0590_REDUCE_DMVR_ORIG_MV_COST
minCost -= (minCost >>2);
#endif
if (minCost < ((4 * dx * (dy >> 1/*for alternate line*/))))
{
notZeroCost = false;
......
......@@ -50,6 +50,7 @@
#include <assert.h>
#include <cassert>
#define JVET_O0590_REDUCE_DMVR_ORIG_MV_COST 1 // Reduce the DMVR cost of the original MV
#define JVET_O0429_CRS_LAMBDA_FIX 1 // JVET-O0429: fix encoder lambda rounding used in CRS
......
Markdown is supported
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