Opened 4 years ago

Closed 4 years ago

#1309 closed defect (fixed)

BcwIdx used before it is assigned

Reported by: bheng Owned by:
Priority: minor Milestone:
Component: spec Version: VVC D10 vE
Keywords: Cc: ksuehring, bbross, XiangLi, fbossen, jvet@…

Description

I believe all uses of the variable BcwIdx[ ][ ] occur before this variable is ever set.

Specifically, BcwIdx is not set until Eq 894, Section 8.5.6.1.

BcwIdx[ xSb + x ][ ySb + y ] = bcwIdx (894)

However, BcwIdx is used several times before 8.5.6.1 is invoked. And BcwIdx is even used earlier within 8.5.6.1 before Eq 894.

Change history (2)

comment:1 Changed 4 years ago by jlchen

Good catch, Brian.

Basically, in the spec text, the value of BcwIdx[ xSb + x ][ ySb + y ] should be only used for the derivation of bcwIdx for future CU decoding, not for the decoding process of the current CU. Two places which use "BcwIdx[ xCb ][ yCb ] for decoding process should be replaced with local variable bcwIdx, which was derived before it's used.

comment:2 Changed 4 years ago by jlchen

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