Ticket #30: quick_fix.patch

File quick_fix.patch, 1.0 KB (added by tpoirier, 5 years ago)
  • Lib/TLibCommon/TypeDef.h

     
    4747//! \ingroup TLibCommon
    4848//! \{
    4949
     50#define QUICK_FIX 1
     51
    5052///////////////////////////////////////////////////////////
    5153// KTA tools section start
    5254///////////////////////////////////////////////////////////
  • Lib/TLibEncoder/TEncCu.cpp

     
    42484248    if( rpcTempCU->getWidth( 0 ) > 64 )
    42494249#endif
    42504250    {
     4251#if QUICK_FIX
     4252#if JVET_C0024_QTBT
     4253      m_pcRDGoOnSbacCoder->store(m_ppppcRDSbacCoder[uiWIdx][uiHIdx][CI_TEMP_BEST]);
     4254#else
     4255      m_pcRDGoOnSbacCoder->store(m_pppcRDSbacCoder[uiDepth][CI_TEMP_BEST]);
     4256#endif
     4257#endif
    42514258      rpcTempCU->getTotalCost() = MAX_DOUBLE / 4;
    42524259      rpcTempCU->getTotalDistortion() = MAX_INT;
    42534260      xCheckBestMode(rpcBestCU, rpcTempCU, uiDepth);