Changeset 1370 in SHVCSoftware
- Timestamp:
- 22 Jul 2015, 04:53:55 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibEncoder/TEncCu.cpp
r1369 r1370 917 917 } 918 918 919 UInt uiTargetPartIdx = 0;920 919 if ( hasResidual ) 921 920 { 922 921 m_pcEntropyCoder->resetBits(); 923 m_pcEntropyCoder->encodeQP( rpcTempCU, uiTargetPartIdx, false );922 m_pcEntropyCoder->encodeQP( rpcTempCU, 0, false ); 924 923 rpcTempCU->getTotalBits() += m_pcEntropyCoder->getNumberOfWrittenBits(); // dQP bits 925 924 rpcTempCU->getTotalBins() += ((TEncBinCABAC *)((TEncSbac*)m_pcEntropyCoder->m_pcEntropyCoderIf)->getEncBinIf())->getBinsCoded(); … … 927 926 928 927 Bool foundNonZeroCbf = false; 929 rpcTempCU->setQPSubCUs( rpcTempCU->getRefQP( uiTargetPartIdx), 0, uiDepth, foundNonZeroCbf );928 rpcTempCU->setQPSubCUs( rpcTempCU->getRefQP( 0 ), 0, uiDepth, foundNonZeroCbf ); 930 929 assert( foundNonZeroCbf ); 931 930 } 932 931 else 933 932 { 934 rpcTempCU->setQPSubParts( rpcTempCU->getRefQP( uiTargetPartIdx), 0, uiDepth ); // set QP to default QP933 rpcTempCU->setQPSubParts( rpcTempCU->getRefQP( 0 ), 0, uiDepth ); // set QP to default QP 935 934 } 936 935 }
Note: See TracChangeset for help on using the changeset viewer.