Opened 12 years ago

Closed 12 years ago

#931 closed defect (fixed)

incorrect parsing of lt_idx_sps if num_long_term_ref_pics_sps == 1

Reported by: stefane Owned by:
Priority: minor Milestone: HM-9.2
Component: HM Version: HM-9.1
Keywords: Cc: fbossen, ksuehring, davidf, jct-vc@…

Description

According to the spec, if num_long_term_ref_pics_sps == 1, parsing lt_idx_sps should consume Ceil( Log2( 1 ) ) = 0 bits.
In HM, lt_idx_sps consumes 1 bit if num_long_term_ref_pics_sps == 1.

        Int bitsForLtrpInSPS = 1;
        while (rpcSlice->getSPS()->getNumLongTermRefPicSPS() > (1 << bitsForLtrpInSPS))
        {
          bitsForLtrpInSPS++;
        }

Parsing of lt_idx_sps should probably use code equivalent to that for parsing short_term_ref_pic_set_idx.

Change History (2)

comment:1 Changed 12 years ago by DefaultCC Plugin

  • Cc fbossen ksuehring davidf jct-vc@… added

comment:2 Changed 12 years ago by fbossen

  • Milestone set to HM-9.2
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r3172

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

  • David Flynn(Subscriber)
  • Frank Bossen(Subscriber, Participant)
  • jct-vc@…(Subscriber)
  • karl.sharman@…(Always)
  • Karsten Suehring(Subscriber, Always)