Changeset 427 in 3DVCSoftware for branches/HTM-6.2-dev0/source/App/TAppEncoder
- Timestamp:
- 21 May 2013, 12:40:58 (12 years ago)
- Location:
- branches/HTM-6.2-dev0/source/App/TAppEncoder
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-6.2-dev0/source/App/TAppEncoder/TAppEncCfg.cpp
r390 r427 389 389 #endif 390 390 #endif 391 #if MTK_D0156 392 ("UseVSPCompensation", m_bUseVSPCompensation, true, "Depth dependent tools: BVSP" ) 393 ("UseDVPRefine", m_bUseDVPRefine, true, "Depth dependent tools: DoNBDV" ) 394 #endif 391 395 392 396 /* Coding tools */ … … 396 400 ("SAO", m_abUseSAO, std::vector<Bool>(1, true), "SAO") 397 401 ("MaxNumOffsetsPerPic", m_maxNumOffsetsPerPic, 2048, "2048: default") 402 #if LGE_SAO_MIGRATION_D0091 403 ("SAOLcuBoundary", m_saoLcuBoundary, false, "0: right/bottom LCU boundary areas skipped from SAO parameter estimation, 1: non-deblocked pixels are used for those areas") 404 ("SAOLcuBasedOptimization", m_saoLcuBasedOptimization, true, "0: SAO picture-based optimization, 1: SAO LCU-based optimization ") 405 #else 398 406 ("SAOInterleaving", m_saoInterleavingFlag, false, "0: SAO Picture Mode, 1: SAO Interleaving ") 407 #endif 399 408 400 409 ("ALFEncodePassReduction", m_iALFEncodePassReduction, 0, "0:Original 16-pass, 1: 1-pass, 2: 2-pass encoding") … … 1637 1646 printf("CIP:%d ", m_bUseConstrainedIntraPred); 1638 1647 printf("PCM:%d ", (m_usePCM && (1<<m_uiPCMLog2MinSize) <= m_uiMaxCUWidth)? 1 : 0); 1648 #if LGE_SAO_MIGRATION_D0091 1649 printf("SAOLcuBasedOptimization:%d ", (m_saoLcuBasedOptimization)?(1):(0)); 1650 #else 1639 1651 printf("SAOInterleaving:%d ", (m_saoInterleavingFlag)?(1):(0)); 1652 #endif 1640 1653 #if LOSSLESS_CODING 1641 1654 printf("LosslessCuEnabled:%d ", (m_useLossless)? 1:0 ); … … 1723 1736 printf("DLT:%d ", m_bUseDLT ? 1 : 0 ); 1724 1737 #endif 1738 1739 #if MTK_D0156 1740 printf("BVSP:%d ", m_bUseVSPCompensation ? 1 : 0 ); 1741 printf("DoNBDV:%d ", m_bUseDVPRefine ? 1 : 0 ); 1742 #endif 1743 1725 1744 #if LGE_WVSO_A0119 1726 1745 if ( m_bUseWVSO ) -
branches/HTM-6.2-dev0/source/App/TAppEncoder/TAppEncCfg.h
r373 r427 165 165 #endif 166 166 Int m_maxNumOffsetsPerPic; ///< SAO maximun number of offset per picture 167 #if LGE_SAO_MIGRATION_D0091 168 Bool m_saoLcuBoundary; ///< SAO parameter estimation using non-deblocked pixels for LCU bottom and right boundary areas 169 Bool m_saoLcuBasedOptimization; ///< SAO LCU-based optimization 170 #else 167 171 Bool m_saoInterleavingFlag; ///< SAO interleaving flag 172 #endif 168 173 // coding tools (loop filter) 169 174 vector<Bool> m_abUseALF; ///< flag for using adaptive loop filter [0] - video, [1] - depth … … 321 326 #endif 322 327 328 #if MTK_D0156 329 330 #if MERL_VSP_COMPENSATION_C0152 331 Bool m_bUseVSPCompensation; 332 #endif 333 334 Bool m_bUseDVPRefine; 335 #endif 336 323 337 // internal member functions 324 338 Void xSetGlobal (); ///< set global variables -
branches/HTM-6.2-dev0/source/App/TAppEncoder/TAppEncTop.cpp
r412 r427 230 230 #endif 231 231 #endif 232 #if MTK_D0156 233 #if MERL_VSP_COMPENSATION_C0152 234 m_acTEncTopList[iViewIdx]->setUseVSPCompensation ( iViewIdx ? m_bUseVSPCompensation : 0 ); 235 #endif 236 m_acTEncTopList[iViewIdx]->setUseDVPRefine ( iViewIdx ? m_bUseDVPRefine : 0 ); 237 #endif 232 238 233 239 //====== Tool list ======== … … 308 314 #endif 309 315 m_acTEncTopList[iViewIdx]->setMaxNumOffsetsPerPic (m_maxNumOffsetsPerPic); 316 #if LGE_SAO_MIGRATION_D0091 317 m_acTEncTopList[iViewIdx]->setSaoLcuBoundary (m_saoLcuBoundary); 318 m_acTEncTopList[iViewIdx]->setSaoLcuBasedOptimization (m_saoLcuBasedOptimization); 319 #else 310 320 m_acTEncTopList[iViewIdx]->setSaoInterleavingFlag (m_saoInterleavingFlag); 321 #endif 311 322 m_acTEncTopList[iViewIdx]->setPCMInputBitDepthFlag ( m_bPCMInputBitDepthFlag); 312 323 m_acTEncTopList[iViewIdx]->setPCMFilterDisableFlag ( m_bPCMFilterDisableFlag); … … 573 584 #endif 574 585 #endif 586 #if MTK_D0156 587 588 #if MERL_VSP_COMPENSATION_C0152 589 m_acTEncDepthTopList[iViewIdx]->setUseVSPCompensation ( iViewIdx ? true : false ); 590 #endif 591 592 m_acTEncDepthTopList[iViewIdx]->setUseDVPRefine ( iViewIdx ? true : false ); 593 #endif 575 594 576 595 //====== Weighted Prediction ======== … … 615 634 #endif 616 635 m_acTEncDepthTopList[iViewIdx]->setMaxNumOffsetsPerPic (m_maxNumOffsetsPerPic); 636 #if LGE_SAO_MIGRATION_D0091 637 m_acTEncDepthTopList[iViewIdx]->setSaoLcuBoundary (m_saoLcuBoundary); 638 m_acTEncDepthTopList[iViewIdx]->setSaoLcuBasedOptimization (m_saoLcuBasedOptimization); 639 #else 617 640 m_acTEncDepthTopList[iViewIdx]->setSaoInterleavingFlag (m_saoInterleavingFlag); 641 #endif 618 642 m_acTEncDepthTopList[iViewIdx]->setPCMInputBitDepthFlag ( m_bPCMInputBitDepthFlag); 619 643 m_acTEncDepthTopList[iViewIdx]->setPCMFilterDisableFlag ( m_bPCMFilterDisableFlag);
Note: See TracChangeset for help on using the changeset viewer.