Changeset 595 in SHVCSoftware for trunk/source/Lib/TLibCommon/TComPicSym.cpp
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/SHM-5.0-dev merged: 591,593-594
- Property svn:mergeinfo changed
-
trunk/source
- Property svn:mergeinfo changed
/branches/SHM-5.0-dev/source merged: 593
- Property svn:mergeinfo changed
-
trunk/source/Lib/TLibCommon/TComPicSym.cpp
r540 r595 4 4 * granted under this license. 5 5 * 6 * Copyright (c) 2010-201 3, ITU/ISO/IEC6 * Copyright (c) 2010-2014, ITU/ISO/IEC 7 7 * All rights reserved. 8 8 * … … 67 67 ,m_puiTileIdxMap(NULL) 68 68 ,m_puiInverseCUOrderMap(NULL) 69 #if HM_CLEANUP_SAO70 69 ,m_saoBlkParams(NULL) 71 #endif72 70 {}; 73 71 … … 131 129 } 132 130 133 #if HM_CLEANUP_SAO134 131 m_saoBlkParams = new SAOBlkParam[m_uiNumCUsInFrame]; 135 #else136 m_saoParam = NULL;137 #endif138 132 } 139 133 … … 191 185 m_puiInverseCUOrderMap = NULL; 192 186 193 #if HM_CLEANUP_SAO194 187 if(m_saoBlkParams) 195 188 { 196 189 delete[] m_saoBlkParams; m_saoBlkParams = NULL; 197 190 } 198 #else199 if (m_saoParam)200 {201 TComSampleAdaptiveOffset::freeSaoParam(m_saoParam);202 delete m_saoParam;203 m_saoParam = NULL;204 }205 #endif206 191 } 207 192 … … 347 332 } 348 333 349 350 #if HM_CLEANUP_SAO351 334 Void TComPicSym::deriveLoopFilterBoundaryAvailibility(Int ctu, 352 335 Bool& isLeftAvail, … … 419 402 if(ctuAboveRigtht != NULL) 420 403 { 421 Int curSliceStart TS = getCUOrderMap(ctuCurr->getSlice()->getSliceCurStartCUAddr()/m_uiNumPartitions);422 Int aboveRigthtSliceStart TS = getCUOrderMap(ctuAboveRigtht->getSlice()->getSliceCurStartCUAddr()/m_uiNumPartitions);423 424 isAboveRightAvail = (curSliceStart TS == aboveRigthtSliceStartTS)?(true):404 Int curSliceStartEncOrder = ctuCurr->getSlice()->getSliceCurStartCUAddr(); 405 Int aboveRigthtSliceStartEncOrder = ctuAboveRigtht->getSlice()->getSliceCurStartCUAddr(); 406 407 isAboveRightAvail = (curSliceStartEncOrder == aboveRigthtSliceStartEncOrder)?(true): 425 408 ( 426 (curSliceStart TS > aboveRigthtSliceStartTS)?(ctuCurr->getSlice()->getLFCrossSliceBoundaryFlag())409 (curSliceStartEncOrder > aboveRigthtSliceStartEncOrder)?(ctuCurr->getSlice()->getLFCrossSliceBoundaryFlag()) 427 410 :(ctuAboveRigtht->getSlice()->getLFCrossSliceBoundaryFlag()) 428 411 ); … … 431 414 if(ctuBelowLeft != NULL) 432 415 { 433 Int curSliceStart TS = getCUOrderMap(ctuCurr->getSlice()->getSliceCurStartCUAddr()/m_uiNumPartitions);434 Int belowLeftSliceStart TS = getCUOrderMap(ctuBelowLeft->getSlice()->getSliceCurStartCUAddr()/m_uiNumPartitions);435 436 isBelowLeftAvail = (curSliceStart TS == belowLeftSliceStartTS)?(true):416 Int curSliceStartEncOrder = ctuCurr->getSlice()->getSliceCurStartCUAddr(); 417 Int belowLeftSliceStartEncOrder = ctuBelowLeft->getSlice()->getSliceCurStartCUAddr(); 418 419 isBelowLeftAvail = (curSliceStartEncOrder == belowLeftSliceStartEncOrder)?(true): 437 420 ( 438 (curSliceStart TS > belowLeftSliceStartTS)?(ctuCurr->getSlice()->getLFCrossSliceBoundaryFlag())421 (curSliceStartEncOrder > belowLeftSliceStartEncOrder)?(ctuCurr->getSlice()->getLFCrossSliceBoundaryFlag()) 439 422 :(ctuBelowLeft->getSlice()->getLFCrossSliceBoundaryFlag()) 440 423 ); … … 456 439 457 440 } 458 #else459 Void TComPicSym::allocSaoParam(TComSampleAdaptiveOffset *sao)460 {461 m_saoParam = new SAOParam;462 sao->allocSaoParam(m_saoParam);463 }464 #endif465 441 466 442 TComTile::TComTile()
Note: See TracChangeset for help on using the changeset viewer.