Opened 12 years ago Closed 12 years ago #930 closed defect (fixed)"short_term_ref_pic_set_idx" is undefined when Ceil(Log2(num_short_term_ref_pic_sets)) is equal to 0.
Description
In the WD, "short_term_ref_pic_set_idx" is undefined when Ceil(Log2(num_short_term_ref_pic_sets)) is equal to 0.
For reference, in HM9.1 TDecCavlc::parseSliceHeader(), "short_term_ref_pic_set_idx" is defined bellow;
if (numBits > 0)
else
} Change History (3)comment:1 Changed 12 years ago by DefaultCC Plugin
comment:2 Changed 12 years ago by ykcomment:3 Changed 12 years ago by bbross
Fixed in JCTVC-L0030. 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
|
This looks like a bug indeed. The same bug applies to the syntax element lt_idx_sps[ i ].
I think the right fixes should be similar to what was agreed at the Shanghai meeting for sending of list_entry_l0[ i ] and list_entry_l1[ i ] only when NumPocTotalCurr > 1.
Thus, the syntax should be changed to:
...
if( !short_term_ref_pic_set_sps_flag )
else if( num_short_term_ref_pic_sets > 1 )
...
...
And in the semantics, add what was suggested by tajime, for both short_term_ref_pic_set_idx and lt_idx_sps[ i ].