Changeset 189 in 3DVCSoftware for trunk/source/App/TAppEncoder/TAppEncCfg.cpp


Ignore:
Timestamp:
18 Nov 2012, 22:11:37 (12 years ago)
Author:
tech
Message:

Reintegrated branch 4.1-dev0 Rev. 188.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/App/TAppEncoder/TAppEncCfg.cpp

    r128 r189  
    7474{
    7575  m_aidQP = NULL;
    76 #if FIXES
    7776  m_aidQPdepth = NULL;
    78 #endif
    7977}
    8078
     
    8684  }
    8785
    88 #if FIXES
    8986  if ( m_aidQPdepth )
    9087  {
    9188    delete[] m_aidQPdepth; m_aidQPdepth = NULL;
    9289  }
    93 #endif
    9490
    9591  for(Int i = 0; i< m_pchInputFileList.size(); i++ )
     
    120116#endif
    121117
    122 #if FIX_MEM_LEAKS
    123118 if ( m_pchCameraParameterFile != NULL )
    124119   free ( m_pchCameraParameterFile );
     
    139134   free ( m_scalingListFile );
    140135
    141 #endif   
    142136
    143137}
     
    326320  ("LoopFilterBetaOffset_div2", m_loopFilterBetaOffsetDiv2, 0 )
    327321  ("LoopFilterTcOffset_div2", m_loopFilterTcOffsetDiv2, 0 )
     322#if LGE_ILLUCOMP_B0045
     323  ("IlluCompEnable",                  m_bUseIC                  , true         , "Use illumination compensation for inter-view prediction" )
     324#endif
    328325#if DBL_CONTROL
    329 #if FIX_DBL_CONTROL_DEFAULT
    330326  ("DeblockingFilterControlPresent", m_DeblockingFilterControlPresent, true)
    331 #else
    332   ("DeblockingFilterControlPresent", m_DeblockingFilterControlPresent, false)
    333 #endif
    334327#endif
    335328
     
    346339  ("LambdaScaleVSO",                  m_dLambdaScaleVSO         , (Double) 1    , "Lambda Scaling for VSO")
    347340
    348 #if HHI_VSO_LS_TABLE
     341#if HHI_VSO_LS_TABLE_M23714
    349342  ("VSOLSTable",                      m_bVSOLSTable             , true          , "Depth QP dependent video/depth rate allocation by Lagrange multiplier" )   
    350343#endif
     
    361354#endif
    362355#if LGE_WVSO_A0119
    363   ("WVSO",                            m_bUseWVSO                , false         , "Use depth fidelity term for VSO" )
     356  ("WVSO",                            m_bUseWVSO                , true          , "Use depth fidelity term for VSO" )
    364357  ("VSOWeight",                       m_iVSOWeight              , 10            , "Synthesized View Distortion Change weight" )
    365358  ("VSDWeight",                       m_iVSDWeight              , 1             , "View Synthesis Distortion estimate weight" )
     
    367360#endif
    368361
    369 #if OL_DEPTHLIMIT_A0044
    370   ("DPL",                             m_bDepthPartitionLimiting , false         , "Use DepthPartitionLimiting" )
     362#if OL_QTLIMIT_PREDCODING_B0068
     363  ("QTLPC",                           m_bUseQTLPC               , true         , "Use depth Quadtree Limitation + Predictive Coding" )
    371364#endif
    372365
     
    454447                                              "\t0: disable")
    455448
     449#if TMVP_DEPTH_SWITCH
     450  ("TMVP", m_enableTMVP, std::vector<Bool>(1,true), "Enable TMVP" )
     451#else
    456452  ("TMVP", m_enableTMVP, true, "Enable TMVP" )
     453#endif
    457454
    458455  ("FEN", m_bUseFastEnc, false, "fast encoder setting")
     
    473470#if HHI_MPI
    474471  ("MVI", m_bUseMVI, false, "use motion vector inheritance for depth map coding")
     472#endif
     473#if RWTH_SDC_DLT_B0036
     474  ("DLT", m_bUseDLT, true, "use depth lookup table for depth map coding")
     475  ("SDC", m_bUseSDC, true, "use simplified depth coding tree")
    475476#endif
    476477  ;
     
    684685  xCleanUpVectors();
    685686
     687
     688#if TMVP_DEPTH_SWITCH
     689  if ( m_enableTMVP.size() < 2)
     690  {
     691    m_enableTMVP.push_back( m_enableTMVP[0]  );
     692  }
     693#endif
     694 
     695
    686696#if HHI_VSO
    687697  if ( m_abUseALF .size() < 2)
     
    712722#if HHI_VSO
    713723
    714 #if HHI_VSO_LS_TABLE
     724#if HHI_VSO_LS_TABLE_M23714
    715725  // Q&D
    716726  Double adLambdaScaleTable[] =
     
    16201630    printf("VSO Negative Distortion      : %d\n",    m_bAllowNegDist ? 1 : 0);
    16211631#endif
    1622 #if HHI_VSO_LS_TABLE
     1632#if HHI_VSO_LS_TABLE_M23714
    16231633    printf("VSO LS Table                 : %d\n",    m_bVSOLSTable ? 1 : 0);   
    16241634#endif
     
    17041714  printf(" ScalingList:%d ", m_useScalingListId );
    17051715
     1716#if !TMVP_DEPTH_SWITCH
    17061717  printf("TMVP:%d ", m_enableTMVP     );
     1718#endif
    17071719
    17081720#if ADAPTIVE_QP_SELECTION
     
    17181730  printf("SAO:%d ", (m_abUseSAO [0] ? 1 : 0));
    17191731  printf("RDQ:%d ", (m_abUseRDOQ[0] ? 1 : 0) );
     1732#if TMVP_DEPTH_SWITCH
     1733  printf("TMVP:%d ", (m_enableTMVP[0] ? 1 : 0) );
     1734#endif
     1735#if LGE_ILLUCOMP_B0045
     1736  printf("IlluCompEnable: %d ", m_bUseIC);
     1737#endif
     1738
    17201739  printf("\n");
    17211740
     
    17241743  printf("SAO:%d ", (m_abUseSAO [1] ? 1 : 0));
    17251744  printf("RDQ:%d ", (m_abUseRDOQ[1] ? 1 : 0));
     1745#if TMVP_DEPTH_SWITCH
     1746  printf("TMVP:%d ", (m_enableTMVP[1] ? 1 : 0) );
     1747#endif
    17261748#if HHI_VSO
    17271749  printf("VSO:%d ", m_bUseVSO             );
     
    17301752  printf("WVSO:%d ", m_bUseWVSO );
    17311753#endif
    1732 #if OL_DEPTHLIMIT_A0044
    1733   printf("DPL:%d ", m_bDepthPartitionLimiting);
     1754#if OL_QTLIMIT_PREDCODING_B0068
     1755  printf("QTLPC:%d ", m_bUseQTLPC);
    17341756#endif
    17351757#if HHI_DMM_WEDGE_INTRA || HHI_DMM_PRED_TEX
     
    17391761  printf("MVI:%d ", m_bUseMVI ? 1 : 0 );
    17401762#endif
     1763#if RWTH_SDC_DLT_B0036
     1764  printf("SDC:%d ", m_bUseSDC ? 1 : 0 );
     1765  printf("DLT:%d ", m_bUseDLT ? 1 : 0 );
     1766#endif
    17411767#if LGE_WVSO_A0119
    1742   printf("\nVSO : VSD : SAD weight = %d : %d : %d ", m_iVSOWeight, m_iVSDWeight, m_iDWeight );
     1768  if ( m_bUseWVSO )
     1769    printf("\nVSO : VSD : SAD weight = %d : %d : %d ", m_iVSOWeight, m_iVSDWeight, m_iDWeight );
    17431770#endif
    17441771  printf("\n\n");
Note: See TracChangeset for help on using the changeset viewer.