Opened 12 years ago

Last modified 12 years ago

#1038 closed enhancement

bitstream check when termination bin is 1 — at Initial Version

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

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 (0)

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)