Changeset 174 in 3DVCSoftware for branches


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

Incorporated encoder parameter for TMVP for depth. (TMVP_DEPTH_SWITCH)

Location:
branches/HTM-4.1-dev1-HHI/source
Files:
4 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             );
  • branches/HTM-4.1-dev1-HHI/source/App/TAppEncoder/TAppEncCfg.h

    r120 r174  
    258258  UInt      m_uiBiPredIdc;                                    ///< Use of Bi-Directional Weighting Prediction (B_SLICE): explicit(1) or implicit(2)
    259259
     260#if TMVP_DEPTH_SWITCH
     261  vector<Bool> m_enableTMVP;                                  ///< Enable TMVP [0] video, [1] depth
     262#else
    260263  Bool      m_enableTMVP;
     264#endif
     265
    261266#if MULTIBITS_DATA_HIDING
    262267  Int       m_signHideFlag;
  • branches/HTM-4.1-dev1-HHI/source/App/TAppEncoder/TAppEncTop.cpp

    r124 r174  
    342342    m_acTEncTopList[iViewIdx]->setWaveFrontFlush             ( m_iWaveFrontFlush );
    343343    m_acTEncTopList[iViewIdx]->setWaveFrontSubstreams        ( m_iWaveFrontSubstreams );
    344     m_acTEncTopList[iViewIdx]->setEnableTMVP ( m_enableTMVP );
     344#if TMVP_DEPTH_SWITCH
     345    m_acTEncTopList[iViewIdx]->setEnableTMVP                 ( m_enableTMVP[0] );
     346#else
     347    m_acTEncTopList[iViewIdx]->setEnableTMVP                 ( m_enableTMVP );
     348#endif
    345349    m_acTEncTopList[iViewIdx]->setUseScalingListId           ( m_useScalingListId  );
    346350    m_acTEncTopList[iViewIdx]->setScalingListFile            ( m_scalingListFile   );
     
    621625      m_acTEncDepthTopList[iViewIdx]->setWaveFrontFlush             ( m_iWaveFrontFlush );
    622626      m_acTEncDepthTopList[iViewIdx]->setWaveFrontSubstreams        ( m_iWaveFrontSubstreams );
    623       m_acTEncDepthTopList[iViewIdx]->setEnableTMVP ( m_enableTMVP );
     627#if TMVP_DEPTH_SWITCH
     628      m_acTEncDepthTopList[iViewIdx]->setEnableTMVP                 ( m_enableTMVP[1] );
     629#else
     630      m_acTEncDepthTopList[iViewIdx]->setEnableTMVP                 ( m_enableTMVP );
     631#endif
    624632      m_acTEncDepthTopList[iViewIdx]->setUseScalingListId           ( m_useScalingListId  );
    625633      m_acTEncDepthTopList[iViewIdx]->setScalingListFile            ( m_scalingListFile   );
  • branches/HTM-4.1-dev1-HHI/source/Lib/TLibCommon/TypeDef.h

    r173 r174  
    5959// B
    6060#define FIX_LGE_IVMP_PARALLEL_MERGE_B0136 1
     61#define TMVP_DEPTH_SWITCH                 1 // related to JCT3V-B0092
    6162
    6263
Note: See TracChangeset for help on using the changeset viewer.