Changeset 1150 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder
- Timestamp:
- 8 Jul 2015, 00:17:46 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibEncoder
- Files:
-
- 3 edited
-
TEncCfg.h (modified) (2 diffs)
-
TEncGOP.cpp (modified) (3 diffs)
-
TEncTop.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibEncoder/TEncCfg.h
r1148 r1150 371 371 Int m_elRapSliceBEnabled; 372 372 Int m_adaptiveResolutionChange; 373 int m_layerSwitchOffBegin;374 int m_layerSwitchOffEnd;373 Int m_layerSwitchOffBegin; 374 Int m_layerSwitchOffEnd; 375 375 Bool m_altOutputLayerFlag; 376 376 Int m_skipPictureAtArcSwitch; 377 #if O0149_CROSS_LAYER_BLA_FLAG378 377 Bool m_crossLayerBLAFlag; 379 #endif380 378 381 379 Int m_numDirectRefLayers; … … 1024 1022 Bool getAltOuputLayerFlag() const { return m_altOutputLayerFlag; } 1025 1023 Void setAltOuputLayerFlag(Bool b) { m_altOutputLayerFlag = b; } 1026 #if O0149_CROSS_LAYER_BLA_FLAG1027 1024 Bool getCrossLayerBLAFlag() const { return m_crossLayerBLAFlag; } 1028 1025 Void setCrossLayerBLAFlag(Bool b) { m_crossLayerBLAFlag = b; } 1029 #endif1030 1026 #if FAST_INTRA_SHVC 1031 1027 Bool getUseFastIntraScalable () { return m_useFastIntraScalable; } -
branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r1148 r1150 1195 1195 #endif 1196 1196 1197 #if O0149_CROSS_LAYER_BLA_FLAG1198 1197 if( m_layerId == 0 && (getNalUnitType(pocCurr, m_iLastIDR, isField) == NAL_UNIT_CODED_SLICE_IDR_W_RADL || getNalUnitType(pocCurr, m_iLastIDR, isField) == NAL_UNIT_CODED_SLICE_IDR_N_LP) ) 1199 1198 { … … 1204 1203 pcSlice->setCrossLayerBLAFlag(false); 1205 1204 } 1206 #endif1207 1205 1208 1206 // Set the nal unit type … … 1232 1230 m_pcEncTop->setNoClrasOutputFlag(true); 1233 1231 } 1234 #if O0149_CROSS_LAYER_BLA_FLAG 1235 else if ((pcSlice->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR_W_RADL || pcSlice->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR_N_LP) && 1236 pcSlice->getCrossLayerBLAFlag()) 1232 else if( pcSlice->getCrossLayerBLAFlag() && ( pcSlice->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR_W_RADL || pcSlice->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR_N_LP ) ) 1237 1233 { 1238 1234 m_pcEncTop->setNoClrasOutputFlag(true); 1239 1235 } 1240 #endif1241 1236 else 1242 1237 { 1243 1238 m_pcEncTop->setNoClrasOutputFlag(false); 1244 1239 } 1245 if (m_pcEncTop->getNoClrasOutputFlag()) 1240 1241 if( m_pcEncTop->getNoClrasOutputFlag() ) 1246 1242 { 1247 1243 for (UInt i = 0; i < m_pcCfg->getNumLayer(); i++) -
branches/SHM-dev/source/Lib/TLibEncoder/TEncTop.cpp
r1148 r1150 1049 1049 m_cPPS.setPPSId( m_iPPSIdCnt ); 1050 1050 m_cPPS.setSPSId( m_iSPSIdCnt ); 1051 #if O0149_CROSS_LAYER_BLA_FLAG 1052 if (m_crossLayerBLAFlag)1051 1052 if( m_crossLayerBLAFlag ) 1053 1053 { 1054 1054 m_cPPS.setNumExtraSliceHeaderBits( 3 ); 1055 1055 } 1056 #endif 1056 1057 1057 m_cPPS.setNumRefLayerLocationOffsets(m_numRefLayerLocationOffsets); 1058 1058 for(Int i = 0; i < m_cPPS.getNumRefLayerLocationOffsets(); i++)
Note: See TracChangeset for help on using the changeset viewer.