- Timestamp:
- 9 Nov 2012, 14:20:38 (12 years ago)
- 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 292 292 ("MaxCuDQPDepth,-dqd", m_iMaxCuDQPDepth, 0, "max depth for a minimum CuDQP") 293 293 294 295 294 ("ChromaQpOffset, -cqo", m_iChromaQpOffset, 0, "ChromaQpOffset") 295 ("ChromaQpOffset2nd,-cqo2", m_iChromaQpOffset2nd, 0, "ChromaQpOffset2nd") 296 296 297 297 #if ADAPTIVE_QP_SELECTION … … 454 454 "\t0: disable") 455 455 456 #if TMVP_DEPTH_SWITCH 457 ("TMVP", m_enableTMVP, std::vector<Bool>(1,true), "Enable TMVP" ) 458 #else 456 459 ("TMVP", m_enableTMVP, true, "Enable TMVP" ) 460 #endif 457 461 458 462 ("FEN", m_bUseFastEnc, false, "fast encoder setting") … … 683 687 #endif 684 688 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 685 698 686 699 #if HHI_VSO … … 1606 1619 } 1607 1620 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 ); 1609 1622 printf("Coded Camera Param. Precision: %d\n", m_iCodedCamParPrecision); 1610 1623 … … 1704 1717 printf(" ScalingList:%d ", m_useScalingListId ); 1705 1718 1719 #if !TMVP_DEPTH_SWITCH 1706 1720 printf("TMVP:%d ", m_enableTMVP ); 1721 #endif 1707 1722 1708 1723 #if ADAPTIVE_QP_SELECTION … … 1718 1733 printf("SAO:%d ", (m_abUseSAO [0] ? 1 : 0)); 1719 1734 printf("RDQ:%d ", (m_abUseRDOQ[0] ? 1 : 0) ); 1735 #if TMVP_DEPTH_SWITCH 1736 printf("TMVP:%d ", (m_enableTMVP[0] ? 1 : 0) ); 1737 #endif 1720 1738 printf("\n"); 1721 1739 … … 1724 1742 printf("SAO:%d ", (m_abUseSAO [1] ? 1 : 0)); 1725 1743 printf("RDQ:%d ", (m_abUseRDOQ[1] ? 1 : 0)); 1744 #if TMVP_DEPTH_SWITCH 1745 printf("TMVP:%d ", (m_enableTMVP[1] ? 1 : 0) ); 1746 #endif 1726 1747 #if HHI_VSO 1727 1748 printf("VSO:%d ", m_bUseVSO ); -
branches/HTM-4.1-dev1-HHI/source/App/TAppEncoder/TAppEncCfg.h
r120 r174 258 258 UInt m_uiBiPredIdc; ///< Use of Bi-Directional Weighting Prediction (B_SLICE): explicit(1) or implicit(2) 259 259 260 #if TMVP_DEPTH_SWITCH 261 vector<Bool> m_enableTMVP; ///< Enable TMVP [0] video, [1] depth 262 #else 260 263 Bool m_enableTMVP; 264 #endif 265 261 266 #if MULTIBITS_DATA_HIDING 262 267 Int m_signHideFlag; -
branches/HTM-4.1-dev1-HHI/source/App/TAppEncoder/TAppEncTop.cpp
r124 r174 342 342 m_acTEncTopList[iViewIdx]->setWaveFrontFlush ( m_iWaveFrontFlush ); 343 343 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 345 349 m_acTEncTopList[iViewIdx]->setUseScalingListId ( m_useScalingListId ); 346 350 m_acTEncTopList[iViewIdx]->setScalingListFile ( m_scalingListFile ); … … 621 625 m_acTEncDepthTopList[iViewIdx]->setWaveFrontFlush ( m_iWaveFrontFlush ); 622 626 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 624 632 m_acTEncDepthTopList[iViewIdx]->setUseScalingListId ( m_useScalingListId ); 625 633 m_acTEncDepthTopList[iViewIdx]->setScalingListFile ( m_scalingListFile ); -
branches/HTM-4.1-dev1-HHI/source/Lib/TLibCommon/TypeDef.h
r173 r174 59 59 // B 60 60 #define FIX_LGE_IVMP_PARALLEL_MERGE_B0136 1 61 #define TMVP_DEPTH_SWITCH 1 // related to JCT3V-B0092 61 62 62 63
Note: See TracChangeset for help on using the changeset viewer.