Changeset 101 in 3DVCSoftware for trunk/source/Lib/TLibEncoder/TEncSlice.cpp
- Timestamp:
- 10 Aug 2012, 17:56:17 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibEncoder/TEncSlice.cpp
r100 r101 38 38 #include "TEncTop.h" 39 39 #include "TEncSlice.h" 40 #if HHI_VSO_SPEEDUP_A0 3340 #if HHI_VSO_SPEEDUP_A0033 41 41 #include "../../App/TAppEncoder/TAppEncTop.h" 42 42 #endif … … 642 642 m_uiPicDist = 0; 643 643 644 #if CABAC_INIT_FLAG && POZNAN_CABAC_INIT_FLAG_FIX 645 Bool bReset =(pcSlice->getPOC() == 0) || 646 (pcSlice->getPOC() % m_pcCfg->getIntraPeriod() == 0) || 647 (pcSlice->getPPS()->getEncPrevPOC() % m_pcCfg->getIntraPeriod() == 0) || 648 (pcSlice->getPOC()/m_pcCfg->getIntraPeriod() > pcSlice->getPPS()->getEncPrevPOC()/m_pcCfg->getIntraPeriod()) || 649 (m_pcGOPEncoder->getGOPSize() == 0); 650 651 if ( bReset && pcSlice->getPPS()->getCabacInitPresentFlag()) 652 { 653 pcSlice->getPPS()->setEncCABACTableIdx(pcSlice->getSliceType()); // reset cabac initialization table index 654 }; 655 #endif 656 644 657 // set entropy coder 645 658 if( m_pcCfg->getUseSBACRD() ) … … 787 800 UInt uiTileLCUX = 0; 788 801 789 #if HHI_VSO_SPEEDUP_A0 33802 #if HHI_VSO_SPEEDUP_A0033 790 803 Int iLastPosY = -1; 791 804 #endif … … 802 815 pcCU->initCU( rpcPic, uiCUAddr ); 803 816 804 #if HHI_VSO_SPEEDUP_A0 33817 #if HHI_VSO_SPEEDUP_A0033 805 818 if ( m_pcRdCost->getUseRenModel() ) 806 819 {
Note: See TracChangeset for help on using the changeset viewer.