Ignore:
Timestamp:
11 Dec 2015, 19:35:23 (8 years ago)
Author:
seregin
Message:

remove VPS member from picture

File:
1 edited

Legend:

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

    r1502 r1503  
    121121 
    122122#if SVC_EXTENSION
    123   // SHM: temporal solution to keep VPS with a picture, ideally it should be picture specific, but currently sizeof(TComVPS) = 86929196
    124   static TComVPS m_vps;
    125123#if N0383_IL_CONSTRAINED_TILE_SETS_SEI
    126124  Int*           m_piTileSetIdxMap;     //the map of the tile set index relative to LCU raster scan address
     
    132130public:
    133131#if SVC_EXTENSION
    134   Void               create  ( const TComVPS &vps, const TComSPS &sps, const TComPPS &pps, UInt uiMaxDepth, const UInt layerId );
     132  Void               create  ( const TComSPS &sps, const TComPPS &pps, UInt uiMaxDepth, const UInt layerId );
    135133#if CGS_3D_ASYMLUT
    136134  TComPPS*           getPPSToUpdate()                                      { return &m_pps; }
     
    154152  const TComPPS&     getPPS()                 const                        { return m_pps; }
    155153
    156 #if SVC_EXTENSION
    157   TComSlice *        swapSliceObject(TComSlice* p, UInt i)                 { p->setVPS(&m_vps); p->setSPS(&m_sps); p->setPPS(&m_pps); TComSlice *pTmp=m_apSlices[i];m_apSlices[i] = p; pTmp->setVPS(0); pTmp->setSPS(0); pTmp->setPPS(0); return pTmp; }
    158 #else
    159154  TComSlice *        swapSliceObject(TComSlice* p, UInt i)                 { p->setSPS(&m_sps); p->setPPS(&m_pps); TComSlice *pTmp=m_apSlices[i];m_apSlices[i] = p; pTmp->setSPS(0); pTmp->setPPS(0); return pTmp; }
    160 #endif
    161155  UInt               getNumAllocatedSlice() const                          { return UInt(m_apSlices.size());       }
    162156  Void               allocateNewSlice();
     
    194188    m_pbSkippedTileSetFlag[i]  = skipFlag;
    195189  }
    196   Int          getTileSetIdxMap( Int i )                             { return *(m_piTileSetIdxMap + i); }
    197   UChar        getTileSetType( Int i )                               { return *(m_pucTileSetType + i); }
     190  Int          getTileSetIdxMap( Int i )                             { return *(m_piTileSetIdxMap + i);      }
     191  UChar        getTileSetType( Int i )                               { return *(m_pucTileSetType + i);       }
    198192  Bool         getSkippedTileSetFlag( Int i )                        { return *(m_pbSkippedTileSetFlag + i); }
    199193#endif
    200   Void         inferSpsForNonHEVCBL()                                { m_sps.inferSPS(0, &m_vps); }
     194  Void         inferSpsForNonHEVCBL(TComVPS *vps)                    { m_sps.inferSPS(0, vps);              }
    201195#endif //SVC_EXTENSION
    202196
Note: See TracChangeset for help on using the changeset viewer.