Changeset 405 in SHVCSoftware for branches/SHM-3.1-dev/source/Lib


Ignore:
Timestamp:
26 Sep 2013, 10:32:02 (11 years ago)
Author:
ericsson
Message:

Scalability mask modification JCT3V-E0104 (Ericsson, A. Norkin)

Location:
branches/SHM-3.1-dev/source/Lib
Files:
4 edited

Legend:

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

    r399 r405  
    496496    }
    497497#if MAX_ONE_RESAMPLING_DIRECT_LAYERS
     498#if SCALABILITY_MASK_E0104
     499    if( m_pcVPS->getScalabilityMask(2) )
     500#else
    498501    if( m_pcVPS->getScalabilityMask(1) )
     502#endif
    499503    {
    500504      Int numResampler = 0;
  • branches/SHM-3.1-dev/source/Lib/TLibCommon/TypeDef.h

    r401 r405  
    4040
    4141#define SVC_EXTENSION                    1
     42
     43#define SCALABILITY_MASK_E0104           1
    4244
    4345#define SYNTAX_BYTES                     10      ///< number of bytes taken by syntaxes per 4x4 block [RefIdxL0(1byte), RefIdxL1(1byte), MVxL0(2bytes), MVyL0(2bytes), MVxL1(2bytes), MVyL1(2bytes)]
  • branches/SHM-3.1-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r401 r405  
    306306
    307307          //only for scalable extension
     308#if SCALABILITY_MASK_E0104
     309          assert( pcSlice->getVPS()->getScalabilityMask(2) == true );
     310#else
    308311          assert( pcSlice->getVPS()->getScalabilityMask(1) == true );
     312#endif
    309313        }
    310314#if MAX_ONE_RESAMPLING_DIRECT_LAYERS
     315#if SCALABILITY_MASK_E0104
     316        if(pcSlice->getVPS()->getScalabilityMask(2))
     317#else
    311318        if(pcSlice->getVPS()->getScalabilityMask(1))
     319#endif
    312320        {
    313321          pcSlice->setPic(rpcPic);
  • branches/SHM-3.1-dev/source/Lib/TLibEncoder/TEncTop.cpp

    r389 r405  
    520520
    521521            //only for scalable extension
     522#if SCALABILITY_MASK_E0104
     523            assert( m_cVPS.getScalabilityMask(2) == true );
     524#else
    522525            assert( m_cVPS.getScalabilityMask(1) == true );
     526#endif
    523527          }
    524528        }
     
    557561
    558562            //only for scalable extension
     563#if SCALABILITY_MASK_E0104
     564            assert( m_cVPS.getScalabilityMask(2) == true );
     565#else
    559566            assert( m_cVPS.getScalabilityMask(1) == true );
     567#endif
    560568          }
    561569        }
Note: See TracChangeset for help on using the changeset viewer.