Changeset 791 in SHVCSoftware
- Timestamp:
- 6 Jun 2014, 19:48:48 (11 years ago)
- Location:
- branches/SHM-6-dev/source
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-6-dev/source/App/TAppEncoder/TAppEncTop.cpp
r782 r791 82 82 vps->setTemporalNestingFlag(true); 83 83 } 84 #if !VPS_RENAME85 vps.setMaxLayers ( 1 );86 #endif87 84 for(Int i = 0; i < MAX_TLAYER; i++) 88 85 { … … 1033 1030 #endif 1034 1031 } 1035 #if VPS_RENAME1036 1032 m_acTEncTop[0].getVPS()->setMaxLayers( m_numLayers ); 1037 #endif1038 1033 #if VPS_EXTN_OP_LAYER_SETS 1039 1034 TComVPS* vps = m_acTEncTop[0].getVPS(); -
branches/SHM-6-dev/source/Lib/TLibCommon/TComSlice.cpp
r778 r791 2224 2224 , m_bTemporalIdNestingFlag (false) 2225 2225 , m_numHrdParameters ( 0) 2226 #if !VPS_RENAME2227 , m_maxNuhReservedZeroLayerId ( 0)2228 #endif2229 2226 , m_hrdParameters (NULL) 2230 2227 , m_hrdOpSetIdx (NULL) 2231 2228 , m_cprmsPresentFlag (NULL) 2232 #if VPS_RENAME2233 2229 , m_maxLayerId (0) 2234 2230 , m_numLayerSets (0) 2235 #endif2236 2231 #if VPS_EXTN_OP_LAYER_SETS 2237 2232 , m_numOutputLayerSets (0) -
branches/SHM-6-dev/source/Lib/TLibCommon/TComSlice.h
r782 r791 472 472 473 473 UInt m_numHrdParameters; 474 #if ! VPS_RENAME474 #if !SVC_EXTENSION 475 475 UInt m_maxNuhReservedZeroLayerId; 476 476 #endif … … 495 495 #endif 496 496 #endif 497 #if VPS_RENAME498 497 UInt m_maxLayerId; 499 498 UInt m_numLayerSets; … … 502 501 #else 503 502 Bool m_layerIdIncludedFlag[MAX_VPS_LAYER_SETS_PLUS1][MAX_VPS_LAYER_ID_PLUS1]; 504 #endif505 503 #endif 506 504 … … 837 835 Void setTreePartitionLayerId(Int idx, Int layerIdx, UInt layerId) { m_treePartitionLayerIdList[idx][layerIdx] = layerId; } 838 836 #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; } 843 839 UInt getNumLayerSets() { return m_numLayerSets; } 844 840 Void setNumLayerSets(UInt v) { m_numLayerSets = v; } 845 #endif846 841 #if VPS_EXTN_MASK_AND_DIM_INFO 847 842 Bool getAvcBaseLayerFlag() { return m_avcBaseLayerFlag; } … … 873 868 #endif 874 869 #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;} 880 875 #if VPS_EXTN_PROFILE_INFO 881 876 Bool getProfilePresentFlag(Int id) { return m_profilePresentFlag[id]; } -
branches/SHM-6-dev/source/Lib/TLibCommon/TypeDef.h
r790 r791 297 297 #define MAX_NESTING_NUM_LAYER 64 298 298 299 #if VPS_RENAME299 #if SVC_EXTENSION 300 300 #define MAX_VPS_OP_LAYER_SETS_PLUS1 (MAX_LAYERS+1) 301 301 #define MAX_VPS_LAYER_SETS_PLUS1 1024 -
branches/SHM-6-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r784 r791 920 920 READ_CODE( 4, uiCode, "vps_video_parameter_set_id" ); pcVPS->setVPSId( uiCode ); 921 921 READ_CODE( 2, uiCode, "vps_reserved_three_2bits" ); assert(uiCode == 3); 922 #if VPS_RENAME922 #if SVC_EXTENSION 923 923 #if O0137_MAX_LAYERID 924 924 READ_CODE( 6, uiCode, "vps_max_layers_minus1" ); pcVPS->setMaxLayers( min( 62u, uiCode) + 1 ); … … 962 962 } 963 963 964 #if VPS_RENAME964 #if SVC_EXTENSION 965 965 assert( pcVPS->getNumHrdParameters() < MAX_VPS_LAYER_SETS_PLUS1 ); 966 966 assert( pcVPS->getMaxLayerId() < MAX_VPS_LAYER_ID_PLUS1 ); -
branches/SHM-6-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r784 r791 704 704 WRITE_CODE( pcVPS->getVPSId(), 4, "vps_video_parameter_set_id" ); 705 705 WRITE_CODE( 3, 2, "vps_reserved_three_2bits" ); 706 #if VPS_RENAME706 #if SVC_EXTENSION 707 707 WRITE_CODE( pcVPS->getMaxLayers() - 1, 6, "vps_max_layers_minus1" ); 708 708 #else … … 735 735 } 736 736 737 #if VPS_RENAME737 #if SVC_EXTENSION 738 738 assert( pcVPS->getNumHrdParameters() <= MAX_VPS_LAYER_SETS_PLUS1 ); 739 739 assert( pcVPS->getMaxLayerId() < MAX_VPS_LAYER_ID_PLUS1 );
Note: See TracChangeset for help on using the changeset viewer.