Changeset 573 in SHVCSoftware for branches/SHM-5.0-dev/source/Lib


Ignore:
Timestamp:
28 Jan 2014, 18:21:52 (11 years ago)
Author:
seregin
Message:

add bitDepthScalability flag to invoke estimation of the WP parameters conditionally (encoder only)

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

Legend:

Unmodified
Added
Removed
  • branches/SHM-5.0-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r568 r573  
    15581558#if O0194_WEIGHTED_PREDICTION_CGS
    15591559      // Calculate for the base layer to be used in EL as Inter layer reference
    1560       m_pcSliceEncoder->estimateILWpParam( pcSlice );
     1560      if( m_pcEncTop->getBitDepthScalabilityFlag() )
     1561      {
     1562        m_pcSliceEncoder->estimateILWpParam( pcSlice );
     1563      }
    15611564#endif
    15621565#if AVC_SYNTAX
  • branches/SHM-5.0-dev/source/Lib/TLibEncoder/TEncSlice.cpp

    r564 r573  
    811811  }
    812812#if O0194_WEIGHTED_PREDICTION_CGS
    813   else
     813  else if( m_ppcTEncTop[pcSlice->getLayerId()]->getBitDepthScalabilityFlag() )
    814814  {
    815815    // Calculate for the base layer to be used in EL as Inter layer reference
  • branches/SHM-5.0-dev/source/Lib/TLibEncoder/TEncTop.h

    r559 r573  
    151151  Bool                    m_noOutputOfPriorPicsFlags;
    152152#endif
     153#if O0194_WEIGHTED_PREDICTION_CGS
     154  Bool                    m_bitDepthScalabilityFlag;
     155#endif
    153156#endif //SVC_EXTENSION
    154157protected:
     
    234237  Bool      getMFMEnabledFlag()                   {return m_bMFMEnabledFlag;}   
    235238#endif
     239#if O0194_WEIGHTED_PREDICTION_CGS
     240  Void      setBitDepthScalabilityFlag(Bool flag)   { m_bitDepthScalabilityFlag = flag; }
     241  Bool      getBitDepthScalabilityFlag()            { return m_bitDepthScalabilityFlag; }
     242#endif
    236243#if AVC_SYNTAX
    237244  Void      setBLSyntaxFile( fstream* pFile ) { m_pBLSyntaxFile = pFile; }
Note: See TracChangeset for help on using the changeset viewer.