Changeset 394 in SHVCSoftware


Ignore:
Timestamp:
12 Sep 2013, 19:43:14 (11 years ago)
Author:
seregin
Message:

Vertical MV component restriction (VERT_MV_CONSTRAINT)

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

Legend:

Unmodified
Added
Removed
  • branches/SHM-3.1-dev/source/Lib/TLibCommon/TypeDef.h

    r393 r394  
    5858#define SPS_EXTENSION                    1      ///< Define sps_extension() syntax structure
    5959#define SCALED_REF_LAYER_OFFSETS         1      ///< M0309: Signal scaled reference layer offsets in SPS
     60#define VERT_MV_CONSTRAINT               1      ///< Vertical MV component constraint flag
    6061
    6162#define ILP_SSH_SIG                      1      ///< JCTVC-N0195 proposal 2, JCTVC-N0118: add presence flag in VPS ext to condition inter-layer prediction signaling in slice segment header
  • branches/SHM-3.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r393 r394  
    738738  UInt uiCode;
    739739  // more syntax elements to be parsed here
     740
     741#if VERT_MV_CONSTRAINT
     742  READ_FLAG( uiCode, "inter_view_mv_vert_constraint_flag" );
     743  // Vertical MV component restriction is not used in SHVC CTC
     744  assert( uiCode == 0 );
     745#endif
    740746#if SCALED_REF_LAYER_OFFSETS
    741747  if( pcSPS->getLayerId() > 0 )
  • branches/SHM-3.1-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r393 r394  
    566566{
    567567  // more syntax elements to be written here
     568
     569#if VERT_MV_CONSTRAINT
     570  // Vertical MV component restriction is not used in SHVC CTC
     571  WRITE_FLAG( 0, "inter_view_mv_vert_constraint_flag" );
     572#endif
    568573#if SCALED_REF_LAYER_OFFSETS
    569574  if( pcSPS->getLayerId() > 0 )
Note: See TracChangeset for help on using the changeset viewer.