Opened 9 years ago

Closed 9 years ago

#85 closed defect (fixed)

Wrong NumViews derivation

Reported by: Tomohiro Ikai Owned by: Vadim
Priority: minor Milestone: SHM-11.0
Component: SHM software Version: SHM-10.0
Keywords: Cc: Vadim, jct-vc@…

Description

NumView derivation seems not correct. The current code recognized 6 views when there is only 3 views. I found this bug when decoding the bitstream in http://wftp3.itu.int/av-arch/jct3v-site/bitstream_exchange/under_test/MV-HEVC/MVHEVCS_I_Nokia_2.zip (but some additional workaround is needed for testing with the bistream)

The current code in getNumViews() [TComSlice.cpp]

Int lId = m_layerIdInNuh[i];
if( i > 0 && ( getViewIndex( lId ) != getScalabilityId( i - 1, VIEW_ORDER_INDEX ) ) )
{

numViews++;

}

should be replaced with

Int lId = m_layerIdInNuh[i];
if ( i > 0 )
{

Bool newViewFlag = true;
for( Int j = 0; j < i; j++ )
{

if( getViewIndex( lId ) == getScalabilityId( getLayerIdInNuh(j), VIEW_ORDER_INDEX ) )
{

newViewFlag = false;

}

}
if( newViewFlag )
{

numViews++;

}

}

Change history (1)

comment:1 Changed 9 years ago by Vadim

  • Resolution set to fixed
  • Status changed from new to closed

fixed with rev 1455

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

  • Gerhard Tech(Always)
  • jct-vc@…(Subscriber)
  • Karsten Suehring(Always)
  • Tomohiro Ikai(Reporter)
  • Vadim Seregin(Owner, Subscriber, Participant)