Ignore:
Timestamp:
9 Nov 2012, 15:31:44 (14 years ago)
Author:
tech
Message:

Fixed wrong data types in RDO (FIX_RDO_NEGDIST)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-4.1-dev1-HHI/source/Lib/TLibCommon/TComDataCU.h

    r169 r175  
    236236  Bool          m_bDecSubCu;          ///< indicates decoder-mode
    237237  Double        m_dTotalCost;         ///< sum of partition RD costs
     238#if FIX_RDO_NEGDIST
     239  Dist          m_uiTotalDistortion;  ///< sum of partition distortion
     240#else
    238241  UInt          m_uiTotalDistortion;  ///< sum of partition distortion
     242#endif
    239243  UInt          m_uiTotalBits;        ///< sum of partition bits
    240244  UInt          m_uiTotalBins;       ///< sum of partition bins
     
    736740 
    737741  Double&       getTotalCost()                  { return m_dTotalCost;        }
     742#if FIX_RDO_NEGDIST
     743  Dist&         getTotalDistortion()            { return m_uiTotalDistortion; }
     744#else
    738745  UInt&         getTotalDistortion()            { return m_uiTotalDistortion; }
     746#endif
    739747  UInt&         getTotalBits()                  { return m_uiTotalBits;       }
    740748  UInt&         getTotalNumPart()               { return m_uiNumPartition;    }
Note: See TracChangeset for help on using the changeset viewer.