Changeset 1453 in SHVCSoftware for branches/SHM-dev/source


Ignore:
Timestamp:
19 Aug 2015, 03:06:47 (9 years ago)
Author:
seregin
Message:

add a check for scalability id in zero motion constraint

File:
1 edited

Legend:

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

    r1393 r1453  
    584584
    585585#if REF_IDX_ME_ZEROMV
    586       // It is a requirement of bitstream conformance that the variables mvLX[ 0 ] and mvLX[ 1 ] shall be equal to 0 if the value of refIdxLX corresponds to an inter-layer reference picture.
    587       assert( cMv.getHor() == 0 && cMv.getVer() == 0 );
     586      // It is a requirement of bitstream conformance that the variables mvLX[ 0 ] and mvLX[ 1 ] shall be equal to 0 if the value of refIdxLX corresponds to an inter-layer reference picture.
     587      if( pcCU->getSlice()->getVPS()->getScalabilityMask( SCALABILITY_ID ) )
     588      {
     589        assert( cMv.getHor() == 0 && cMv.getVer() == 0 );
     590      }
    588591#endif
    589592    }
Note: See TracChangeset for help on using the changeset viewer.