Ignore:
Timestamp:
4 Aug 2015, 20:21:46 (9 years ago)
Author:
seregin
Message:

remove global variables g_reducedSetIntraModes and g_predefSetIntraModes, and make them TComDataCU members

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibCommon/TComDataCU.h

    r1395 r1418  
    8989#if SVC_EXTENSION
    9090  UInt          m_layerId;          ///< layer id
     91#if FAST_INTRA_SHVC
     92  UChar         m_reducedSetIntraModes[NUM_INTRA_MODE-1];
     93#endif
    9194#endif
    9295
     
    474477 
    475478#if SVC_EXTENSION
    476   Void          setLayerId (UInt layerId) { m_layerId = layerId; }
    477   UInt          getLayerId ()               { return m_layerId; }
    478   UInt          getLayerIdx ()              { return m_pcSlice->getVPS()->getLayerIdxInVps(m_layerId); }
     479  Void          setLayerId (UInt layerId)       { m_layerId = layerId; }
     480  UInt          getLayerId ()                   { return m_layerId; }
     481  UInt          getLayerIdx ()                  { return m_pcSlice->getVPS()->getLayerIdxInVps(m_layerId); }
    479482#if N0383_IL_CONSTRAINED_TILE_SETS_SEI
    480483  Bool          isInterLayerReference(UChar uhInterDir, TComMvField& cMvFieldL0, TComMvField& cMvFieldL1);
    481484#endif
    482485#if FAST_INTRA_SHVC
    483   Int           reduceSetOfIntraModes              (  UInt   uiAbsPartIdx, Int* uiIntraDirPred, Int &fullSetOfModes );
     486  Int           reduceSetOfIntraModes(  UInt   uiAbsPartIdx, Int* uiIntraDirPred, Int &fullSetOfModes );
    484487#endif
    485488#if REF_IDX_ME_ZEROMV
     
    490493  TComDataCU*   getBaseColCU( UInt refLayerIdc, UInt pelX, UInt pelY, UInt &uiCUAddrBase, UInt &uiAbsPartIdxBase, Bool motionMapping = false );
    491494  Void          scaleBaseMV( UInt refLayerIdc, TComMvField& rcMvFieldEnhance, TComMvField& rcMvFieldBase );
     495#if FAST_INTRA_SHVC
     496  UChar         getReducedSetIntraModes(UChar idx)     { assert( idx < NUM_INTRA_MODE-1 ); return m_reducedSetIntraModes[idx]; }
     497#endif
    492498#endif
    493499};
Note: See TracChangeset for help on using the changeset viewer.