Skip to content

Fix: Use template size in getIBCAMLRefTemplate()

Han Huang requested to merge hanhuang/ECM:IbcAmlFix into master

In the non-flipping IBC case, the function uses current block's width and height instead of template's for the validity check. The following in checkIsIBCCandidateValid() should be applied regardless of flipping type. int roiWidth = (isRefTemplate && !isRefAbove) ? AML_MERGE_TEMPLATE_SIZE : pu.lwidth(); int roiHeight = (isRefTemplate && isRefAbove) ? AML_MERGE_TEMPLATE_SIZE : pu.lheight();

Merge request reports

Loading