Changeset 1502 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibCommon/TComSampleAdaptiveOffset.cpp
- Timestamp:
- 11 Dec 2015, 00:05:48 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComSampleAdaptiveOffset.cpp
r1442 r1502 599 599 Pel* resBlk = resYuv->getAddr(component) + blkYPos*resStride + blkXPos; 600 600 601 #if SVC_EXTENSION602 offsetBlock( pPic->getSlice(0)->getBitDepth(toChannelType(component)), ctbOffset.typeIdc, ctbOffset.offset603 #else604 601 offsetBlock( pPic->getPicSym()->getSPS().getBitDepth(toChannelType(component)), ctbOffset.typeIdc, ctbOffset.offset 605 #endif606 602 , srcBlk, resBlk, srcStride, resStride, blkWidth, blkHeight 607 603 , isLeftAvail, isRightAvail … … 688 684 UInt uiLPelX = pcCU->getCUPelX() + g_auiRasterToPelX[ g_auiZscanToRaster[uiAbsZorderIdx] ]; 689 685 UInt uiTPelY = pcCU->getCUPelY() + g_auiRasterToPelY[ g_auiZscanToRaster[uiAbsZorderIdx] ]; 690 #if SVC_EXTENSION691 if( ( uiLPelX < pcCU->getSlice()->getPicWidthInLumaSamples() ) && ( uiTPelY < pcCU->getSlice()->getPicHeightInLumaSamples() ) )692 #else693 686 if( ( uiLPelX < pcCU->getSlice()->getSPS()->getPicWidthInLumaSamples() ) && ( uiTPelY < pcCU->getSlice()->getSPS()->getPicHeightInLumaSamples() ) ) 694 #endif695 687 { 696 688 xPCMCURestoration( pcCU, uiAbsZorderIdx, uiDepth+1 ); … … 739 731 else 740 732 { 741 #if SVC_EXTENSION742 uiPcmLeftShiftBit = pcCU->getSlice()->getBitDepth(toChannelType(compID)) - pcCU->getSlice()->getSPS()->getPCMBitDepth(toChannelType(compID));743 #else744 733 uiPcmLeftShiftBit = sps.getBitDepth(toChannelType(compID)) - sps.getPCMBitDepth(toChannelType(compID)); 745 #endif746 734 } 747 735
Note: See TracChangeset for help on using the changeset viewer.