Changeset 1342 in SHVCSoftware
- Timestamp:
- 22 Jul 2015, 02:56:44 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1341 r1342 163 163 164 164 #define DECODER_CHECK_SUBSTREAM_AND_SLICE_TRAILING_BYTES 1 165 #define RDO_WITHOUT_DQP_BITS 0 ///< Disable counting dQP bits in RDO-based mode decision166 165 #define SAO_ENCODE_ALLOW_USE_PREDEBLOCK 1 167 166 #define T0196_SELECTIVE_RDOQ 1 ///< selective RDOQ -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCu.cpp
r1335 r1342 928 928 if ( hasResidual ) 929 929 { 930 #if !RDO_WITHOUT_DQP_BITS931 930 m_pcEntropyCoder->resetBits(); 932 931 m_pcEntropyCoder->encodeQP( rpcTempCU, uiTargetPartIdx, false ); … … 934 933 rpcTempCU->getTotalBins() += ((TEncBinCABAC *)((TEncSbac*)m_pcEntropyCoder->m_pcEntropyCoderIf)->getEncBinIf())->getBinsCoded(); 935 934 rpcTempCU->getTotalCost() = m_pcRdCost->calcRdCost( rpcTempCU->getTotalBits(), rpcTempCU->getTotalDistortion() ); 936 #endif937 935 938 936 Bool foundNonZeroCbf = false; … … 1657 1655 if ( pcCU->getQtRootCbf( 0) ) 1658 1656 { 1659 #if !RDO_WITHOUT_DQP_BITS1660 1657 m_pcEntropyCoder->resetBits(); 1661 1658 m_pcEntropyCoder->encodeQP( pcCU, 0, false ); … … 1663 1660 pcCU->getTotalBins() += ((TEncBinCABAC *)((TEncSbac*)m_pcEntropyCoder->m_pcEntropyCoderIf)->getEncBinIf())->getBinsCoded(); 1664 1661 pcCU->getTotalCost() = m_pcRdCost->calcRdCost( pcCU->getTotalBits(), pcCU->getTotalDistortion() ); 1665 #endif1666 1662 } 1667 1663 else
Note: See TracChangeset for help on using the changeset viewer.