Changeset 1429 in SHVCSoftware for branches/SHM-dev
- Timestamp:
- 10 Aug 2015, 19:04:08 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibEncoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r1428 r1429 1815 1815 Bool bSignalPPS = m_bSeqFirst; 1816 1816 bSignalPPS |= m_pcCfg->getGOPSize() > 1 ? pocCurr % m_pcCfg->getIntraPeriod() == 0 : pocCurr % m_pcCfg->getFrameRate() == 0; 1817 xDetermin 3DAsymLUT( pcSlice, pcPic, refLayerIdc, m_pcCfg, bSignalPPS );1817 xDetermine3DAsymLUT( pcSlice, pcPic, refLayerIdc, m_pcCfg, bSignalPPS ); 1818 1818 1819 1819 // update PPS in TEncTop and TComPicSym classes … … 4123 4123 4124 4124 #if CGS_3D_ASYMLUT 4125 Void TEncGOP::xDetermin 3DAsymLUT( TComSlice * pSlice, TComPic * pCurPic, UInt refLayerIdc, TEncCfg * pCfg, Bool bSignalPPS )4125 Void TEncGOP::xDetermine3DAsymLUT( TComSlice * pSlice, TComPic * pCurPic, UInt refLayerIdc, TEncCfg * pCfg, Bool bSignalPPS ) 4126 4126 { 4127 4127 Int nCGSFlag = pSlice->getPPS()->getCGSFlag(); … … 4142 4142 dFrameLambda = 0.68 * pow (2, (QP - SHIFT_QP) / 3.0) * (m_pcCfg->getGOPSize() > 1 && pSlice->isInterB()? 2 : 1); 4143 4143 4144 if(m_pcCfg->getCGSLutSizeRDO() == 1 && (!bSignalPPS && (pSlice->getDepth() < nTLthres))) 4144 if(m_pcCfg->getCGSLutSizeRDO() == 1 && (!bSignalPPS && (pSlice->getDepth() < nTLthres))) 4145 { 4145 4146 dErrorUpdatedPPS = m_Enc3DAsymLUTPicUpdate.derive3DAsymLUT( pSlice , pCurPic , refLayerIdc , pCfg , bSignalPPS , m_pcEncTop->getElRapSliceTypeB(), dFrameLambda ); 4147 } 4146 4148 else if (pSlice->getDepth() >= nTLthres) 4149 { 4147 4150 dErrorUpdatedPPS = MAX_DOUBLE; 4151 } 4148 4152 else // if (m_pcCfg->getCGSLutSizeRDO() = 0 || bSignalPPS) 4149 4153 #endif -
branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.h
r1419 r1429 286 286 #endif 287 287 #if CGS_3D_ASYMLUT 288 Void xDetermin 3DAsymLUT( TComSlice * pSlice , TComPic * pCurPic , UInt refLayerIdc , TEncCfg * pCfg , Bool bSignalPPS );288 Void xDetermine3DAsymLUT( TComSlice * pSlice , TComPic * pCurPic , UInt refLayerIdc , TEncCfg * pCfg , Bool bSignalPPS ); 289 289 Void downScalePic( TComPicYuv* pcYuvSrc, TComPicYuv* pcYuvDest, BitDepths& bitDepth, Int** posScalingFactor); 290 290 Void downScaleComponent2x2( const Pel* pSrc, Pel* pDest, const Int iSrcStride, const Int iDestStride, const Int iSrcWidth, const Int iSrcHeight, const Int inputBitDepth, const Int outputBitDepth );
Note: See TracChangeset for help on using the changeset viewer.