Changeset 791 in SHVCSoftware


Ignore:
Timestamp:
6 Jun 2014, 19:48:48 (11 years ago)
Author:
seregin
Message:

remove VPS_RENAME

Location:
branches/SHM-6-dev/source
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-6-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r782 r791  
    8282    vps->setTemporalNestingFlag(true);
    8383  }
    84 #if !VPS_RENAME
    85   vps.setMaxLayers                        ( 1 );
    86 #endif
    8784  for(Int i = 0; i < MAX_TLAYER; i++)
    8885  {
     
    10331030#endif
    10341031  }
    1035 #if VPS_RENAME
    10361032  m_acTEncTop[0].getVPS()->setMaxLayers( m_numLayers );
    1037 #endif
    10381033#if VPS_EXTN_OP_LAYER_SETS
    10391034  TComVPS* vps = m_acTEncTop[0].getVPS();
  • branches/SHM-6-dev/source/Lib/TLibCommon/TComSlice.cpp

    r778 r791  
    22242224, m_bTemporalIdNestingFlag    (false)
    22252225, m_numHrdParameters          (  0)
    2226 #if !VPS_RENAME
    2227 , m_maxNuhReservedZeroLayerId (  0)
    2228 #endif
    22292226, m_hrdParameters             (NULL)
    22302227, m_hrdOpSetIdx               (NULL)
    22312228, m_cprmsPresentFlag          (NULL)
    2232 #if VPS_RENAME
    22332229, m_maxLayerId                (0)
    22342230, m_numLayerSets              (0)
    2235 #endif
    22362231#if VPS_EXTN_OP_LAYER_SETS
    22372232, m_numOutputLayerSets        (0) 
  • branches/SHM-6-dev/source/Lib/TLibCommon/TComSlice.h

    r782 r791  
    472472
    473473  UInt        m_numHrdParameters;
    474 #if !VPS_RENAME
     474#if !SVC_EXTENSION
    475475  UInt        m_maxNuhReservedZeroLayerId;
    476476#endif
     
    495495#endif
    496496#endif
    497 #if VPS_RENAME
    498497  UInt        m_maxLayerId;
    499498  UInt        m_numLayerSets;
     
    502501#else
    503502  Bool        m_layerIdIncludedFlag[MAX_VPS_LAYER_SETS_PLUS1][MAX_VPS_LAYER_ID_PLUS1];
    504 #endif
    505503#endif
    506504
     
    837835  Void    setTreePartitionLayerId(Int idx, Int layerIdx, UInt layerId)           { m_treePartitionLayerIdList[idx][layerIdx] = layerId; }
    838836#endif
    839 #if VPS_RENAME
    840   UInt    getMaxLayerId()                                       { return m_maxLayerId; }
    841   Void    setMaxLayerId(UInt v)                                 { m_maxLayerId = v;    }
    842 
     837  UInt    getMaxLayerId()                                       { return m_maxLayerId;   }
     838  Void    setMaxLayerId(UInt v)                                 { m_maxLayerId = v;      }
    843839  UInt    getNumLayerSets()                                     { return m_numLayerSets; }
    844840  Void    setNumLayerSets(UInt v)                               { m_numLayerSets = v;    }
    845 #endif
    846841#if VPS_EXTN_MASK_AND_DIM_INFO
    847842  Bool   getAvcBaseLayerFlag()                                  { return m_avcBaseLayerFlag;       }
     
    873868#endif
    874869#if BITRATE_PICRATE_SIGNALLING
    875     UInt   getMaxSLayersInLayerSetMinus1(Int ls)                { return m_maxSLInLayerSetMinus1[ls];    }
    876     Void   setMaxSLayersInLayerSetMinus1(Int ls, Int x)         { m_maxSLInLayerSetMinus1[ls] = x;       }
    877 #endif
    878   Bool   getIlpSshSignalingEnabledFlag()                      { return m_ilpSshSignalingEnabledFlag;}
    879   Void   setIlpSshSignalingEnabledFlag(Bool x)                { m_ilpSshSignalingEnabledFlag = x;}
     870  UInt   getMaxSLayersInLayerSetMinus1(Int ls)                  { return m_maxSLInLayerSetMinus1[ls]; }
     871  Void   setMaxSLayersInLayerSetMinus1(Int ls, Int x)           { m_maxSLInLayerSetMinus1[ls] = x;    }
     872#endif
     873  Bool   getIlpSshSignalingEnabledFlag()                        { return m_ilpSshSignalingEnabledFlag;}
     874  Void   setIlpSshSignalingEnabledFlag(Bool x)                  { m_ilpSshSignalingEnabledFlag = x;}
    880875#if VPS_EXTN_PROFILE_INFO
    881876  Bool   getProfilePresentFlag(Int id)                          { return m_profilePresentFlag[id]; }
  • branches/SHM-6-dev/source/Lib/TLibCommon/TypeDef.h

    r790 r791  
    297297#define MAX_NESTING_NUM_LAYER       64
    298298
    299 #if VPS_RENAME
     299#if SVC_EXTENSION
    300300#define MAX_VPS_OP_LAYER_SETS_PLUS1               (MAX_LAYERS+1)
    301301#define MAX_VPS_LAYER_SETS_PLUS1                  1024
  • branches/SHM-6-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r784 r791  
    920920  READ_CODE( 4,  uiCode,  "vps_video_parameter_set_id" );         pcVPS->setVPSId( uiCode );
    921921  READ_CODE( 2,  uiCode,  "vps_reserved_three_2bits" );           assert(uiCode == 3);
    922 #if VPS_RENAME
     922#if SVC_EXTENSION
    923923#if O0137_MAX_LAYERID
    924924  READ_CODE( 6,  uiCode,  "vps_max_layers_minus1" );              pcVPS->setMaxLayers( min( 62u, uiCode) + 1 );
     
    962962  }
    963963
    964 #if VPS_RENAME
     964#if SVC_EXTENSION
    965965  assert( pcVPS->getNumHrdParameters() < MAX_VPS_LAYER_SETS_PLUS1 );
    966966  assert( pcVPS->getMaxLayerId()       < MAX_VPS_LAYER_ID_PLUS1 );
  • branches/SHM-6-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r784 r791  
    704704  WRITE_CODE( pcVPS->getVPSId(),                    4,        "vps_video_parameter_set_id" );
    705705  WRITE_CODE( 3,                                    2,        "vps_reserved_three_2bits" );
    706 #if VPS_RENAME
     706#if SVC_EXTENSION
    707707  WRITE_CODE( pcVPS->getMaxLayers() - 1,            6,        "vps_max_layers_minus1" );           
    708708#else
     
    735735  }
    736736
    737 #if VPS_RENAME
     737#if SVC_EXTENSION
    738738  assert( pcVPS->getNumHrdParameters() <= MAX_VPS_LAYER_SETS_PLUS1 );
    739739  assert( pcVPS->getMaxLayerId() < MAX_VPS_LAYER_ID_PLUS1 );
Note: See TracChangeset for help on using the changeset viewer.