Opened 5 years ago

Closed 5 years ago

#114 closed defect (fixed)

Decoder does not work with SubPuMvp=0

Reported by: abe.kiyo Owned by:
Priority: minor Milestone: VTM-3.0
Component: VTM Version: VTM-3.0rc1
Keywords: ATMVP, SubPuMvp Cc: ksuehring, XiangLi, fbossen, jvet@…

Description

<Problem>
The decoder can't decode a stream created with configure file setting SubPuMvp=0.

<Suggestion of Bug Fix>
Current:
pcSlice->setMaxNumMergeCand(MRG_MAX_NUM_CANDS - uiCode - ( sps->getSpsNext().getUseSubPuMvp() ? 0 : 2 ) );

Fixed:
pcSlice->setMaxNumMergeCand(MRG_MAX_NUM_CANDS - uiCode );

Change history (4)

comment:1 Changed 5 years ago by abe.kiyo

I have updated my suggestion of Bug Fix.

<Suggestion of Bug Fix>
Current:
pcSlice->setMaxNumMergeCand(MRG_MAX_NUM_CANDS - uiCode - ( sps->getSpsNext().getUseSubPuMvp() ? 0 : 2 ) );

Fixed:
#if JVET_L0369_SUBBLOCK_MERGE
pcSlice->setMaxNumMergeCand(MRG_MAX_NUM_CANDS - uiCode );
#else
pcSlice->setMaxNumMergeCand(MRG_MAX_NUM_CANDS - uiCode - ( sps->getSpsNext().getUseSubPuMvp() ? 0 : 2 ) );
#endif

comment:2 Changed 5 years ago by ksuehring

  • Version set to VTM-3.0rc1

comment:3 Changed 5 years ago by fbossen

comment:4 Changed 5 years ago by XiangLi

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