- Timestamp:
- 20 Jun 2016, 18:21:24 (9 years ago)
- Location:
- branches/SHM-dev/source
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp
r1567 r1569 1418 1418 ("ScalingListFile", m_scalingListFileName, string(""), "Scaling list file name. Use an empty string to produce help.") 1419 1419 #endif 1420 ("SignHideFlag,-SBH", m_sign HideFlag, true)1420 ("SignHideFlag,-SBH", m_signDataHidingEnabledFlag, true) 1421 1421 ("MaxNumMergeCand", m_maxNumMergeCand, 5u, "Maximum number of merge candidates") 1422 1422 /* Misc. */ … … 4638 4638 #endif 4639 4639 4640 printf(" SignBitHidingFlag:%d ", m_sign HideFlag);4640 printf(" SignBitHidingFlag:%d ", m_signDataHidingEnabledFlag); 4641 4641 printf("RecalQP:%d", m_recalculateQPAccordingToLambda ? 1 : 0 ); 4642 4642 -
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.h
r1567 r1569 464 464 465 465 Int m_TMVPModeId; 466 Bool m_sign HideFlag;466 Bool m_signDataHidingEnabledFlag; 467 467 #if !RC_SHVC_HARMONIZATION 468 468 Bool m_RCEnableRateControl; ///< enable rate control or not -
branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp
r1567 r1569 832 832 m_cTEncTop.setUseScalingListId ( m_useScalingListId ); 833 833 m_cTEncTop.setScalingListFileName ( m_scalingListFileName ); 834 m_cTEncTop.setSign HideFlag ( m_signHideFlag);834 m_cTEncTop.setSignDataHidingEnabledFlag ( m_signDataHidingEnabledFlag); 835 835 m_cTEncTop.setUseRateCtrl ( m_RCEnableRateControl ); 836 836 m_cTEncTop.setTargetBitrate ( m_RCTargetBitrate ); -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp
r1567 r1569 2232 2232 , m_numTileColumnsMinus1 (0) 2233 2233 , m_numTileRowsMinus1 (0) 2234 , m_sign HideFlag(false)2234 , m_signDataHidingEnabledFlag (false) 2235 2235 , m_cabacInitPresentFlag (false) 2236 2236 , m_sliceHeaderExtensionPresentFlag (false) -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h
r1568 r1569 1734 1734 std::vector<Int> m_tileRowHeight; 1735 1735 1736 Bool m_sign HideFlag;1736 Bool m_signDataHidingEnabledFlag; 1737 1737 1738 1738 Bool m_cabacInitPresentFlag; … … 1852 1852 UInt getTileRowHeight(UInt rowIdx) const { return m_tileRowHeight[rowIdx]; } 1853 1853 1854 Void setSign HideFlag( Bool signHideFlag ) { m_signHideFlag = signHideFlag;}1855 Bool getSign HideFlag() const { return m_signHideFlag;}1854 Void setSignDataHidingEnabledFlag( Bool b ) { m_signDataHidingEnabledFlag = b; } 1855 Bool getSignDataHidingEnabledFlag() const { return m_signDataHidingEnabledFlag; } 1856 1856 1857 1857 Void setCabacInitPresentFlag( Bool flag ) { m_cabacInitPresentFlag = flag; } -
branches/SHM-dev/source/Lib/TLibCommon/TComTrQuant.cpp
r1549 r1569 1243 1243 } // for n 1244 1244 1245 if( pcCU->getSlice()->getPPS()->getSign HideFlag() )1245 if( pcCU->getSlice()->getPPS()->getSignDataHidingEnabledFlag() ) 1246 1246 { 1247 1247 if(uiAbsSum >= 2) //this prevents TUs with only one coefficient of value 1 from being tested … … 2538 2538 2539 2539 2540 if( pcCU->getSlice()->getPPS()->getSign HideFlag() && uiAbsSum>=2)2540 if( pcCU->getSlice()->getPPS()->getSignDataHidingEnabledFlag() && uiAbsSum>=2) 2541 2541 { 2542 2542 const Double inverseQuantScale = Double(g_invQuantScales[cQP.rem]); -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1568 r1569 215 215 READ_CODE(3, uiCode, "num_extra_slice_header_bits"); pcPPS->setNumExtraSliceHeaderBits(uiCode); 216 216 217 READ_FLAG ( uiCode, "sign_data_hiding_ flag" ); pcPPS->setSignHideFlag( uiCode );217 READ_FLAG ( uiCode, "sign_data_hiding_enabled_flag" ); pcPPS->setSignDataHidingEnabledFlag( uiCode ); 218 218 219 219 READ_FLAG( uiCode, "cabac_init_present_flag" ); pcPPS->setCabacInitPresentFlag( uiCode ? true : false ); -
branches/SHM-dev/source/Lib/TLibDecoder/TDecSbac.cpp
r1549 r1569 1305 1305 else 1306 1306 { 1307 beValid = pcCU->getSlice()->getPPS()->getSign HideFlag();1307 beValid = pcCU->getSlice()->getPPS()->getSignDataHidingEnabledFlag(); 1308 1308 } 1309 1309 -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r1568 r1569 179 179 WRITE_FLAG( pcPPS->getOutputFlagPresentFlag() ? 1 : 0, "output_flag_present_flag" ); 180 180 WRITE_CODE( pcPPS->getNumExtraSliceHeaderBits(), 3, "num_extra_slice_header_bits"); 181 WRITE_FLAG( pcPPS->getSign HideFlag(), "sign_data_hiding_flag" );181 WRITE_FLAG( pcPPS->getSignDataHidingEnabledFlag(), "sign_data_hiding_enabled_flag" ); 182 182 WRITE_FLAG( pcPPS->getCabacInitPresentFlag() ? 1 : 0, "cabac_init_present_flag" ); 183 183 WRITE_UVLC( pcPPS->getNumRefIdxL0DefaultActive()-1, "num_ref_idx_l0_default_active_minus1"); -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCfg.h
r1567 r1569 357 357 std::string m_scalingListFileName; ///< quantization matrix file name 358 358 Int m_TMVPModeId; 359 Bool m_ signHideFlag;359 Bool m_SignDataHidingEnabledFlag; 360 360 Bool m_RCEnableRateControl; 361 361 Int m_RCTargetBitrate; … … 975 975 WeightedPredictionMethod getWeightedPredictionMethod() const { return m_weightedPredictionMethod; } 976 976 Void setWeightedPredictionMethod( WeightedPredictionMethod m ) { m_weightedPredictionMethod = m; } 977 Void setSign HideFlag( Bool signHideFlag ) { m_signHideFlag = signHideFlag;}978 Bool getSign HideFlag() { return m_signHideFlag; }977 Void setSignDataHidingEnabledFlag( Bool b ) { m_SignDataHidingEnabledFlag = b; } 978 Bool getSignDataHidingEnabledFlag() { return m_SignDataHidingEnabledFlag; } 979 979 Bool getUseRateCtrl () { return m_RCEnableRateControl; } 980 980 Void setUseRateCtrl ( Bool b ) { m_RCEnableRateControl = b; } -
branches/SHM-dev/source/Lib/TLibEncoder/TEncSbac.cpp
r1549 r1569 234 234 235 235 #if CGS_3D_ASYMLUT 236 Void TEncSbac::codePPS( const TComPPS* /*pcPPS*/, TEnc3DAsymLUT * pc3DAsymLUT)236 Void TEncSbac::codePPS( const TComPPS* /*pcPPS*/, TEnc3DAsymLUT* /*pc3DAsymLUT*/ ) 237 237 #else 238 238 Void TEncSbac::codePPS( const TComPPS* /*pcPPS*/ ) … … 883 883 Void TEncSbac::codeDeltaQP( TComDataCU* pcCU, UInt uiAbsPartIdx ) 884 884 { 885 Int iDQp = pcCU->getQP( uiAbsPartIdx ) - pcCU->getRefQP( uiAbsPartIdx ); 885 Int iDQp = pcCU->getQP( uiAbsPartIdx ) - pcCU->getRefQP( uiAbsPartIdx ); 886 886 887 Int qpBdOffsetY = pcCU->getSlice()->getSPS()->getQpBDOffset(CHANNEL_TYPE_LUMA); 887 888 iDQp = (iDQp + 78 + qpBdOffsetY + (qpBdOffsetY/2)) % (52 + qpBdOffsetY) - 26 - (qpBdOffsetY/2); … … 1280 1281 else 1281 1282 { 1282 beValid = pcCU->getSlice()->getPPS()->getSign HideFlag();1283 beValid = pcCU->getSlice()->getPPS()->getSignDataHidingEnabledFlag(); 1283 1284 } 1284 1285 } -
branches/SHM-dev/source/Lib/TLibEncoder/TEncTop.cpp
r1568 r1569 1297 1297 m_cPPS.setWPBiPred( m_useWeightedBiPred ); 1298 1298 m_cPPS.setOutputFlagPresentFlag( false ); 1299 m_cPPS.setSign HideFlag(getSignHideFlag());1299 m_cPPS.setSignDataHidingEnabledFlag(getSignDataHidingEnabledFlag()); 1300 1300 1301 1301 if ( getDeblockingFilterMetric() )
Note: See TracChangeset for help on using the changeset viewer.