Changeset 120 in 3DVCSoftware for trunk/source/App


Ignore:
Timestamp:
30 Aug 2012, 19:52:58 (12 years ago)
Author:
tech
Message:

Cleanup of WVSO and fixed cfg-file switch

Location:
trunk/source/App/TAppEncoder
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/App/TAppEncoder/TAppEncCfg.cpp

    r116 r120  
    336336#endif
    337337#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" )
     338  ("WVSO",                            m_bUseWVSO                , false         , "Use depth fidelity term for VSO" )
     339  ("VSOWeight",                       m_iVSOWeight              , 10            , "Synthesized View Distortion Change weight" )
     340  ("VSDWeight",                       m_iVSDWeight              , 1             , "View Synthesis Distortion estimate weight" )
     341  ("DWeight",                         m_iDWeight                , 1             , "Depth Distortion weight" )
    342342#endif
    343343
    344344#if OL_DEPTHLIMIT_A0044
    345   ("DPL",   m_bDepthPartitionLimiting          , false         , "Use DepthPartitionLimiting" )
     345  ("DPL",                             m_bDepthPartitionLimiting , false         , "Use DepthPartitionLimiting" )
    346346#endif
    347347
     
    655655
    656656#if LGE_WVSO_A0119
    657   m_bWVSO = m_bUseVSO && m_bWVSO && m_bUsingDepthMaps;
     657  m_bUseWVSO = m_bUseVSO && m_bUseWVSO && m_bUsingDepthMaps;
    658658#endif
    659659  xCleanUpVectors();
     
    17031703#endif
    17041704#if LGE_WVSO_A0119
    1705   printf("WVSO:%d ", m_bWVSO );
     1705  printf("WVSO:%d ", m_bUseWVSO );
    17061706#endif
    17071707#if OL_DEPTHLIMIT_A0044
     
    17151715#endif
    17161716#if LGE_WVSO_A0119
    1717   printf("\nVSO : SAIT : SAD weight = %d : %d : %d ", m_iVSOWeight, m_iVSDWeight, m_iDWeight );
     1717  printf("\nVSO : VSD : SAD weight = %d : %d : %d ", m_iVSOWeight, m_iVSDWeight, m_iDWeight );
    17181718#endif
    17191719  printf("\n\n");
  • trunk/source/App/TAppEncoder/TAppEncCfg.h

    r116 r120  
    298298#endif
    299299#if LGE_WVSO_A0119
    300   Bool      m_bWVSO;                                    ///< flag for using View Synthesis Optimization 
     300  Bool      m_bUseWVSO;                                    ///< flag for using View Synthesis Optimization 
    301301  Int       m_iVSOWeight;
    302302  Int       m_iVSDWeight;
  • trunk/source/App/TAppEncoder/TAppEncTop.cpp

    r116 r120  
    208208#endif
    209209#if LGE_WVSO_A0119
    210     m_acTEncTopList[iViewIdx]->setWVSO                         ( false );
     210    m_acTEncTopList[iViewIdx]->setUseWVSO                      ( false );
    211211#endif
    212212#endif
     
    531531#endif
    532532#if LGE_WVSO_A0119
    533       m_acTEncDepthTopList[iViewIdx]->setWVSO                          ( m_bWVSO      );
     533      m_acTEncDepthTopList[iViewIdx]->setUseWVSO                      ( m_bUseWVSO         );
    534534#endif
    535535#endif
     
    708708      {
    709709        TEncTop* pcEncTop = ( iContent == 0 ) ? m_acTEncTopList[iViewNum] : m_acTEncDepthTopList[iViewNum];
    710         pcEncTop->setWVSO( m_bWVSO );
     710        pcEncTop->setUseWVSO  ( m_bUseWVSO );
    711711        pcEncTop->setVSOWeight( m_iVSOWeight );
    712712        pcEncTop->setVSDWeight( m_iVSDWeight );
    713         pcEncTop->setDWeight( m_iDWeight );
     713        pcEncTop->setDWeight  ( m_iDWeight );
    714714      }
    715715    }
Note: See TracChangeset for help on using the changeset viewer.