Changeset 551 in SHVCSoftware for branches/SHM-5.0-dev/source/Lib/TLibCommon
- Timestamp:
- 21 Jan 2014, 18:57:33 (11 years ago)
- Location:
- branches/SHM-5.0-dev/source/Lib/TLibCommon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.0-dev/source/Lib/TLibCommon/TComSlice.cpp
r550 r551 2123 2123 { 2124 2124 #if O0225_MAX_TID_FOR_REF_LAYERS 2125 for( Int j = 0; j < MAX_VPS_LAYER_ID_PLUS1; j++)2126 {2127 m_maxTidIlRefPicsPlus1[i][j] = m_uiMaxTLayers + 1;2128 }2125 for( Int j = 0; j < MAX_VPS_LAYER_ID_PLUS1; j++) 2126 { 2127 m_maxTidIlRefPicsPlus1[i][j] = m_uiMaxTLayers + 1; 2128 } 2129 2129 #else 2130 2130 m_maxTidIlRefPicsPlus1[i] = m_uiMaxTLayers + 1; … … 2133 2133 #endif 2134 2134 #if VPS_VUI_TILES_NOT_IN_USE__FLAG 2135 2136 2137 2135 m_tilesNotInUseFlag = true; 2136 ::memset(m_tilesInUseFlag, 0, sizeof(m_tilesInUseFlag)); 2137 ::memset(m_loopFilterNotAcrossTilesFlag, 0, sizeof(m_loopFilterNotAcrossTilesFlag)); 2138 2138 #endif 2139 2139 #if TILE_BOUNDARY_ALIGNED_FLAG 2140 2140 ::memset(m_tileBoundariesAlignedFlag, 0, sizeof(m_tileBoundariesAlignedFlag)); 2141 2141 #endif 2142 2142 #if VPS_VUI_WPP_NOT_IN_USE__FLAG 2143 2144 2143 m_wppNotInUseFlag = true; 2144 ::memset(m_wppInUseFlag, 0, sizeof(m_wppInUseFlag)); 2145 2145 #endif 2146 2146 #if N0160_VUI_EXT_ILP_REF 2147 m_numIlpRestrictedRefLayers= false;2148 2149 2150 2147 m_ilpRestrictedRefLayersFlag = false; 2148 ::memset(m_minSpatialSegmentOffsetPlus1, 0, sizeof(m_minSpatialSegmentOffsetPlus1)); 2149 ::memset(m_ctuBasedOffsetEnabledFlag, 0, sizeof(m_ctuBasedOffsetEnabledFlag)); 2150 ::memset(m_minHorizontalCtuOffsetPlus1, 0, sizeof(m_minHorizontalCtuOffsetPlus1)); 2151 2151 #endif 2152 2152 #if VPS_VUI_VIDEO_SIGNAL 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2153 m_vidSigPresentVpsFlag=true; 2154 m_vpsVidSigInfo=1; 2155 ::memset( m_vpsVidSigIdx, 0, sizeof(m_vpsVidSigIdx) ); 2156 m_vpsVidSigIdx[0]=0; 2157 for (Int i=0; i < 16; i++) 2158 { 2159 m_vpsVidFormat[i] = 5; 2160 m_vpsFullRangeFlag[i] = false; 2161 m_vpsColorPrimaries[i] = 2; 2162 m_vpsTransChar[i] = 2; 2163 m_vpsMatCoeff[i] = 2; 2164 } 2165 2165 #endif 2166 2166 #if VPS_VUI_BITRATE_PICRATE -
branches/SHM-5.0-dev/source/Lib/TLibCommon/TComSlice.h
r550 r551 591 591 #endif 592 592 #if N0160_VUI_EXT_ILP_REF 593 Bool m_ numIlpRestrictedRefLayers;593 Bool m_ilpRestrictedRefLayersFlag; 594 594 Int m_minSpatialSegmentOffsetPlus1[MAX_VPS_LAYER_ID_PLUS1][MAX_VPS_LAYER_ID_PLUS1]; 595 595 Bool m_ctuBasedOffsetEnabledFlag [MAX_VPS_LAYER_ID_PLUS1][MAX_VPS_LAYER_ID_PLUS1]; … … 597 597 #endif 598 598 #if VPS_VUI_VIDEO_SIGNAL 599 600 601 602 603 604 605 606 599 Bool m_vidSigPresentVpsFlag; 600 Int m_vpsVidSigInfo; 601 Int m_vpsVidSigIdx[MAX_VPS_LAYER_ID_PLUS1]; 602 Int m_vpsVidFormat[16]; 603 Bool m_vpsFullRangeFlag[16]; 604 Int m_vpsColorPrimaries[16]; 605 Int m_vpsTransChar[16]; 606 Int m_vpsMatCoeff[16]; 607 607 #endif 608 608 #if VPS_VUI_BITRATE_PICRATE … … 898 898 #endif 899 899 #if N0160_VUI_EXT_ILP_REF 900 Bool get NumIlpRestrictedRefLayers ( ) { return m_numIlpRestrictedRefLayers;}901 Void set NumIlpRestrictedRefLayers ( Int val ) { m_numIlpRestrictedRefLayers= val;}900 Bool getIlpRestrictedRefLayersFlag ( ) { return m_ilpRestrictedRefLayersFlag ;} 901 Void setIlpRestrictedRefLayersFlag ( Int val ) { m_ilpRestrictedRefLayersFlag = val;} 902 902 903 903 Int getMinSpatialSegmentOffsetPlus1( Int currLayerId, Int refLayerId ) { return m_minSpatialSegmentOffsetPlus1[currLayerId][refLayerId];}
Note: See TracChangeset for help on using the changeset viewer.