Opened 11 years ago

Last modified 11 years ago

#1038 closed enhancement

bitstream check when termination bin is 1 — at Version 2

Reported by: PhuongNguyen Owned by:
Priority: minor Milestone: HM-11.0
Component: HM Version: HM-10.0
Keywords: Cc: fbossen, ksuehring, davidf, jct-vc@…

Description (last modified by ksuehring)

I would like to add the following check when termination bin (end_of_slice_segment_flag, pcm_flag and end_of_sub_stream_one_bit) is 1 in the function

Void TDecBinCABAC::decodeBinTrm( UInt& ruiBin )
{
  m_uiRange -= 2;
  UInt scaledRange = m_uiRange << 7;
  if( m_uiValue >= scaledRange )
  {
    ruiBin = 1;
    assert ((m_uiValue >> 7) & 1);
    UInt numBits = m_pcTComBitstream->getNumBitsUntilByteAligned();
    if(numBits)
    {
      assert(numBits <= m_pcTComBitstream->getNumBitsLeft());
      UInt code;
      m_pcTComBitstream->pseudoRead( numBits, code );
      assert(code == 0);
    }
  }
  else
...

Change History (2)

comment:1 Changed 11 years ago by DefaultCC Plugin

  • Cc fbossen ksuehring davidf jct-vc@… added

comment:2 Changed 11 years ago by ksuehring

  • Description modified (diff)
  • Priority changed from major to minor
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, Participant, Always)