Changeset 551 in SHVCSoftware for branches/SHM-5.0-dev/source
- Timestamp:
- 21 Jan 2014, 18:57:33 (11 years ago)
- Location:
- branches/SHM-5.0-dev/source/Lib
- Files:
-
- 4 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];} -
branches/SHM-5.0-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r550 r551 1672 1672 1673 1673 #if N0160_VUI_EXT_ILP_REF 1674 READ_FLAG( uiCode, "num_ilp_restricted_ref_layers" ); vps->setNumIlpRestrictedRefLayers( uiCode == 1 );1675 if( vps->get NumIlpRestrictedRefLayers())1674 READ_FLAG( uiCode, "ilp_restricted_ref_layers_flag" ); vps->setIlpRestrictedRefLayersFlag( uiCode == 1 ); 1675 if( vps->getIlpRestrictedRefLayersFlag()) 1676 1676 { 1677 1677 for(i = 1; i < vps->getMaxLayers(); i++) -
branches/SHM-5.0-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r550 r551 1304 1304 #endif 1305 1305 #if N0160_VUI_EXT_ILP_REF 1306 WRITE_FLAG( vps->get NumIlpRestrictedRefLayers() ? 1 : 0 , "num_ilp_restricted_ref_layers" );1307 if( vps->get NumIlpRestrictedRefLayers())1306 WRITE_FLAG( vps->getIlpRestrictedRefLayersFlag() ? 1 : 0 , "ilp_restricted_ref_layers_flag" ); 1307 if( vps->getIlpRestrictedRefLayersFlag()) 1308 1308 { 1309 1309 for(i = 1; i < vps->getMaxLayers(); i++)
Note: See TracChangeset for help on using the changeset viewer.