Commit 1cd9938e authored by David Flynn's avatar David Flynn
Browse files

m42239/geometry: fix missing neighbourhood check for idcm eligibility

The original integration of IDCM implemented only the parent based
eligibility check of m42239 and erroneously omitted the six-neighbour

This commit adds the six-neighbour check, making use of the neighbour
calculation from m42239 neighbour contextualised coding of occupancy.
parent c4cd4b27
......@@ -323,7 +323,7 @@ isDirectModeEligible(
bool featureEnabled,
int nodeSizeLog2, const PCCOctree3Node& node, const PCCOctree3Node& child
) {
return featureEnabled && (nodeSizeLog2 >= 2)
return featureEnabled && (nodeSizeLog2 >= 2) && (node.neighPattern == 0)
&& (child.numSiblingsPlus1 == 1) && (node.numSiblingsPlus1 <= 2);
  • There are the players have to like this blog online here you can need just look free vbucks online game forever here so seen the site hurry to more enjoyments forever here thanks.

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