Commit 59cf59f3 authored by Xiang Li's avatar Xiang Li
Browse files

Merge branch 'N0407-DMVR-CU-SIZE-RESTRICTION' into 'master'

JVET-N0407: Disable 4xN/8x8 CUs for DMVR.

See merge request jvet/VVCSoftware_VTM!447
parents 72816a6f c8f1512e
......@@ -103,6 +103,8 @@
#define JVET_N0178_IMPLICIT_BDOF_SPLIT 1
#define JVET_N0383_N0251_IBC_COL_VPDU_REMOVE 1
#define JVET_N0407_DMVR_CU_SIZE_RESTRICTION 1 // Disable 4xN/8x8 CUs for DMVR
#define JCTVC_Y0038_PARAMS 1
#define JVET_MMVD_OFF_MACRO 0
......
......@@ -1926,7 +1926,12 @@ bool PU::checkDMVRCondition(const PredictionUnit& pu)
&& !pu.cu->mmvdSkip
&& PU::isBiPredFromDifferentDirEqDistPoc(pu)
&& (pu.lheight() >= 8)
#if JVET_N0407_DMVR_CU_SIZE_RESTRICTION
&& (pu.lwidth() >= 8)
&& ((pu.lheight() * pu.lwidth()) >= 128)
#else
&& ((pu.lheight() * pu.lwidth()) >= 64)
#endif
;
}
else
......
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