Opened 6 years ago

Closed 6 years ago

#104 closed defect (fixed)

Incorrect position derivation In setMaxMinDepth()

Reported by: yjpiao Owned by:
Priority: minor Milestone: VTM-3.0
Component: VTM Version:
Keywords: Cc: ksuehring, XiangLi, fbossen, jvet@…

Description

cuBelowLeft and cuAboveRight are incorrectly derived by accessing wrong positions.

Current:
const CodingUnit* cuBelowLeft = cs.getCURestricted( pos.offset( -1, cs.pcv->minCUHeight >> ...........)
const CodingUnit* cuAboveRight = cs.getCURestricted( pos.offset( cs.pcv->minCUWidth >> ..............)

Should be fixed as:
cs.pcv->minCUHeight --> currArea().blocks[chType].height
cs.pcv->minCUWidth --> currArea().blocks[chType].width

Since setMaxMinDepth() is used only for encoder optimization, the change is non-normative and provides ~0.05% gain.

Change history (1)

comment:1 Changed 6 years ago by fbossen

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.