Opened 13 years ago Last modified 12 years ago #1038 closed enhancementbitstream check when termination bin is 1 — at Version 2
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 13 years ago by DefaultCC Plugin
comment:2 Changed 13 years ago by ksuehring
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
| ||||||||||||||||