Changeset 294 in 3DVCSoftware for branches/HTM-5.1-dev0/source/Lib/TLibDecoder/TDecGop.cpp
- Timestamp:
- 19 Feb 2013, 20:33:52 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-5.1-dev0/source/Lib/TLibDecoder/TDecGop.cpp
r289 r294 79 79 Void TDecGop::destroy() 80 80 { 81 #if LCU_SYNTAX_ALF82 81 m_alfParamSetPilot.releaseALFParam(); 83 #endif84 82 } 85 83 … … 120 118 // Private member functions 121 119 // ==================================================================================================================== 122 #if LCU_SYNTAX_ALF123 120 Void TDecGop::patchAlfLCUParams(ALFParam*** alfLCUParam, AlfParamSet* alfParamSet, Int firstLCUAddr) 124 121 { … … 195 192 } 196 193 197 #endif198 194 // ==================================================================================================================== 199 195 // Public member functions … … 279 275 if(pcSlice->getAlfEnabledFlag()) 280 276 { 281 #if LCU_SYNTAX_ALF282 277 if(pcSlice->getSPS()->getUseALFCoefInSlice()) 283 278 { … … 289 284 if( !pcSlice->getSPS()->getUseALFCoefInSlice()) 290 285 { 291 #endif292 286 m_vAlfCUCtrlSlices.push_back(m_cAlfCUCtrlOneSlice); 293 #if LCU_SYNTAX_ALF294 287 } 295 #endif296 288 } 297 289 } … … 323 315 m_pcSliceDecoder->decompressSlice( pcBitstream, ppcSubstreams, rpcPic, m_pcSbacDecoder, m_pcSbacDecoders); 324 316 m_pcEntropyDecoder->setBitstream( ppcSubstreams[uiNumSubstreams-1] ); 325 #if WPP_SIMPLIFICATION326 317 if ( uiNumSubstreams > 1 ) 327 #else328 if ( pcSlice->getPPS()->getEntropyCodingSynchro() )329 #endif330 318 { 331 319 // deallocate all created substreams, including internal buffers. … … 356 344 Bool bLFCrossTileBoundary = (pcSlice->getPPS()->getTileBehaviorControlPresentFlag() == 1)? 357 345 (pcSlice->getPPS()->getLFCrossTileBoundaryFlag()):(pcSlice->getPPS()->getSPS()->getLFCrossTileBoundaryFlag()); 358 #if DBL_CONTROL359 346 if (pcSlice->getPPS()->getDeblockingFilterControlPresent()) 360 347 { 361 #endif362 348 if(pcSlice->getSPS()->getUseDF()) 363 349 { … … 372 358 } 373 359 } 374 #if DBL_CONTROL375 360 } 376 361 m_pcLoopFilter->setCfg(pcSlice->getPPS()->getDeblockingFilterControlPresent(), pcSlice->getLoopFilterDisable(), pcSlice->getLoopFilterBetaOffset(), pcSlice->getLoopFilterTcOffset(), bLFCrossTileBoundary); 377 #else378 m_pcLoopFilter->setCfg(pcSlice->getLoopFilterDisable(), pcSlice->getLoopFilterBetaOffset(), pcSlice->getLoopFilterTcOffset(), bLFCrossTileBoundary);379 #endif380 362 m_pcLoopFilter->loopFilterPic( rpcPic ); 381 363 … … 392 374 if(pcSlice->getSaoEnabledFlag()) 393 375 { 394 #if SAO_UNIT_INTERLEAVING395 376 if (pcSlice->getSaoInterleavingFlag()) 396 377 { … … 402 383 } 403 384 m_pcSAO->setSaoInterleavingFlag(pcSlice->getAPS()->getSaoInterleavingFlag()); 404 #endif405 385 m_pcSAO->createPicSaoInfo(rpcPic, m_uiILSliceCount); 406 386 m_pcSAO->SAOProcess(rpcPic, pcSlice->getAPS()->getSaoParam()); … … 413 393 if( pcSlice->getSPS()->getUseALF() ) 414 394 { 415 #if LCU_SYNTAX_ALF416 395 if( (pcSlice->getSPS()->getUseALFCoefInSlice())?(true):(pcSlice->getAlfEnabledFlag())) 417 #else 418 if(pcSlice->getAlfEnabledFlag()) 419 #endif 420 { 421 422 #if LCU_SYNTAX_ALF 396 { 397 423 398 if(!pcSlice->getSPS()->getUseALFCoefInSlice()) 424 399 { … … 427 402 m_pcAdaptiveLoopFilter->createPicAlfInfo(rpcPic, m_uiILSliceCount, pcSlice->getSliceQp()); 428 403 m_pcAdaptiveLoopFilter->ALFProcess(rpcPic, m_vAlfCUCtrlSlices, pcSlice->getSPS()->getUseALFCoefInSlice()); 429 #else430 m_pcAdaptiveLoopFilter->createPicAlfInfo(rpcPic, m_uiILSliceCount);431 m_pcAdaptiveLoopFilter->ALFProcess(rpcPic, pcSlice->getAPS()->getAlfParam(), m_vAlfCUCtrlSlices);432 #endif433 404 m_pcAdaptiveLoopFilter->PCMLFDisableProcess(rpcPic); 434 405 m_pcAdaptiveLoopFilter->destroyPicAlfInfo(); 435 406 } 436 #if LCU_SYNTAX_ALF437 407 m_pcAdaptiveLoopFilter->resetLCUAlfInfo(); //reset all LCU ALFParam->alf_flag = 0 438 #endif439 408 } 440 409
Note: See TracChangeset for help on using the changeset viewer.