Changeset 115 in 3DVCSoftware for trunk/source/App/TAppEncoder
- Timestamp:
- 30 Aug 2012, 14:52:41 (12 years ago)
- Location:
- trunk/source/App/TAppEncoder
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/App/TAppEncoder/TAppEncCfg.cpp
r100 r115 335 335 ("AllowNegDist", m_bAllowNegDist , true , "Allow negative Distortion in VSO") 336 336 #endif 337 #if LGE_WVSO_A0119 338 ("WVSO", m_bWVSO , true , "Use WVSO" ) 339 ("VSOWeight", m_iVSOWeight , 10 , "VSO Weight" ) 340 ("VSDWeight", m_iVSDWeight , 1 , "SAIT Weight" ) 341 ("DWeight", m_iDWeight , 1 , "SSE Weight" ) 342 #endif 343 344 #if OL_DEPTHLIMIT 345 ("DPL", m_bDepthPartitionLimiting , false , "Use DepthPartitionLimiting" ) 346 #endif 337 347 338 348 #endif … … 644 654 #endif 645 655 656 #if LGE_WVSO_A0119 657 m_bWVSO = m_bUseVSO && m_bWVSO && m_bUsingDepthMaps; 658 #endif 646 659 xCleanUpVectors(); 647 660 … … 1688 1701 #if HHI_VSO 1689 1702 printf("VSO:%d ", m_bUseVSO ); 1690 #endif 1703 #endif 1704 #if LGE_WVSO_A0119 1705 printf("WVSO:%d ", m_bWVSO ); 1706 #endif 1707 #if OL_DEPTHLIMIT 1708 printf("DPL:%d ", m_bDepthPartitionLimiting); 1709 #endif 1691 1710 #if HHI_DMM_WEDGE_INTRA || HHI_DMM_PRED_TEX 1692 1711 printf("DMM:%d ", m_bUseDMM ); … … 1694 1713 #if HHI_MPI 1695 1714 printf("MVI:%d ", m_bUseMVI ? 1 : 0 ); 1715 #endif 1716 #if LGE_WVSO_A0119 1717 printf("\nVSO : SAIT : SAD weight = %d : %d : %d ", m_iVSOWeight, m_iVSDWeight, m_iDWeight ); 1696 1718 #endif 1697 1719 printf("\n\n"); -
trunk/source/App/TAppEncoder/TAppEncCfg.h
r102 r115 297 297 Bool m_bUseEstimatedVSD; ///< Flag for using model based VSD estimation instead of VSO for some encoder decisions (JCT3V-A0033 modification 3) 298 298 #endif 299 299 #if LGE_WVSO_A0119 300 Bool m_bWVSO; ///< flag for using View Synthesis Optimization 301 Int m_iVSOWeight; 302 Int m_iVSDWeight; 303 Int m_iDWeight; 304 #endif 300 305 // coding tools (depth intra modes) 301 306 #if HHI_DMM_WEDGE_INTRA || HHI_DMM_PRED_TEX 302 307 Bool m_bUseDMM; ///< flag for using DMM 308 #endif 309 310 #if OL_DEPTHLIMIT 311 Bool m_bDepthPartitionLimiting; 303 312 #endif 304 313 -
trunk/source/App/TAppEncoder/TAppEncTop.cpp
r102 r115 207 207 m_acTEncTopList[iViewIdx]->setUseEstimatedVSD ( false ); 208 208 #endif 209 #if LGE_WVSO_A0119 210 m_acTEncTopList[iViewIdx]->setWVSO ( false ); 211 #endif 209 212 #endif 210 213 … … 361 364 m_acTEncTopList[iViewIdx]->setUseDMM ( false ); 362 365 #endif 366 #if OL_DEPTHLIMIT 367 m_acTEncTopList[iViewIdx]->setUseDPL ( false ); 368 #endif 363 369 #if HHI_MPI 364 370 m_acTEncTopList[iViewIdx]->setUseMVI( false ); … … 524 530 m_acTEncDepthTopList[iViewIdx]->setUseEstimatedVSD ( m_bUseEstimatedVSD ); 525 531 #endif 532 #if LGE_WVSO_A0119 533 m_acTEncDepthTopList[iViewIdx]->setWVSO ( m_bWVSO ); 534 #endif 526 535 #endif 527 536 … … 634 643 m_acTEncDepthTopList[iViewIdx]->setUseDMM ( m_bUseDMM ); 635 644 #endif 645 #if OL_DEPTHLIMIT 646 m_acTEncDepthTopList[iViewIdx]->setUseDPL (m_bDepthPartitionLimiting); 647 #endif 636 648 #if HHI_MPI 637 649 m_acTEncDepthTopList[iViewIdx]->setUseMVI( m_bUseMVI ); … … 690 702 AOT(true); 691 703 } 704 #if LGE_WVSO_A0119 705 for ( Int iViewNum = 0; iViewNum < m_iNumberOfViews; iViewNum++ ) 706 { 707 for (Int iContent = 0; iContent < 2; iContent++ ) 708 { 709 TEncTop* pcEncTop = ( iContent == 0 ) ? m_acTEncTopList[iViewNum] : m_acTEncDepthTopList[iViewNum]; 710 pcEncTop->setWVSO( m_bWVSO ); 711 pcEncTop->setVSOWeight( m_iVSOWeight ); 712 pcEncTop->setVSDWeight( m_iVSDWeight ); 713 pcEncTop->setDWeight( m_iDWeight ); 714 } 715 } 716 #endif 692 717 } 693 718 #endif
Note: See TracChangeset for help on using the changeset viewer.