Changeset 532 in SHVCSoftware for branches/SHM-4.1-dev/source/Lib/TLibDecoder/TDecGop.cpp
- Timestamp:
- 2 Jan 2014, 07:21:30 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-4.1-dev/source/Lib/TLibDecoder/TDecGop.cpp
r442 r532 128 128 //-- For time output for each slice 129 129 long iBeforeTime = clock(); 130 130 #if !HM_CLEANUP_SAO 131 131 UInt uiStartCUAddr = pcSlice->getSliceSegmentCurStartCUAddr(); 132 132 … … 136 136 m_sliceStartCUAddress.push_back(uiSliceStartCuAddr); 137 137 } 138 138 #endif 139 139 m_pcSbacDecoder->init( (TDecBinIf*)m_pcBinCABAC ); 140 140 m_pcEntropyDecoder->setEntropyDecoder (m_pcSbacDecoder); … … 163 163 m_pcEntropyDecoder->setBitstream ( ppcSubstreams[0] ); 164 164 m_pcEntropyDecoder->resetEntropy (pcSlice); 165 165 #if !HM_CLEANUP_SAO 166 166 if(uiSliceStartCuAddr == uiStartCUAddr) 167 167 { 168 168 m_LFCrossSliceBoundaryFlag.push_back( pcSlice->getLFCrossSliceBoundaryFlag()); 169 169 } 170 #endif 170 171 m_pcSbacDecoders[0].load(m_pcSbacDecoder); 171 172 m_pcSliceDecoder->decompressSlice( ppcSubstreams, rpcPic, m_pcSbacDecoder, m_pcSbacDecoders); … … 195 196 m_pcLoopFilter->setCfg(bLFCrossTileBoundary); 196 197 m_pcLoopFilter->loopFilterPic( rpcPic ); 197 198 #if !HM_CLEANUP_SAO 198 199 if(pcSlice->getSPS()->getUseSAO()) 199 200 { … … 201 202 rpcPic->createNonDBFilterInfo(m_sliceStartCUAddress, 0, &m_LFCrossSliceBoundaryFlag, rpcPic->getPicSym()->getNumTiles(), bLFCrossTileBoundary); 202 203 } 203 204 #endif 204 205 if( pcSlice->getSPS()->getUseSAO() ) 205 206 { 207 #if HM_CLEANUP_SAO 208 m_pcSAO->reconstructBlkSAOParams(rpcPic, rpcPic->getPicSym()->getSAOBlkParam()); 209 m_pcSAO->SAOProcess(rpcPic); 210 m_pcSAO->PCMLFDisableProcess(rpcPic); 211 #else 206 212 { 207 213 SAOParam *saoParam = rpcPic->getPicSym()->getSaoParam(); … … 214 220 m_pcSAO->destroyPicSaoInfo(); 215 221 } 216 } 217 222 #endif 223 } 224 #if !HM_CLEANUP_SAO 218 225 if(pcSlice->getSPS()->getUseSAO()) 219 226 { 220 227 rpcPic->destroyNonDBFilterInfo(); 221 228 } 222 229 #endif 223 230 rpcPic->compressMotion(); 224 231 Char c = (pcSlice->isIntra() ? 'I' : pcSlice->isInterP() ? 'P' : 'B'); … … 283 290 rpcPic->setOutputMark(true); 284 291 rpcPic->setReconMark(true); 292 #if !HM_CLEANUP_SAO 285 293 m_sliceStartCUAddress.clear(); 286 294 m_LFCrossSliceBoundaryFlag.clear(); 295 #endif 287 296 } 288 297
Note: See TracChangeset for help on using the changeset viewer.