Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#8 closed defect (fixed)

Bug in All Intra configuration with inter-layer prediction disabled

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

Description

Encoder crashes in all intra configuration due to wrong slice type while encoding enhancement layers when inter-layer prediction is disabled.

SHM2.0 was able to code all intra but the problem occurs in SHM3.0.1 and SHM4.0.

Below piece of code in initEncSlice function, TEncSlice.cpp line 431, sets the slice type of enhancement layers to B_SLICE.

#if SVC_EXTENSION

if(m_pcCfg->getLayerId() > 0)
{

eSliceType=B_SLICE;

}

#endif

In SHM2.0, some later process was correcting the slice type, however in the later versions of the software, slice type is not set correctly. The issue is resolved by changing the code as:

if(m_pcCfg->getLayerId() > 0 && m_pcCfg->getNumActiveRefLayers()>0)
{

eSliceType=B_SLICE;

}

But I am not sure whether it should be corrected at this stage or at a later process as in SHM2.0.

Change history (3)

comment:1 Changed 10 years ago by DefaultCC Plugin

  • Cc Vadim jct-vc@… added

comment:2 Changed 10 years ago by Vadim

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

fixed as suggested with rev 508

comment:3 Changed 10 years ago by jlchen

  • Milestone SHM-4.0 deleted

Milestone SHM-4.0 deleted

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

  • Done Bugdayci(Reporter)
  • Gerhard Tech(Always)
  • jct-vc@…(Subscriber)
  • Jianle Chen(Participant)
  • Karsten Suehring(Always)
  • Vadim Seregin(Owner, Subscriber, Participant)