Changeset 574 in SHVCSoftware


Ignore:
Timestamp:
28 Jan 2014, 19:40:20 (11 years ago)
Author:
seregin
Message:

move IL WP setting into the config file

Location:
branches/SHM-5.0-dev
Files:
20 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-5.0-dev/cfg/encoder_intra_he10.cfg

    r494 r574  
    4444#=========== Misc. ============
    4545#InternalBitDepth             : 10          # codec operating bit-depth
    46 InternalBitDepth0             : 10          # codec operating bit-depth for layer 0
    47 InternalBitDepth1             : 10          # codec operating bit-depth for layer 1
    4846
    4947#=========== Coding Tools =================
  • branches/SHM-5.0-dev/cfg/encoder_intra_main.cfg

    r494 r574  
    4949#=========== Misc. ============
    5050#InternalBitDepth             : 8           # codec operating bit-depth
    51 InternalBitDepth0             : 8           # codec operating bit-depth for layer 0
    52 InternalBitDepth1             : 8           # codec operating bit-depth for layer 1
    5351
    5452#=========== Coding Tools =================
  • branches/SHM-5.0-dev/cfg/encoder_intra_main10.cfg

    r494 r574  
    4949#=========== Misc. ============
    5050#InternalBitDepth             : 10          # codec operating bit-depth
    51 InternalBitDepth0             : 10          # codec operating bit-depth for layer 0
    52 InternalBitDepth1             : 10          # codec operating bit-depth for layer 1
    5351
    5452#=========== Coding Tools =================
  • branches/SHM-5.0-dev/cfg/encoder_lowdelay_P_he10.cfg

    r494 r574  
    5151#=========== Misc. ============
    5252#InternalBitDepth             : 10          # internal bit-depth = BitDepth + BitIncrement
    53 InternalBitDepth0             : 10          # codec operating bit-depth for layer 0
    54 InternalBitDepth1             : 10          # codec operating bit-depth for layer 1
    5553
    5654#=========== Coding Tools =================
  • branches/SHM-5.0-dev/cfg/encoder_lowdelay_P_main.cfg

    r494 r574  
    5454#=========== Misc. ============
    5555#InternalBitDepth             : 8           # codec operating bit-depth
    56 InternalBitDepth0             : 8           # codec operating bit-depth for layer 0
    57 InternalBitDepth1             : 8           # codec operating bit-depth for layer 1
    5856
    5957#=========== Coding Tools =================
  • branches/SHM-5.0-dev/cfg/encoder_lowdelay_P_main10.cfg

    r494 r574  
    5656#=========== Misc. ============
    5757#InternalBitDepth             : 10          # codec operating bit-depth
    58 InternalBitDepth0             : 10          # codec operating bit-depth for layer 0
    59 InternalBitDepth1             : 10          # codec operating bit-depth for layer 1
    6058
    6159#=========== Coding Tools =================
  • branches/SHM-5.0-dev/cfg/encoder_lowdelay_he10.cfg

    r494 r574  
    4949#=========== Misc. ============
    5050#InternalBitDepth             : 10          # codec operating bit-depth
    51 InternalBitDepth0             : 10          # codec operating bit-depth for layer 0
    52 InternalBitDepth1             : 10          # codec operating bit-depth for layer 1
    5351
    5452#=========== Coding Tools =================
  • branches/SHM-5.0-dev/cfg/encoder_lowdelay_main.cfg

    r494 r574  
    5454#=========== Misc. ============
    5555#InternalBitDepth             : 8           # codec operating bit-depth
    56 InternalBitDepth0             : 8           # codec operating bit-depth for layer 0
    57 InternalBitDepth1             : 8           # codec operating bit-depth for layer 1
    5856
    5957#=========== Coding Tools =================
  • branches/SHM-5.0-dev/cfg/encoder_lowdelay_main10.cfg

    r494 r574  
    5454#=========== Misc. ============
    5555#InternalBitDepth             : 10          # codec operating bit-depth
    56 InternalBitDepth0             : 10          # codec operating bit-depth for layer 0
    57 InternalBitDepth1             : 10          # codec operating bit-depth for layer 1
    5856
    5957#=========== Coding Tools =================
  • branches/SHM-5.0-dev/cfg/encoder_randomaccess_he10.cfg

    r494 r574  
    5454#=========== Misc. ============
    5555#InternalBitDepth             : 10          # codec operating bit-depth
    56 InternalBitDepth0             : 10          # codec operating bit-depth for layer 0
    57 InternalBitDepth1             : 10          # codec operating bit-depth for layer 1
    5856
    5957#=========== Coding Tools =================
  • branches/SHM-5.0-dev/cfg/encoder_randomaccess_main.cfg

    r494 r574  
    5757#=========== Misc. ============
    5858#InternalBitDepth             : 8           # codec operating bit-depth
    59 InternalBitDepth0             : 8           # codec operating bit-depth for layer 0
    60 InternalBitDepth1             : 8           # codec operating bit-depth for layer 1
    6159
    6260#=========== Coding Tools =================
  • branches/SHM-5.0-dev/cfg/encoder_randomaccess_main10.cfg

    r494 r574  
    5757#=========== Misc. ============
    5858#InternalBitDepth             : 10           # codec operating bit-depth
    59 InternalBitDepth0             : 10           # codec operating bit-depth for layer 0
    60 InternalBitDepth1             : 10           # codec operating bit-depth for layer 1
    6159
    6260#=========== Coding Tools =================
  • branches/SHM-5.0-dev/cfg/layers.cfg

    r540 r574  
    99CrossLayerPictureTypeAlignFlag: 1           # Picture type alignment across layers
    1010CrossLayerIrapAlignFlag       : 1           # Align IRAP across layers
     11InterLayerWeightedPred        : 0           # enable IL WP parameters estimation at encoder
     12
    1113#============= LAYER 0 ==================
    1214QP0                           : 22
    1315MaxTidIlRefPicsPlus10         : 1           # max_tid_il_ref_pics_plus1 for layer0
     16InternalBitDepth0             : 8           # codec operating bit-depth for layer 0
    1417#============ Rate Control ==============
    1518RateControl0                  : 0           # Rate control: enable rate control for layer 0
     
    2427#============= LAYER 1 ==================
    2528QP1                           : 20
     29InternalBitDepth1             : 8           # codec operating bit-depth for layer 1
    2630NumSamplePredRefLayers1       : 1           # number of sample pred reference layers
    2731SamplePredRefLayerIds1        : 0           # reference layer id
  • branches/SHM-5.0-dev/cfg/layers_avcbase.cfg

    r540 r574  
    66CrossLayerPictureTypeAlignFlag: 0           # Picture type alignment across layers
    77CrossLayerIrapAlignFlag       : 0           # Align IRAP across layers
     8InterLayerWeightedPred        : 0           # enable IL WP parameters estimation at encoder
    89#============= LAYER 0 ==================
    910QP0                           : 22
     11InternalBitDepth0             : 8           # codec operating bit-depth for layer 0
    1012
    1113#============ Rate Control ==============
     
    2123#============= LAYER 1 ==================
    2224QP1                           : 20
     25InternalBitDepth0             : 8           # codec operating bit-depth for layer 0
    2326NumSamplePredRefLayers1       : 1           # number of sample pred reference layers
    2427SamplePredRefLayerIds1        : 0           # reference layer id
  • branches/SHM-5.0-dev/source/App/TAppEncoder/TAppEncCfg.cpp

    r567 r574  
    587587#endif
    588588#if N0147_IRAP_ALIGN_FLAG
    589     ("CrossLayerIrapAlignFlag", m_crossLayerIrapAlignFlag, true, "align IRAP across layers" ) 
     589  ("CrossLayerIrapAlignFlag", m_crossLayerIrapAlignFlag, true, "align IRAP across layers" ) 
     590#endif
     591#if O0194_WEIGHTED_PREDICTION_CGS
     592  ("InterLayerWeightedPred", m_useInterLayerWeightedPred, false, "enable IL WP parameters estimation at encoder" ) 
    590593#endif
    591594#if AVC_BASE
     
    23472350  printf("Cross layer IRAP alignment    : %d\n", m_crossLayerIrapAlignFlag );
    23482351#endif
     2352#if O0194_WEIGHTED_PREDICTION_CGS
     2353  printf("InterLayerWeightedPred        : %d\n", m_useInterLayerWeightedPred );
     2354#endif
    23492355  for(UInt layer=0; layer<m_numLayers; layer++)
    23502356  {
     
    24922498  printf("O0194_DIFFERENT_BITDEPTH_EL_BL: %d ", O0194_DIFFERENT_BITDEPTH_EL_BL);
    24932499  printf("O0194_JOINT_US_BITSHIFT: %d ", O0194_JOINT_US_BITSHIFT);
    2494   printf("O0194_WEIGHTED_PREDICTION_CGS: %d ",O0194_WEIGHTED_PREDICTION_CGS);
    24952500#else
    24962501  printf("RecalQP:%d", m_recalculateQPAccordingToLambda ? 1 : 0 );
  • branches/SHM-5.0-dev/source/App/TAppEncoder/TAppEncCfg.h

    r567 r574  
    381381#endif
    382382#if O0215_PHASE_ALIGNMENT
    383   Bool m_phaseAlignFlag;
     383  Bool      m_phaseAlignFlag;
    384384#endif
    385385#if O0223_PICTURE_TYPES_ALIGN_FLAG
    386   Bool m_crossLayerPictureTypeAlignFlag;
     386  Bool      m_crossLayerPictureTypeAlignFlag;
    387387#endif
    388388#if N0147_IRAP_ALIGN_FLAG
    389   Bool m_crossLayerIrapAlignFlag;
     389  Bool      m_crossLayerIrapAlignFlag;
    390390#endif
    391391#if O0149_CROSS_LAYER_BLA_FLAG
    392   bool      m_crossLayerBLAFlag;
     392  Bool      m_crossLayerBLAFlag;
     393#endif
     394#if O0194_WEIGHTED_PREDICTION_CGS
     395  Bool      m_useInterLayerWeightedPred;
    393396#endif
    394397public:
  • branches/SHM-5.0-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r573 r574  
    178178#endif
    179179
    180 #if O0194_WEIGHTED_PREDICTION_CGS
    181   Bool bitDepthScalabilityFlag = false;
    182   for(UInt layer=0; layer<m_numLayers; layer++)
    183   {
    184     if( m_acLayerCfg[0].m_internalBitDepthY != m_acLayerCfg[layer].m_internalBitDepthY )
    185     {
    186       bitDepthScalabilityFlag = true;
    187       break;
    188     }
    189   }
    190 #endif
    191 
    192180  for(UInt layer=0; layer<m_numLayers; layer++)
    193181  {
     
    205193
    206194#if O0194_WEIGHTED_PREDICTION_CGS
    207     m_acTEncTop[layer].setBitDepthScalabilityFlag( bitDepthScalabilityFlag );
     195    m_acTEncTop[layer].setInterLayerWeightedPredFlag( m_useInterLayerWeightedPred );
    208196#endif
    209197#endif
  • branches/SHM-5.0-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r573 r574  
    15581558#if O0194_WEIGHTED_PREDICTION_CGS
    15591559      // Calculate for the base layer to be used in EL as Inter layer reference
    1560       if( m_pcEncTop->getBitDepthScalabilityFlag() )
     1560      if( m_pcEncTop->getInterLayerWeightedPredFlag() )
    15611561      {
    15621562        m_pcSliceEncoder->estimateILWpParam( pcSlice );
  • branches/SHM-5.0-dev/source/Lib/TLibEncoder/TEncSlice.cpp

    r573 r574  
    811811  }
    812812#if O0194_WEIGHTED_PREDICTION_CGS
    813   else if( m_ppcTEncTop[pcSlice->getLayerId()]->getBitDepthScalabilityFlag() )
     813  else if( m_ppcTEncTop[pcSlice->getLayerId()]->getInterLayerWeightedPredFlag() )
    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

    r573 r574  
    152152#endif
    153153#if O0194_WEIGHTED_PREDICTION_CGS
    154   Bool                    m_bitDepthScalabilityFlag;
     154  Bool                    m_interLayerWeightedPredFlag;
    155155#endif
    156156#endif //SVC_EXTENSION
     
    238238#endif
    239239#if O0194_WEIGHTED_PREDICTION_CGS
    240   Void      setBitDepthScalabilityFlag(Bool flag)   { m_bitDepthScalabilityFlag = flag; }
    241   Bool      getBitDepthScalabilityFlag()            { return m_bitDepthScalabilityFlag; }
     240  Void      setInterLayerWeightedPredFlag(Bool flag)   { m_interLayerWeightedPredFlag = flag; }
     241  Bool      getInterLayerWeightedPredFlag()            { return m_interLayerWeightedPredFlag; }
    242242#endif
    243243#if AVC_SYNTAX
Note: See TracChangeset for help on using the changeset viewer.