Opened 3 years ago

Closed 3 years ago

#291 closed defect (fixed)

MIsmatch with spec on locSumAbsPass1 derivation for abs_level_gtx_flag and par_level_flag

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


Vtm derivates variables needed to derive locSumAbsPass1 (m_tmplCpDiag and m_tmplCpSum1) only once for sig_coeff_flag, and save this value for the listed syntax element.
However sig_coeff_flag is not always parsed, and this causes a mismatch when its value is inferred.
Indeed, in this case, vtm infers ctxInc to (cIdx == 0 ? 0 : 21) if no sig_coeff_flag have been parsed in the TU, else it uses the previous ctxInc use for the syntax element.

The spec recalculate the value of locSumAbsPass1 according to the inferred value of sig_coeff_flag.

Change history (2)

comment:1 Changed 3 years ago by schwarz

I submitted a merge request that fixes this issue (no impact on coding efficiency):

comment:2 Changed 3 years ago by XiangLi

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