Changeset 1502 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibCommon/TComLoopFilter.cpp
- Timestamp:
- 11 Dec 2015, 00:05:48 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComLoopFilter.cpp
r1465 r1502 185 185 UInt uiLPelX = pcCU->getCUPelX() + g_auiRasterToPelX[ g_auiZscanToRaster[uiAbsZorderIdx] ]; 186 186 UInt uiTPelY = pcCU->getCUPelY() + g_auiRasterToPelY[ g_auiZscanToRaster[uiAbsZorderIdx] ]; 187 #if SVC_EXTENSION188 if( ( uiLPelX < pcCU->getSlice()->getPicWidthInLumaSamples() ) && ( uiTPelY < pcCU->getSlice()->getPicHeightInLumaSamples() ) )189 #else190 187 if( ( uiLPelX < sps.getPicWidthInLumaSamples() ) && ( uiTPelY < sps.getPicHeightInLumaSamples() ) ) 191 #endif192 188 { 193 189 xDeblockCU( pcCU, uiAbsZorderIdx, uiDepth+1, edgeDir ); … … 566 562 const TComSPS &sps = *(pcCU->getSlice()->getSPS()); 567 563 const Bool ppsTransquantBypassEnableFlag = pcCU->getSlice()->getPPS()->getTransquantBypassEnableFlag(); 568 569 #if SVC_EXTENSION570 const Int bitDepthLuma = pcCU->getSlice()->getBitDepth(CHANNEL_TYPE_LUMA);571 #else572 564 const Int bitDepthLuma = sps.getBitDepth(CHANNEL_TYPE_LUMA); 573 #endif574 575 565 const Bool lfCrossSliceBoundaryFlag = pcCU->getSlice()->getLFCrossSliceBoundaryFlag(); 576 566 … … 691 681 Pel *piSrcCr = pcPicYuvRec->getAddr( COMPONENT_Cr, pcCU->getCtuRsAddr(), uiAbsZorderIdx ); 692 682 const TComSPS &sps = *(pcCU->getSlice()->getSPS()); 693 #if SVC_EXTENSION694 const Int bitDepthChroma = pcCU->getSlice()->getBitDepth(CHANNEL_TYPE_CHROMA);695 #else696 683 const Int bitDepthChroma = sps.getBitDepth(CHANNEL_TYPE_CHROMA); 697 #endif698 684 699 685 const UInt uiPelsInPartChromaH = sps.getMaxCUWidth() >> (sps.getMaxTotalCUDepth()+pcPicYuvRec->getComponentScaleX(COMPONENT_Cb)); … … 757 743 } 758 744 759 #if SVC_EXTENSION760 const Int iBitdepthScale = 1 << (pcCU->getSlice()->getBitDepth(CHANNEL_TYPE_CHROMA)-8);761 #else762 745 const Int iBitdepthScale = 1 << (pcCU->getSlice()->getSPS()->getBitDepth(CHANNEL_TYPE_CHROMA)-8); 763 #endif764 746 765 747 for ( UInt iIdx = 0; iIdx < uiNumParts; iIdx++ )
Note: See TracChangeset for help on using the changeset viewer.