Changeset 1130 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder


Ignore:
Timestamp:
7 Jul 2015, 03:13:38 (10 years ago)
Author:
seregin
Message:

macro cleanup: M0040_ADAPTIVE_RESOLUTION_CHANGE

Location:
branches/SHM-dev/source/Lib/TLibEncoder
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r1128 r1130  
    26422642#endif
    26432643
    2644 #if M0040_ADAPTIVE_RESOLUTION_CHANGE
    26452644  WRITE_FLAG(vps->getSingleLayerForNonIrapFlag(), "single_layer_for_non_irap_flag" );
    2646 #endif
    26472645
    26482646  // 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  
    370370  UInt      m_numLayer;
    371371  Int       m_elRapSliceBEnabled;
    372 #if M0040_ADAPTIVE_RESOLUTION_CHANGE
    373372  Int       m_adaptiveResolutionChange;
    374 #endif
    375373#if R0071_IRAP_EOS_CROSS_LAYER_IMPACTS
    376374  int       m_layerSwitchOffBegin;
     
    10071005#endif
    10081006#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;  }
    10131011  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; }
    10201016#if R0071_IRAP_EOS_CROSS_LAYER_IMPACTS
    10211017  Void      setLayerSwitchOffBegin(Int x)    { m_layerSwitchOffBegin = x;    }
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r1123 r1130  
    11051105    }
    11061106
    1107 #if M0040_ADAPTIVE_RESOLUTION_CHANGE
     1107#if SVC_EXTENSION
    11081108    if (m_pcEncTop->getAdaptiveResolutionChange() > 0 && ((m_layerId > 0 && pocCurr < m_pcEncTop->getAdaptiveResolutionChange()) ||
    11091109                                                          (m_layerId == 0 && pocCurr > m_pcEncTop->getAdaptiveResolutionChange())) )
     
    12631263    xSetLayerInitializedFlag(pcSlice);
    12641264#endif
    1265 #if M0040_ADAPTIVE_RESOLUTION_CHANGE
    12661265    if (m_pcEncTop->getAdaptiveResolutionChange() > 0 && m_layerId > 0 && pocCurr > m_pcEncTop->getAdaptiveResolutionChange())
    12671266    {
     
    12701269      pcSlice->setMFMEnabledFlag(false);
    12711270    }
    1272 #endif
    12731271#endif //SVC_EXTENSION
    12741272
     
    34823480    pcPic->getPicYuvRec()->copyToPic(pcPicYuvRecOut);
    34833481
    3484 #if M0040_ADAPTIVE_RESOLUTION_CHANGE
     3482#if SVC_EXTENSION
    34853483    pcPicYuvRecOut->setReconstructed(true);
    34863484#endif
Note: See TracChangeset for help on using the changeset viewer.