Changeset 1567 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibCommon
- Timestamp:
- 20 Jun 2016, 18:05:58 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibCommon
- Files:
-
- 5 edited
-
TComDataCU.cpp (modified) (1 diff)
-
TComLoopFilter.cpp (modified) (3 diffs)
-
TComSampleAdaptiveOffset.cpp (modified) (1 diff)
-
TComSlice.cpp (modified) (1 diff)
-
TComSlice.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComDataCU.cpp
r1550 r1567 1364 1364 Bool TComDataCU::isLosslessCoded(UInt absPartIdx) const 1365 1365 { 1366 return (getSlice()->getPPS()->getTransquantBypassEnable Flag() && getCUTransquantBypass (absPartIdx));1366 return (getSlice()->getPPS()->getTransquantBypassEnabledFlag() && getCUTransquantBypass (absPartIdx)); 1367 1367 } 1368 1368 -
branches/SHM-dev/source/Lib/TLibCommon/TComLoopFilter.cpp
r1550 r1567 557 557 Void TComLoopFilter::xEdgeFilterLuma( TComDataCU* const pcCU, const UInt uiAbsZorderIdx, const UInt uiDepth, const DeblockEdgeDir edgeDir, const Int iEdge ) 558 558 { 559 TComPicYuv *pcPicYuvRec = pcCU->getPic()->getPicYuvRec();560 Pel *piSrc = pcPicYuvRec->getAddr(COMPONENT_Y, pcCU->getCtuRsAddr(), uiAbsZorderIdx );561 Pel *piTmpSrc = piSrc;562 const TComSPS &sps = *(pcCU->getSlice()->getSPS());563 const Bool ppsTransquantBypassEnable Flag = pcCU->getSlice()->getPPS()->getTransquantBypassEnableFlag();564 const Int bitDepthLuma = sps.getBitDepth(CHANNEL_TYPE_LUMA);565 const Bool lfCrossSliceBoundaryFlag = pcCU->getSlice()->getLFCrossSliceBoundaryFlag();559 TComPicYuv *pcPicYuvRec = pcCU->getPic()->getPicYuvRec(); 560 Pel *piSrc = pcPicYuvRec->getAddr(COMPONENT_Y, pcCU->getCtuRsAddr(), uiAbsZorderIdx ); 561 Pel *piTmpSrc = piSrc; 562 const TComSPS &sps = *(pcCU->getSlice()->getSPS()); 563 const Bool ppsTransquantBypassEnabledFlag = pcCU->getSlice()->getPPS()->getTransquantBypassEnabledFlag(); 564 const Int bitDepthLuma = sps.getBitDepth(CHANNEL_TYPE_LUMA); 565 const Bool lfCrossSliceBoundaryFlag = pcCU->getSlice()->getLFCrossSliceBoundaryFlag(); 566 566 567 567 Int iStride = pcPicYuvRec->getStride(COMPONENT_Y); … … 644 644 Int d = d0 + d3; 645 645 646 if (bPCMFilter || ppsTransquantBypassEnable Flag)646 if (bPCMFilter || ppsTransquantBypassEnabledFlag) 647 647 { 648 648 // Check if each of PUs is I_PCM with LF disabling … … 769 769 iQP_P = pcCUP->getQP(uiPartPIdx); 770 770 771 if (bPCMFilter || pcCU->getSlice()->getPPS()->getTransquantBypassEnable Flag())771 if (bPCMFilter || pcCU->getSlice()->getPPS()->getTransquantBypassEnabledFlag()) 772 772 { 773 773 // Check if each of PUs is I_PCM with LF disabling -
branches/SHM-dev/source/Lib/TLibCommon/TComSampleAdaptiveOffset.cpp
r1550 r1567 655 655 Bool bPCMFilter = (pcPic->getSlice(0)->getSPS()->getUsePCM() && pcPic->getSlice(0)->getSPS()->getPCMFilterDisableFlag())? true : false; 656 656 657 if(bPCMFilter || pcPic->getSlice(0)->getPPS()->getTransquantBypassEnable Flag())657 if(bPCMFilter || pcPic->getSlice(0)->getPPS()->getTransquantBypassEnabledFlag()) 658 658 { 659 659 for( UInt ctuRsAddr = 0; ctuRsAddr < pcPic->getNumberOfCtusInFrame() ; ctuRsAddr++ ) -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp
r1550 r1567 2223 2223 , m_numRefIdxL0DefaultActive (1) 2224 2224 , m_numRefIdxL1DefaultActive (1) 2225 , m_TransquantBypassEnable Flag(false)2225 , m_TransquantBypassEnabledFlag (false) 2226 2226 , m_useTransformSkip (false) 2227 2227 , m_dependentSliceSegmentsEnabledFlag(false) -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h
r1554 r1567 1721 1721 Bool m_useWeightedBiPred; //!< Use of Weighting Bi-Prediction (B_SLICE) 1722 1722 Bool m_OutputFlagPresentFlag; //!< Indicates the presence of output_flag in slice header 1723 Bool m_TransquantBypassEnable Flag;//!< Indicates presence of cu_transquant_bypass_flag in CUs.1723 Bool m_TransquantBypassEnabledFlag; //!< Indicates presence of cu_transquant_bypass_flag in CUs. 1724 1724 Bool m_useTransformSkip; 1725 1725 Bool m_dependentSliceSegmentsEnabledFlag; //!< Indicates the presence of dependent slices … … 1826 1826 Void setOutputFlagPresentFlag( Bool b ) { m_OutputFlagPresentFlag = b; } 1827 1827 Bool getOutputFlagPresentFlag() const { return m_OutputFlagPresentFlag; } 1828 Void setTransquantBypassEnable Flag( Bool b ) { m_TransquantBypassEnableFlag = b;}1829 Bool getTransquantBypassEnable Flag() const { return m_TransquantBypassEnableFlag;}1828 Void setTransquantBypassEnabledFlag( Bool b ) { m_TransquantBypassEnabledFlag = b; } 1829 Bool getTransquantBypassEnabledFlag() const { return m_TransquantBypassEnabledFlag; } 1830 1830 1831 1831 Bool getUseTransformSkip() const { return m_useTransformSkip; }
Note: See TracChangeset for help on using the changeset viewer.