Ignore:
Timestamp:
9 May 2013, 07:51:01 (12 years ago)
Author:
mediatek-htm
Message:

D0156 source code

Location:
branches/HTM-6.2-dev1-MediaTek/source/App/TAppEncoder
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-6.2-dev1-MediaTek/source/App/TAppEncoder/TAppEncCfg.cpp

    r332 r384  
    384384#if H3D_IVRP
    385385  ("MultiviewResPred", m_uiMultiviewResPredMode,   (UInt)0, "usage of inter-view residual prediction" )
     386#endif
     387
     388#if MTK_D0156
     389  ("UseVSPCompensation", m_bUseVSPCompensation,   true, "Depth dependent tools: BVSP" )
     390  ("UseDVPRefine", m_bUseDVPRefine,   true, "Depth dependent tools: DoNBDV" )
    386391#endif
    387392
     
    17081713  printf("DLT:%d ", m_bUseDLT ? 1 : 0 );
    17091714#endif
     1715
     1716#if MTK_D0156
     1717  printf("BVSP:%d ", m_bUseVSPCompensation ? 1 : 0 );
     1718  printf("DoNBDV:%d ",  m_bUseDVPRefine ? 1 : 0 );
     1719#endif
     1720
    17101721#if LGE_WVSO_A0119
    17111722  if ( m_bUseWVSO )
    17121723    printf("\nVSO : VSD : SAD weight = %d : %d : %d ", m_iVSOWeight, m_iVSDWeight, m_iDWeight );
    17131724#endif
     1725
    17141726  printf("\n\n");
    17151727 
  • branches/HTM-6.2-dev1-MediaTek/source/App/TAppEncoder/TAppEncCfg.h

    r332 r384  
    317317#endif
    318318
     319#if MTK_D0156
     320
     321#if MERL_VSP_COMPENSATION_C0152
     322  Bool      m_bUseVSPCompensation;
     323#endif
     324
     325  Bool      m_bUseDVPRefine;
     326#endif
     327
    319328  // internal member functions
    320329  Void  xSetGlobal      ();                                   ///< set global variables
  • branches/HTM-6.2-dev1-MediaTek/source/App/TAppEncoder/TAppEncTop.cpp

    r332 r384  
    226226#endif
    227227
     228#if MTK_D0156
     229
     230#if MERL_VSP_COMPENSATION_C0152
     231    m_acTEncTopList[iViewIdx]->setUseVSPCompensation           ( iViewIdx ? m_bUseVSPCompensation : 0 );
     232#endif
     233    m_acTEncTopList[iViewIdx]->setUseDVPRefine                  ( iViewIdx ? m_bUseDVPRefine : 0 );
     234#endif
     235
    228236  //====== Tool list ========
    229237    m_acTEncTopList[iViewIdx]->setUseSBACRD                    ( m_bUseSBACRD   );
     
    564572#endif
    565573
     574#if MTK_D0156
     575
     576#if MERL_VSP_COMPENSATION_C0152
     577      m_acTEncDepthTopList[iViewIdx]->setUseVSPCompensation           ( iViewIdx ? true : false );
     578#endif
     579
     580      m_acTEncDepthTopList[iViewIdx]->setUseDVPRefine                 ( iViewIdx ? true : false );
     581#endif
     582
    566583      //====== Weighted Prediction ========
    567584      m_acTEncDepthTopList[iViewIdx]->setUseWP                        ( m_bUseWeightPred      );
Note: See TracChangeset for help on using the changeset viewer.