Ignore:
Timestamp:
22 Apr 2014, 19:22:47 (11 years ago)
Author:
seregin
Message:

add a check for motion prediction type of ILRP used as a collocated picture

File:
1 edited

Legend:

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

    r722 r723  
    884884  Void   setDirectDependencyType(Int currLayerId, Int refLayerId, UInt x)       { m_directDependencyType[currLayerId][refLayerId] = x;    }
    885885  Bool   isSamplePredictionType(Int currLayerId, Int refLayerId)                { assert(currLayerId != refLayerId); return ( ( m_directDependencyType[currLayerId][refLayerId] + 1 ) & 1 ) ? true : false; }
     886  Bool   isMotionPredictionType(Int currLayerId, Int refLayerId)                { assert(currLayerId != refLayerId); return ( ( ( m_directDependencyType[currLayerId][refLayerId] + 1 ) & 2 ) >> 1 ) ? true : false; }
    886887#endif
    887888  UInt   getNumProfileTierLevel()                                { return m_numProfileTierLevel; }
Note: See TracChangeset for help on using the changeset viewer.