Changeset 1455 in SHVCSoftware


Ignore:
Timestamp:
20 Aug 2015, 00:03:57 (9 years ago)
Author:
seregin
Message:

fix NumViews derivation, ticket #85

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp

    r1442 r1455  
    30083008  {
    30093009    Int lId = m_layerIdInNuh[i];
    3010     if( i > 0 && ( getViewIndex( lId ) != getScalabilityId( i - 1, VIEW_ORDER_INDEX ) ) )
    3011     {
    3012       numViews++;
    3013     }   
     3010    if( i > 0 )
     3011    {
     3012      UChar newViewFlag = 1;
     3013
     3014      for( Int j = 0; j < i; j++ )
     3015      {
     3016        if( getViewIndex(lId) == getScalabilityId( m_layerIdInNuh[j], VIEW_ORDER_INDEX ) )
     3017        {
     3018          newViewFlag = 0;
     3019          break;
     3020        }
     3021      }
     3022
     3023      numViews += newViewFlag;
     3024    }
    30143025  }
    30153026
Note: See TracChangeset for help on using the changeset viewer.