Changeset 1130 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder
- Timestamp:
- 7 Jul 2015, 03:13:38 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibEncoder
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r1128 r1130 2642 2642 #endif 2643 2643 2644 #if M0040_ADAPTIVE_RESOLUTION_CHANGE2645 2644 WRITE_FLAG(vps->getSingleLayerForNonIrapFlag(), "single_layer_for_non_irap_flag" ); 2646 #endif2647 2645 2648 2646 // When single_layer_for_non_irap_flag is equal to 0, higher_layer_irap_skip_flag shall be equal to 0 -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCfg.h
r1128 r1130 370 370 UInt m_numLayer; 371 371 Int m_elRapSliceBEnabled; 372 #if M0040_ADAPTIVE_RESOLUTION_CHANGE373 372 Int m_adaptiveResolutionChange; 374 #endif375 373 #if R0071_IRAP_EOS_CROSS_LAYER_IMPACTS 376 374 int m_layerSwitchOffBegin; … … 1007 1005 #endif 1008 1006 #if SVC_EXTENSION 1009 UInt getLayerId () { return m_layerId;}1010 Void setLayerId (UInt layer) { m_layerId = layer;}1011 UInt getNumLayer () { return m_numLayer;}1012 Void setNumLayer (UInt uiNum){ m_numLayer = uiNum; }1007 UInt getLayerId() { return m_layerId; } 1008 Void setLayerId( UInt layer ) { m_layerId = layer; } 1009 UInt getNumLayer() { return m_numLayer; } 1010 Void setNumLayer( UInt uiNum ) { m_numLayer = uiNum; } 1013 1011 Void setConformanceWindow(Window& conformanceWindow ) { m_conformanceWindow = conformanceWindow; } 1014 Void setElRapSliceTypeB(Int bEnabled) {m_elRapSliceBEnabled = bEnabled;} 1015 Int getElRapSliceTypeB() {return m_elRapSliceBEnabled;} 1016 #if M0040_ADAPTIVE_RESOLUTION_CHANGE 1017 Void setAdaptiveResolutionChange(Int x) { m_adaptiveResolutionChange = x; } 1018 Int getAdaptiveResolutionChange() { return m_adaptiveResolutionChange; } 1019 #endif 1012 Void setElRapSliceTypeB(Int bEnabled) { m_elRapSliceBEnabled = bEnabled; } 1013 Int getElRapSliceTypeB() { return m_elRapSliceBEnabled; } 1014 Void setAdaptiveResolutionChange(Int x) { m_adaptiveResolutionChange = x; } 1015 Int getAdaptiveResolutionChange() { return m_adaptiveResolutionChange; } 1020 1016 #if R0071_IRAP_EOS_CROSS_LAYER_IMPACTS 1021 1017 Void setLayerSwitchOffBegin(Int x) { m_layerSwitchOffBegin = x; } -
branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r1123 r1130 1105 1105 } 1106 1106 1107 #if M0040_ADAPTIVE_RESOLUTION_CHANGE1107 #if SVC_EXTENSION 1108 1108 if (m_pcEncTop->getAdaptiveResolutionChange() > 0 && ((m_layerId > 0 && pocCurr < m_pcEncTop->getAdaptiveResolutionChange()) || 1109 1109 (m_layerId == 0 && pocCurr > m_pcEncTop->getAdaptiveResolutionChange())) ) … … 1263 1263 xSetLayerInitializedFlag(pcSlice); 1264 1264 #endif 1265 #if M0040_ADAPTIVE_RESOLUTION_CHANGE1266 1265 if (m_pcEncTop->getAdaptiveResolutionChange() > 0 && m_layerId > 0 && pocCurr > m_pcEncTop->getAdaptiveResolutionChange()) 1267 1266 { … … 1270 1269 pcSlice->setMFMEnabledFlag(false); 1271 1270 } 1272 #endif1273 1271 #endif //SVC_EXTENSION 1274 1272 … … 3482 3480 pcPic->getPicYuvRec()->copyToPic(pcPicYuvRecOut); 3483 3481 3484 #if M0040_ADAPTIVE_RESOLUTION_CHANGE3482 #if SVC_EXTENSION 3485 3483 pcPicYuvRecOut->setReconstructed(true); 3486 3484 #endif
Note: See TracChangeset for help on using the changeset viewer.