Changeset 1314 in SHVCSoftware
- Timestamp:
- 21 Jul 2015, 01:36:13 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibEncoder/TEncCu.cpp
r1311 r1314 774 774 } 775 775 776 m_pcRDGoOnSbacCoder->load(m_pppcRDSbacCoder[uiDepth][CI_NEXT_BEST]); 776 777 m_pcEntropyCoder->resetBits(); 777 778 m_pcEntropyCoder->encodeSplitFlag( rpcBestCU, 0, uiDepth, true ); … … 779 780 rpcBestCU->getTotalBins() += ((TEncBinCABAC *)((TEncSbac*)m_pcEntropyCoder->m_pcEntropyCoderIf)->getEncBinIf())->getBinsCoded(); 780 781 rpcBestCU->getTotalCost() = m_pcRdCost->calcRdCost( rpcBestCU->getTotalBits(), rpcBestCU->getTotalDistortion() ); 782 m_pcRDGoOnSbacCoder->store(m_pppcRDSbacCoder[uiDepth][CI_NEXT_BEST]); 781 783 782 784 // Early CU determination … … 898 900 } 899 901 902 m_pcRDGoOnSbacCoder->load(m_pppcRDSbacCoder[uhNextDepth][CI_NEXT_BEST]); 900 903 if( !bBoundary ) 901 904 { … … 943 946 } 944 947 945 m_p ppcRDSbacCoder[uhNextDepth][CI_NEXT_BEST]->store(m_pppcRDSbacCoder[uiDepth][CI_TEMP_BEST]);948 m_pcRDGoOnSbacCoder->store(m_pppcRDSbacCoder[uiDepth][CI_TEMP_BEST]); 946 949 947 950 // TODO: this does not account for the slice bytes already written. See other instances of FIXED_NUMBER_OF_BYTES
Note: See TracChangeset for help on using the changeset viewer.