Ignore:
Timestamp:
9 Nov 2012, 14:20:38 (12 years ago)
Author:
tech
Message:

Incorporated encoder parameter for TMVP for depth. (TMVP_DEPTH_SWITCH)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-4.1-dev1-HHI/source/App/TAppEncoder/TAppEncCfg.cpp

    r128 r174  
    292292  ("MaxCuDQPDepth,-dqd",  m_iMaxCuDQPDepth,        0, "max depth for a minimum CuDQP")
    293293
    294     ("ChromaQpOffset,   -cqo",   m_iChromaQpOffset,           0, "ChromaQpOffset")
    295     ("ChromaQpOffset2nd,-cqo2",  m_iChromaQpOffset2nd,        0, "ChromaQpOffset2nd")
     294  ("ChromaQpOffset,   -cqo",   m_iChromaQpOffset,           0, "ChromaQpOffset")
     295  ("ChromaQpOffset2nd,-cqo2",  m_iChromaQpOffset2nd,        0, "ChromaQpOffset2nd")
    296296
    297297#if ADAPTIVE_QP_SELECTION
     
    454454                                              "\t0: disable")
    455455
     456#if TMVP_DEPTH_SWITCH
     457  ("TMVP", m_enableTMVP, std::vector<Bool>(1,true), "Enable TMVP" )
     458#else
    456459  ("TMVP", m_enableTMVP, true, "Enable TMVP" )
     460#endif
    457461
    458462  ("FEN", m_bUseFastEnc, false, "fast encoder setting")
     
    683687#endif
    684688  xCleanUpVectors();
     689
     690
     691#if TMVP_DEPTH_SWITCH
     692  if ( m_enableTMVP.size() < 2)
     693  {
     694    m_enableTMVP.push_back( m_enableTMVP[0]  );
     695  }
     696#endif
     697 
    685698
    686699#if HHI_VSO
     
    16061619  }
    16071620
    1608 printf("Loop Filter Disabled         : %d %d\n", m_abLoopFilterDisable[0] ? 1 : 0,  m_abLoopFilterDisable[1] ? 1 : 0 );
     1621  printf("Loop Filter Disabled         : %d %d\n", m_abLoopFilterDisable[0] ? 1 : 0,  m_abLoopFilterDisable[1] ? 1 : 0 );
    16091622  printf("Coded Camera Param. Precision: %d\n", m_iCodedCamParPrecision);
    16101623
     
    17041717  printf(" ScalingList:%d ", m_useScalingListId );
    17051718
     1719#if !TMVP_DEPTH_SWITCH
    17061720  printf("TMVP:%d ", m_enableTMVP     );
     1721#endif
    17071722
    17081723#if ADAPTIVE_QP_SELECTION
     
    17181733  printf("SAO:%d ", (m_abUseSAO [0] ? 1 : 0));
    17191734  printf("RDQ:%d ", (m_abUseRDOQ[0] ? 1 : 0) );
     1735#if TMVP_DEPTH_SWITCH
     1736  printf("TMVP:%d ", (m_enableTMVP[0] ? 1 : 0) );
     1737#endif
    17201738  printf("\n");
    17211739
     
    17241742  printf("SAO:%d ", (m_abUseSAO [1] ? 1 : 0));
    17251743  printf("RDQ:%d ", (m_abUseRDOQ[1] ? 1 : 0));
     1744#if TMVP_DEPTH_SWITCH
     1745  printf("TMVP:%d ", (m_enableTMVP[1] ? 1 : 0) );
     1746#endif
    17261747#if HHI_VSO
    17271748  printf("VSO:%d ", m_bUseVSO             );
Note: See TracChangeset for help on using the changeset viewer.