Opened 8 years ago

Closed 6 years ago

#1454 closed enhancement (fixed)

ambiguous formula

Reported by: kolya Owned by:
Priority: minor Milestone: v5
Component: Text Version: v4 (12/2016)
Keywords: Cc: bbross, wjhan, jct-vc@…

Description

The (8-5) is:

pocLt += PicOrderCntVal − DeltaPocMsbCycleLt[ i ] * MaxPicOrderCntLsb − PicOrderCntVal & ( MaxPicOrderCntLsb − 1 )

If reader assumes arithmetic operations are of higher priority than bitwise &, line in C/C++, then formula contains somewhat strange PicOrderCntVal- PicOrderCntVal.

Change History (5)

comment:1 follow-up: Changed 8 years ago by yk

Thanks! You are right, it should be corrected:

PicOrderCntVal & ( MaxPicOrderCntLsb − 1 ) should be changed to ( PicOrderCntVal & ( MaxPicOrderCntLsb − 1 ) )

comment:2 in reply to: ↑ 1 Changed 8 years ago by kolya

There is one more possible issue.

It seems it is not possible (but me had not found any explicit constraint in the spec) to refer from POC=15 to POC=16 in a long-term sense, coz (8-5) will compute POC=0 as a reference, not 16.

Could you clarify is there any explicit text on this?

Replying to yk:

Thanks! You are right, it should be corrected:

PicOrderCntVal & ( MaxPicOrderCntLsb − 1 ) should be changed to ( PicOrderCntVal & ( MaxPicOrderCntLsb − 1 ) )

comment:3 Changed 7 years ago by yk

Regarding the following:

"It seems it is not possible (but me had not found any explicit constraint in the spec) to refer from POC=15 to POC=16 in a long-term sense, coz (8-5) will compute POC=0 as a reference, not 16. Could you clarify is there any explicit text on this?"

The description is not clear to me. Could you explain in more detail?

comment:4 Changed 7 years ago by bbross

  • Milestone set to v5
  • Version set to v4 (12/2016)

comment:5 Changed 6 years ago by bbross

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

This list contains all users that will be notified about changes made to this ticket.

These roles will be notified: Reporter, Owner, Subscriber, Participant

  • Benjamin Bross(Subscriber, Participant)
  • jct-vc@…(Subscriber)
  • karl.sharman@…(Always)
  • Karsten Suehring(Always)
  • Nikolay Shlyakhov(Reporter, Participant)
  • Woo-Jin Han(Subscriber)
  • Ye-Kui Wang(Participant)