Changeset 110 in 3DVCSoftware for branches/HTM-4.0-LG/source/App/TAppEncoder
- Timestamp:
- 22 Aug 2012, 03:51:38 (12 years ago)
- Location:
- branches/HTM-4.0-LG/source/App/TAppEncoder
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-4.0-LG/source/App/TAppEncoder/TAppEncCfg.cpp
r100 r110 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 337 343 338 344 #endif … … 644 650 #endif 645 651 652 #if LGE_WVSO_A0119 653 m_bWVSO = m_bUseVSO && m_bWVSO && m_bUsingDepthMaps; 654 #endif 646 655 xCleanUpVectors(); 647 656 … … 1688 1697 #if HHI_VSO 1689 1698 printf("VSO:%d ", m_bUseVSO ); 1690 #endif 1699 #endif 1700 #if LGE_WVSO_A0119 1701 printf("WVSO:%d ", m_bWVSO ); 1702 #endif 1691 1703 #if HHI_DMM_WEDGE_INTRA || HHI_DMM_PRED_TEX 1692 1704 printf("DMM:%d ", m_bUseDMM ); … … 1694 1706 #if HHI_MPI 1695 1707 printf("MVI:%d ", m_bUseMVI ? 1 : 0 ); 1708 #endif 1709 #if LGE_WVSO_A0119 1710 printf("\nVSO : SAIT : SAD weight = %d : %d : %d ", m_iVSOWeight, m_iVSDWeight, m_iDWeight ); 1696 1711 #endif 1697 1712 printf("\n\n"); -
branches/HTM-4.0-LG/source/App/TAppEncoder/TAppEncCfg.h
r102 r110 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 -
branches/HTM-4.0-LG/source/App/TAppEncoder/TAppEncTop.cpp
r102 r110 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 … … 524 527 m_acTEncDepthTopList[iViewIdx]->setUseEstimatedVSD ( m_bUseEstimatedVSD ); 525 528 #endif 529 #if LGE_WVSO_A0119 530 m_acTEncDepthTopList[iViewIdx]->setWVSO ( m_bWVSO ); 531 #endif 526 532 #endif 527 533 … … 690 696 AOT(true); 691 697 } 698 #if LGE_WVSO_A0119 699 for ( Int iViewNum = 0; iViewNum < m_iNumberOfViews; iViewNum++ ) 700 { 701 for (Int iContent = 0; iContent < 2; iContent++ ) 702 { 703 TEncTop* pcEncTop = ( iContent == 0 ) ? m_acTEncTopList[iViewNum] : m_acTEncDepthTopList[iViewNum]; 704 pcEncTop->setWVSO( m_bWVSO ); 705 pcEncTop->setVSOWeight( m_iVSOWeight ); 706 pcEncTop->setVSDWeight( m_iVSDWeight ); 707 pcEncTop->setDWeight( m_iDWeight ); 708 } 709 } 710 #endif 692 711 } 693 712 #endif
Note: See TracChangeset for help on using the changeset viewer.