Changeset 1322 in SHVCSoftware for branches/SHM-dev/source/App/TAppEncoder
- Timestamp:
- 21 Jul 2015, 23:48:01 (9 years ago)
- Location:
- branches/SHM-dev/source/App/TAppEncoder
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp
r1319 r1322 1335 1335 // Deblocking filter parameters 1336 1336 ("LoopFilterDisable", m_bLoopFilterDisable, false) 1337 ("LoopFilterOffsetInPPS", m_loopFilterOffsetInPPS, false)1337 ("LoopFilterOffsetInPPS", m_loopFilterOffsetInPPS, true) 1338 1338 ("LoopFilterBetaOffset_div2", m_loopFilterBetaOffsetDiv2, 0) 1339 1339 ("LoopFilterTcOffset_div2", m_loopFilterTcOffsetDiv2, 0) 1340 ("DeblockingFilterControlPresent", m_DeblockingFilterControlPresent, false)1341 1340 ("DeblockingFilterMetric", m_DeblockingFilterMetric, false) 1342 1341 … … 3149 3148 xConfirmPara( m_iQP < -6 * (m_internalBitDepth[CHANNEL_TYPE_LUMA] - 8) || m_iQP > 51, "QP exceeds supported range (-QpBDOffsety to 51)" ); 3150 3149 #endif 3150 xConfirmPara( m_DeblockingFilterMetric && (m_bLoopFilterDisable || m_loopFilterOffsetInPPS), "If DeblockingFilterMetric is true then both LoopFilterDisable and LoopFilterOffsetInPPS must be 0"); 3151 3151 xConfirmPara( m_loopFilterBetaOffsetDiv2 < -6 || m_loopFilterBetaOffsetDiv2 > 6, "Loop Filter Beta Offset div. 2 exceeds supported range (-6 to 6)"); 3152 3152 xConfirmPara( m_loopFilterTcOffsetDiv2 < -6 || m_loopFilterTcOffsetDiv2 > 6, "Loop Filter Tc Offset div. 2 exceeds supported range (-6 to 6)"); … … 3366 3366 Int m_iIntraPeriod = m_acLayerCfg[layerIdx].m_iIntraPeriod; 3367 3367 #endif 3368 if ( (m_iIntraPeriod != 1) && !m_loopFilterOffsetInPPS && m_DeblockingFilterControlPresent &&(!m_bLoopFilterDisable) )3368 if ( (m_iIntraPeriod != 1) && !m_loopFilterOffsetInPPS && (!m_bLoopFilterDisable) ) 3369 3369 { 3370 3370 for(Int i=0; i<m_iGOPSize; i++) … … 3677 3677 for(UInt layer=0; layer<m_numLayers; layer++) 3678 3678 { 3679 if ( (m_acLayerCfg[layer].m_iIntraPeriod != 1) && !m_loopFilterOffsetInPPS && m_DeblockingFilterControlPresent &&(!m_bLoopFilterDisable) )3679 if ( (m_acLayerCfg[layer].m_iIntraPeriod != 1) && !m_loopFilterOffsetInPPS && (!m_bLoopFilterDisable) ) 3680 3680 { 3681 3681 for(Int i=0; i<m_iGOPSize; i++) -
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.h
r1316 r1322 252 252 Int m_loopFilterBetaOffsetDiv2; ///< beta offset for deblocking filter 253 253 Int m_loopFilterTcOffsetDiv2; ///< tc offset for deblocking filter 254 Bool m_DeblockingFilterControlPresent; ///< deblocking filter control present flag in PPS255 254 Bool m_DeblockingFilterMetric; ///< blockiness metric in encoder 256 255 -
branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp
r1316 r1322 401 401 m_acTEncTop[layer].setLoopFilterOffsetInPPS ( m_loopFilterOffsetInPPS ); 402 402 m_acTEncTop[layer].setLoopFilterBetaOffset ( m_loopFilterBetaOffsetDiv2 ); 403 m_acTEncTop[layer].setLoopFilterTcOffset ( m_loopFilterTcOffsetDiv2 ); 404 m_acTEncTop[layer].setDeblockingFilterControlPresent ( m_DeblockingFilterControlPresent); 403 m_acTEncTop[layer].setLoopFilterTcOffset ( m_loopFilterTcOffsetDiv2 ); 405 404 m_acTEncTop[layer].setDeblockingFilterMetric ( m_DeblockingFilterMetric ); 406 405 … … 839 838 m_cTEncTop.setLoopFilterBetaOffset ( m_loopFilterBetaOffsetDiv2 ); 840 839 m_cTEncTop.setLoopFilterTcOffset ( m_loopFilterTcOffsetDiv2 ); 841 m_cTEncTop.setDeblockingFilterControlPresent ( m_DeblockingFilterControlPresent);842 840 m_cTEncTop.setDeblockingFilterMetric ( m_DeblockingFilterMetric ); 843 841
Note: See TracChangeset for help on using the changeset viewer.