Changeset 1329 in SHVCSoftware


Ignore:
Timestamp:
22 Jul 2015, 01:00:21 (9 years ago)
Author:
seregin
Message:

port rev 4407

Location:
branches/SHM-dev/source
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp

    r1328 r1329  
    12041204  ("TopFieldFirst, Tff",                              m_isTopFieldFirst,                                false, "In case of field based coding, signals whether if it's a top field first or not")
    12051205  ("EfficientFieldIRAPEnabled",                       m_bEfficientFieldIRAPEnabled,                      true, "Enable to code fields in a specific, potentially more efficient, order.")
     1206  ("HarmonizeGopFirstFieldCoupleEnabled",             m_bHarmonizeGopFirstFieldCoupleEnabled,            true, "Enables harmonization of Gop first field couple")
    12061207
    12071208  // Profile and level
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.h

    r1328 r1329  
    102102  Bool      m_isTopFieldFirst;
    103103  Bool      m_bEfficientFieldIRAPEnabled;                     ///< enable an efficient field IRAP structure.
     104  Bool      m_bHarmonizeGopFirstFieldCoupleEnabled;
    104105
    105106#if !SVC_EXTENSION
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r1328 r1329  
    720720    m_acTEncTop[layer].setElRapSliceTypeB                       (layer == 0? 0 : m_elRapSliceBEnabled);
    721721    m_acTEncTop[layer].setEfficientFieldIRAPEnabled             ( m_bEfficientFieldIRAPEnabled );
     722    m_acTEncTop[layer].setHarmonizeGopFirstFieldCoupleEnabled   ( m_bHarmonizeGopFirstFieldCoupleEnabled );
    722723
    723724    if( layer > 0 )
     
    10951096  m_cTEncTop.setLog2MaxMvLengthVertical                           ( m_log2MaxMvLengthVertical );
    10961097  m_cTEncTop.setEfficientFieldIRAPEnabled                         ( m_bEfficientFieldIRAPEnabled );
     1098  m_cTEncTop.setHarmonizeGopFirstFieldCoupleEnabled               ( m_bHarmonizeGopFirstFieldCoupleEnabled );
    10971099}
    10981100#endif //SVC_EXTENSION
  • branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h

    r1325 r1329  
    164164#define T0196_SELECTIVE_RDOQ                              1 ///< selective RDOQ
    165165
    166 #define HARMONIZE_GOP_FIRST_FIELD_COUPLE                  1
    167166#define ALLOW_RECOVERY_POINT_AS_RAP                       1
    168167#define BUGFIX_INTRAPERIOD                                1
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncCfg.h

    r1328 r1329  
    374374  Bool      m_useStrongIntraSmoothing;                        ///< enable the use of strong intra smoothing (bi_linear interpolation) for 32x32 blocks when reference samples are flat.
    375375  Bool      m_bEfficientFieldIRAPEnabled;                     ///< enable to code fields in a specific, potentially more efficient, order.
     376  Bool      m_bHarmonizeGopFirstFieldCoupleEnabled;
    376377
    377378#if SVC_EXTENSION
     
    910911  Bool         getEfficientFieldIRAPEnabled( ) const                 { return m_bEfficientFieldIRAPEnabled; }
    911912
     913  Void         setHarmonizeGopFirstFieldCoupleEnabled( Bool b )      { m_bHarmonizeGopFirstFieldCoupleEnabled = b; }
     914  Bool         getHarmonizeGopFirstFieldCoupleEnabled( ) const       { return m_bHarmonizeGopFirstFieldCoupleEnabled; }
     915
    912916  Void         setActiveParameterSetsSEIEnabled ( Int b )            { m_activeParameterSetsSEIEnabled = b; }
    913917  Int          getActiveParameterSetsSEIEnabled ()                   { return m_activeParameterSetsSEIEnabled; }
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncSlice.cpp

    r1325 r1329  
    289289    }
    290290
    291 #if HARMONIZE_GOP_FIRST_FIELD_COUPLE
    292     if(poc != 0)
    293     {
    294 #endif
     291    if(m_pcCfg->getHarmonizeGopFirstFieldCoupleEnabled() && poc != 0)
     292    {
    295293      if (isField && ((rpcSlice->getPOC() % 2) == 1))
    296294      {
    297295        depth ++;
    298296      }
    299 #if HARMONIZE_GOP_FIRST_FIELD_COUPLE
    300     }
    301 #endif
     297    }
    302298  }
    303299
Note: See TracChangeset for help on using the changeset viewer.