Changeset 1342 in SHVCSoftware for branches/SHM-dev


Ignore:
Timestamp:
22 Jul 2015, 02:56:44 (9 years ago)
Author:
seregin
Message:

port rev 4420

Location:
branches/SHM-dev/source/Lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h

    r1341 r1342  
    163163
    164164#define DECODER_CHECK_SUBSTREAM_AND_SLICE_TRAILING_BYTES  1
    165 #define RDO_WITHOUT_DQP_BITS                              0 ///< Disable counting dQP bits in RDO-based mode decision
    166165#define SAO_ENCODE_ALLOW_USE_PREDEBLOCK                   1
    167166#define T0196_SELECTIVE_RDOQ                              1 ///< selective RDOQ
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncCu.cpp

    r1335 r1342  
    928928        if ( hasResidual )
    929929        {
    930 #if !RDO_WITHOUT_DQP_BITS
    931930          m_pcEntropyCoder->resetBits();
    932931          m_pcEntropyCoder->encodeQP( rpcTempCU, uiTargetPartIdx, false );
     
    934933          rpcTempCU->getTotalBins() += ((TEncBinCABAC *)((TEncSbac*)m_pcEntropyCoder->m_pcEntropyCoderIf)->getEncBinIf())->getBinsCoded();
    935934          rpcTempCU->getTotalCost()  = m_pcRdCost->calcRdCost( rpcTempCU->getTotalBits(), rpcTempCU->getTotalDistortion() );
    936 #endif
    937935
    938936          Bool foundNonZeroCbf = false;
     
    16571655    if ( pcCU->getQtRootCbf( 0) )
    16581656    {
    1659 #if !RDO_WITHOUT_DQP_BITS
    16601657      m_pcEntropyCoder->resetBits();
    16611658      m_pcEntropyCoder->encodeQP( pcCU, 0, false );
     
    16631660      pcCU->getTotalBins() += ((TEncBinCABAC *)((TEncSbac*)m_pcEntropyCoder->m_pcEntropyCoderIf)->getEncBinIf())->getBinsCoded();
    16641661      pcCU->getTotalCost() = m_pcRdCost->calcRdCost( pcCU->getTotalBits(), pcCU->getTotalDistortion() );
    1665 #endif
    16661662    }
    16671663    else
Note: See TracChangeset for help on using the changeset viewer.