Ticket #286: SliceMode2.patch
File SliceMode2.patch, 1.2 KB (added by rickard, 13 years ago) |
---|
-
source/Lib/TLibEncoder/TEncCu.h
115 115 /// CU encoding function 116 116 Void encodeCU ( TComDataCU* pcCU, Bool bForceTerminate = false ); 117 117 118 #if !FAST_BIT_EST 119 Void setBitCounter ( TComBitCounter* pcBitCounter ) { m_pcBitCounter = pcBitCounter; } 120 #endif 118 121 protected: 119 122 #if FINE_GRANULARITY_SLICES 120 123 Void finishCU ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ); -
source/Lib/TLibEncoder/TEncSlice.cpp
1049 1049 m_pcEntropyCoder->setEntropyCoder ( m_pppcRDSbacCoder[0][CI_CURR_BEST], pcSlice ); 1050 1050 #if OL_USE_WPP 1051 1051 m_pcEntropyCoder->setBitstream( &pcBitCounters[uiSubStrm] ); 1052 #if !FAST_BIT_EST 1053 m_pcCuEncoder->setBitCounter( &pcBitCounters[uiSubStrm] ); 1054 m_pcBitCounter = &pcBitCounters[uiSubStrm]; 1055 #endif 1052 1056 #else 1053 1057 m_pcEntropyCoder->setBitstream ( m_pcBitCounter ); 1054 1058 #endif