Changeset 81 in 3DVCSoftware for trunk/source/Lib/TLibCommon/TComRdCost.h


Ignore:
Timestamp:
21 Jun 2012, 21:01:20 (12 years ago)
Author:
tech
Message:

Bug fixes:

  • Residual Prediction
  • VPS
  • VSO
  • Renderer
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/Lib/TLibCommon/TComRdCost.h

    r56 r81  
    219219#endif
    220220  UInt    xGetComponentBits( Int iVal );
    221   Void    getMotionCost( Bool bSad, Int iAdd ) { m_uiCost = (bSad ? m_uiLambdaMotionSAD + iAdd : m_uiLambdaMotionSSE + iAdd); }
     221  Void    getMotionCost( Bool bSad, Int iAdd )
     222{
     223     m_uiCost = (bSad ? m_uiLambdaMotionSAD + iAdd : m_uiLambdaMotionSSE + iAdd);
     224#if HHI_FIX
     225    m_uiLambdaMVReg = ( bSad ? m_uiLambdaMVRegSAD         : m_uiLambdaMVRegSSE         );
     226#endif
     227   }
    222228  Void    setPredictor( TComMv& rcMv )
    223229  {
     
    270276  __inline UInt     getMultiviewRegCost  ( Int x, Int y )
    271277  {
     278#if FIX203
     279    return m_uiLambdaMVReg * getBits(x, y) >> 16;
     280#else
    272281    return ( ( m_uiLambdaMVReg * ( m_puiHorRegCost[ x * ( 1 << m_iCostScale ) ] + m_puiVerRegCost[ y * ( 1 << m_iCostScale ) ] ) ) >> 16 );
     282#endif
    273283  }
    274284 
Note: See TracChangeset for help on using the changeset viewer.