Changeset 574 in SHVCSoftware for branches/SHM-5.0-dev/source
- Timestamp:
- 28 Jan 2014, 19:40:20 (11 years ago)
- Location:
- branches/SHM-5.0-dev/source
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.0-dev/source/App/TAppEncoder/TAppEncCfg.cpp
r567 r574 587 587 #endif 588 588 #if N0147_IRAP_ALIGN_FLAG 589 ("CrossLayerIrapAlignFlag", m_crossLayerIrapAlignFlag, true, "align IRAP across layers" ) 589 ("CrossLayerIrapAlignFlag", m_crossLayerIrapAlignFlag, true, "align IRAP across layers" ) 590 #endif 591 #if O0194_WEIGHTED_PREDICTION_CGS 592 ("InterLayerWeightedPred", m_useInterLayerWeightedPred, false, "enable IL WP parameters estimation at encoder" ) 590 593 #endif 591 594 #if AVC_BASE … … 2347 2350 printf("Cross layer IRAP alignment : %d\n", m_crossLayerIrapAlignFlag ); 2348 2351 #endif 2352 #if O0194_WEIGHTED_PREDICTION_CGS 2353 printf("InterLayerWeightedPred : %d\n", m_useInterLayerWeightedPred ); 2354 #endif 2349 2355 for(UInt layer=0; layer<m_numLayers; layer++) 2350 2356 { … … 2492 2498 printf("O0194_DIFFERENT_BITDEPTH_EL_BL: %d ", O0194_DIFFERENT_BITDEPTH_EL_BL); 2493 2499 printf("O0194_JOINT_US_BITSHIFT: %d ", O0194_JOINT_US_BITSHIFT); 2494 printf("O0194_WEIGHTED_PREDICTION_CGS: %d ",O0194_WEIGHTED_PREDICTION_CGS);2495 2500 #else 2496 2501 printf("RecalQP:%d", m_recalculateQPAccordingToLambda ? 1 : 0 ); -
branches/SHM-5.0-dev/source/App/TAppEncoder/TAppEncCfg.h
r567 r574 381 381 #endif 382 382 #if O0215_PHASE_ALIGNMENT 383 Bool m_phaseAlignFlag;383 Bool m_phaseAlignFlag; 384 384 #endif 385 385 #if O0223_PICTURE_TYPES_ALIGN_FLAG 386 Bool m_crossLayerPictureTypeAlignFlag;386 Bool m_crossLayerPictureTypeAlignFlag; 387 387 #endif 388 388 #if N0147_IRAP_ALIGN_FLAG 389 Bool m_crossLayerIrapAlignFlag;389 Bool m_crossLayerIrapAlignFlag; 390 390 #endif 391 391 #if O0149_CROSS_LAYER_BLA_FLAG 392 bool m_crossLayerBLAFlag; 392 Bool m_crossLayerBLAFlag; 393 #endif 394 #if O0194_WEIGHTED_PREDICTION_CGS 395 Bool m_useInterLayerWeightedPred; 393 396 #endif 394 397 public: -
branches/SHM-5.0-dev/source/App/TAppEncoder/TAppEncTop.cpp
r573 r574 178 178 #endif 179 179 180 #if O0194_WEIGHTED_PREDICTION_CGS181 Bool bitDepthScalabilityFlag = false;182 for(UInt layer=0; layer<m_numLayers; layer++)183 {184 if( m_acLayerCfg[0].m_internalBitDepthY != m_acLayerCfg[layer].m_internalBitDepthY )185 {186 bitDepthScalabilityFlag = true;187 break;188 }189 }190 #endif191 192 180 for(UInt layer=0; layer<m_numLayers; layer++) 193 181 { … … 205 193 206 194 #if O0194_WEIGHTED_PREDICTION_CGS 207 m_acTEncTop[layer].set BitDepthScalabilityFlag( bitDepthScalabilityFlag);195 m_acTEncTop[layer].setInterLayerWeightedPredFlag( m_useInterLayerWeightedPred ); 208 196 #endif 209 197 #endif -
branches/SHM-5.0-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r573 r574 1558 1558 #if O0194_WEIGHTED_PREDICTION_CGS 1559 1559 // Calculate for the base layer to be used in EL as Inter layer reference 1560 if( m_pcEncTop->get BitDepthScalabilityFlag() )1560 if( m_pcEncTop->getInterLayerWeightedPredFlag() ) 1561 1561 { 1562 1562 m_pcSliceEncoder->estimateILWpParam( pcSlice ); -
branches/SHM-5.0-dev/source/Lib/TLibEncoder/TEncSlice.cpp
r573 r574 811 811 } 812 812 #if O0194_WEIGHTED_PREDICTION_CGS 813 else if( m_ppcTEncTop[pcSlice->getLayerId()]->get BitDepthScalabilityFlag() )813 else if( m_ppcTEncTop[pcSlice->getLayerId()]->getInterLayerWeightedPredFlag() ) 814 814 { 815 815 // Calculate for the base layer to be used in EL as Inter layer reference -
branches/SHM-5.0-dev/source/Lib/TLibEncoder/TEncTop.h
r573 r574 152 152 #endif 153 153 #if O0194_WEIGHTED_PREDICTION_CGS 154 Bool m_ bitDepthScalabilityFlag;154 Bool m_interLayerWeightedPredFlag; 155 155 #endif 156 156 #endif //SVC_EXTENSION … … 238 238 #endif 239 239 #if O0194_WEIGHTED_PREDICTION_CGS 240 Void set BitDepthScalabilityFlag(Bool flag) { m_bitDepthScalabilityFlag = flag; }241 Bool get BitDepthScalabilityFlag() { return m_bitDepthScalabilityFlag; }240 Void setInterLayerWeightedPredFlag(Bool flag) { m_interLayerWeightedPredFlag = flag; } 241 Bool getInterLayerWeightedPredFlag() { return m_interLayerWeightedPredFlag; } 242 242 #endif 243 243 #if AVC_SYNTAX
Note: See TracChangeset for help on using the changeset viewer.