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


Ignore:
Timestamp:
5 Aug 2015, 19:23:14 (9 years ago)
Author:
seregin
Message:

fix uninitialized variables at encoder

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

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncCfg.h

    r1415 r1424  
    395395  UInt      m_layerId;   
    396396  UInt      m_numLayer;
    397   Int       m_elRapSliceBEnabled;
     397  Bool      m_elRapSliceBEnabled;
    398398  Int       m_adaptiveResolutionChange;
    399399  Int       m_layerSwitchOffBegin;
     
    10961096  Void      setConformanceWindow(Window& conformanceWindow ) { m_conformanceWindow = conformanceWindow; }
    10971097  Void      setElRapSliceTypeB(Int bEnabled)                 { m_elRapSliceBEnabled = bEnabled;   }
    1098   Int       getElRapSliceTypeB()                             { return m_elRapSliceBEnabled;       }
     1098  Bool      getElRapSliceTypeB()                             { return m_elRapSliceBEnabled;       }
    10991099  Void      setAdaptiveResolutionChange(Int x)               { m_adaptiveResolutionChange = x;    }
    11001100  Int       getAdaptiveResolutionChange()                    { return m_adaptiveResolutionChange; }
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncSearch.cpp

    r1421 r1424  
    23542354      if (m_pcEncCfg->getFastUDIUseMPMEnabled())
    23552355      {
    2356 #if FAST_INTRA_SHVC == 0
     2356#if !FAST_INTRA_SHVC
    23572357        Int uiPreds[NUM_MOST_PROBABLE_MODES] = {-1, -1, -1};
    23582358
Note: See TracChangeset for help on using the changeset viewer.