Changeset 1314 in SHVCSoftware


Ignore:
Timestamp:
21 Jul 2015, 01:36:13 (9 years ago)
Author:
seregin
Message:

port rev 4388

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncCu.cpp

    r1311 r1314  
    774774    }
    775775
     776    m_pcRDGoOnSbacCoder->load(m_pppcRDSbacCoder[uiDepth][CI_NEXT_BEST]);
    776777    m_pcEntropyCoder->resetBits();
    777778    m_pcEntropyCoder->encodeSplitFlag( rpcBestCU, 0, uiDepth, true );
     
    779780    rpcBestCU->getTotalBins() += ((TEncBinCABAC *)((TEncSbac*)m_pcEntropyCoder->m_pcEntropyCoderIf)->getEncBinIf())->getBinsCoded();
    780781    rpcBestCU->getTotalCost()  = m_pcRdCost->calcRdCost( rpcBestCU->getTotalBits(), rpcBestCU->getTotalDistortion() );
     782    m_pcRDGoOnSbacCoder->store(m_pppcRDSbacCoder[uiDepth][CI_NEXT_BEST]);
    781783
    782784    // Early CU determination
     
    898900      }
    899901
     902      m_pcRDGoOnSbacCoder->load(m_pppcRDSbacCoder[uhNextDepth][CI_NEXT_BEST]);
    900903      if( !bBoundary )
    901904      {
     
    943946      }
    944947
    945       m_pppcRDSbacCoder[uhNextDepth][CI_NEXT_BEST]->store(m_pppcRDSbacCoder[uiDepth][CI_TEMP_BEST]);
     948      m_pcRDGoOnSbacCoder->store(m_pppcRDSbacCoder[uiDepth][CI_TEMP_BEST]);
    946949
    947950      // 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.