Changeset 331 in 3DVCSoftware for branches/HTM-DEV-0.1-dev/source/Lib


Ignore:
Timestamp:
20 Apr 2013, 12:05:40 (12 years ago)
Author:
tech
Message:

Fixed inter_view_mv_vert_constraint_flag.

Location:
branches/HTM-DEV-0.1-dev/source/Lib
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-DEV-0.1-dev/source/Lib/TLibCommon/TComSlice.cpp

    r324 r331  
    14701470, m_vuiParametersPresentFlag  (false)
    14711471, m_vuiParameters             ()
     1472#if H_MV
     1473, m_interViewMvVertConstraintFlag (false)
     1474#endif
    14721475{
    14731476  for ( Int i = 0; i < MAX_TLAYER; i++ )
  • branches/HTM-DEV-0.1-dev/source/Lib/TLibCommon/TComSlice.h

    r324 r331  
    968968  static const Int   m_winUnitY[MAX_CHROMA_FORMAT_IDC+1];
    969969  TComPTL     m_pcPTL;
     970
     971#if H_MV
     972  Bool        m_interViewMvVertConstraintFlag;
     973#endif
     974
    970975public:
    971976  TComSPS();
     
    10941099
    10951100  TComPTL* getPTL()     { return &m_pcPTL; }
     1101
     1102#if H_MV
     1103  Void setInterViewMvVertConstraintFlag(Bool val) { m_interViewMvVertConstraintFlag = val; }
     1104  Bool getInterViewMvVertConstraintFlag()         { return m_interViewMvVertConstraintFlag;}
     1105#endif
    10961106};
    10971107
  • branches/HTM-DEV-0.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r324 r331  
    710710  if (uiCode)
    711711  {
     712#if H_MV
     713    READ_FLAG( uiCode, "inter_view_mv_vert_constraint_flag" );    pcSPS->setInterViewMvVertConstraintFlag(uiCode == 1 ? true : false);
     714#else
    712715    while ( xMoreRbspData() )
    713716    {
    714717      READ_FLAG( uiCode, "sps_extension_data_flag");
    715718    }
     719#endif
    716720  }
    717721}
  • branches/HTM-DEV-0.1-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r324 r331  
    554554  }
    555555
     556#if H_MV
     557  WRITE_FLAG( 1, "sps_extension_flag" );
     558
     559  WRITE_FLAG( pcSPS->getInterViewMvVertConstraintFlag() ? 1 : 0, "inter_view_mv_vert_constraint_flag" );
     560#else
    556561  WRITE_FLAG( 0, "sps_extension_flag" );
     562#endif
    557563}
    558564
Note: See TracChangeset for help on using the changeset viewer.