Changeset 1201 in SHVCSoftware for branches/SHM-dev/source/App


Ignore:
Timestamp:
8 Jul 2015, 20:30:17 (10 years ago)
Author:
seregin
Message:

macro cleanup: O0194_WEIGHTED_PREDICTION_CGS

Location:
branches/SHM-dev/source/App/TAppEncoder
Files:
3 edited

Legend:

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

    r1200 r1201  
    11291129  ("CrossLayerIrapAlignFlag",                        m_crossLayerIrapAlignFlag,                          true, "align IRAP across layers" ) 
    11301130  ("CrossLayerAlignedIdrOnlyFlag",                   m_crossLayerAlignedIdrOnlyFlag,                     true, "only idr for IRAP across layers" ) 
    1131 #if O0194_WEIGHTED_PREDICTION_CGS
    11321131  ("InterLayerWeightedPred",                          m_useInterLayerWeightedPred,                       false, "enable IL WP parameters estimation at encoder" ) 
    1133 #endif
    11341132#if AVC_BASE
    11351133  ("NonHEVCBase,-nonhevc",                            m_nonHEVCBaseLayerFlag,                                0, "BL is available but not internal")
     
    43444342  printf("Cross layer IRAP alignment        : %d\n", m_crossLayerIrapAlignFlag );
    43454343  printf("IDR only for IRAP                 : %d\n", m_crossLayerAlignedIdrOnlyFlag );
    4346 #if O0194_WEIGHTED_PREDICTION_CGS
    43474344  printf("InterLayerWeightedPred            : %d\n", m_useInterLayerWeightedPred );
    4348 #endif
    43494345  printf("\n");
    43504346  for(UInt layer=0; layer<m_numLayers; layer++)
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.h

    r1200 r1201  
    510510  Bool      m_crossLayerAlignedIdrOnlyFlag;
    511511  Bool      m_crossLayerBLAFlag;
    512 #if O0194_WEIGHTED_PREDICTION_CGS
    513512  Bool      m_useInterLayerWeightedPred;
    514 #endif
    515513#if Q0048_CGS_3D_ASYMLUT
    516514  Int       m_nCGSFlag;
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r1200 r1201  
    228228    g_bitDepthLayer[CHANNEL_TYPE_CHROMA][m_acLayerCfg[layer].m_layerId] = g_bitDepth[CHANNEL_TYPE_CHROMA];
    229229
    230 #if O0194_WEIGHTED_PREDICTION_CGS
    231230    m_acTEncTop[layer].setInterLayerWeightedPredFlag                      ( m_useInterLayerWeightedPred );
    232 #endif
    233231   
    234232    Int layerPTLIdx = m_acLayerCfg[layer].m_layerPTLIdx;
     
    503501    m_acTEncTop[layer].setUseFastIntraScalable                             ( m_useFastIntraScalable );
    504502#endif
    505 #if O0194_WEIGHTED_PREDICTION_CGS
     503
    506504    if( layer != 0 && m_useInterLayerWeightedPred )
    507505    {
     
    510508      m_acTEncTop[layer].setWPBiPred                                        ( true   );
    511509    }
    512 #endif
     510
    513511    //====== Parallel Merge Estimation ========
    514512    m_acTEncTop[layer].setLog2ParallelMergeLevelMinus2                      ( m_log2ParallelMergeLevel - 2 );
Note: See TracChangeset for help on using the changeset viewer.