Changeset 1051 in 3DVCSoftware


Ignore:
Timestamp:
27 Aug 2014, 18:12:33 (10 years ago)
Author:
tech
Message:

Fix of lambda calculation in VSO.

Location:
branches/HTM-12.0-dev1/source/Lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-12.0-dev1/source/Lib/TLibCommon/TypeDef.h

    r1049 r1051  
    306306#define H_3D_VSO_RM_ASSERTIONS            0   // Output VSO assertions
    307307#define H_3D_VSO_SYNTH_DIST_OUT           0   // Output of synthesized view distortion instead of depth distortion in encoder output
    308 #define H_3D_VSO_FIX                      0   // This fix should be enabled after verification
     308#define H_3D_VSO_FIX                      1   // This fix should be enabled after verification
    309309#endif
    310310
  • branches/HTM-12.0-dev1/source/Lib/TLibEncoder/TEncSearch.cpp

    r1048 r1051  
    30833083        Double dLambda;
    30843084        if ( m_pcRdCost->getUseLambdaScaleVSO() )
     3085        {
    30853086          dLambda = m_pcRdCost->getUseRenModel() ? m_pcRdCost->getLambdaVSO() : m_pcRdCost->getSqrtLambdaVSO();
     3087        }
    30863088        else       
     3089        {
    30873090          dLambda = m_pcRdCost->getSqrtLambda();       
    3088 
    3089         Double cost      = (Double)uiSad + (Double)iModeBits * m_pcRdCost->getSqrtLambda();
     3091        }
     3092
     3093        Double cost      = (Double)uiSad + (Double)iModeBits * dLambda;
    30903094#else
    30913095        Double cost      = (Double)uiSad + (Double)iModeBits * m_pcRdCost->getSqrtLambda();
Note: See TracChangeset for help on using the changeset viewer.