Ticket #225: slicemode2-fix.patch
File slicemode2-fix.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 Void setBitCounter ( TComBitCounter* pcBitCounter ) { m_pcBitCounter = pcBitCounter; } 118 119 protected: 119 120 #if FINE_GRANULARITY_SLICES 120 121 Void finishCU ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ); -
source/Lib/TLibEncoder/TEncSlice.cpp
859 859 m_pcEntropyCoder->setEntropyCoder ( m_pppcRDSbacCoder[0][CI_CURR_BEST], pcSlice ); 860 860 #if OL_USE_WPP 861 861 m_pcEntropyCoder->setBitstream( &pcBitCounters[uiSubStrm] ); 862 m_pcCuEncoder->setBitCounter( &pcBitCounters[uiSubStrm] ); 863 m_pcBitCounter = &pcBitCounters[uiSubStrm]; 862 864 #else 863 865 m_pcEntropyCoder->setBitstream ( m_pcBitCounter ); 864 866 #endif