Changeset 883 in 3DVCSoftware for branches/HTM-10.1-dev0/source/Lib/TLibCommon/TComSlice.cpp
- Timestamp:
- 28 Mar 2014, 01:43:58 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-10.1-dev0/source/Lib/TLibCommon/TComSlice.cpp
r882 r883 2166 2166 } 2167 2167 2168 Int TComVPS::getMaxSubLayersInLayerSetMinus1( Int i ) 2169 { 2170 Int maxSLMinus1 = 0; 2171 Int optLsIdx = getLayerSetIdxForOutputLayerSet( i ); 2172 for( Int k = 0; k < getNumLayersInIdList( optLsIdx ); k++ ) 2173 { 2174 Int lId = m_layerSetLayerIdList[optLsIdx][k]; 2175 maxSLMinus1 = std::max( maxSLMinus1, getSubLayersVpsMaxMinus1( getLayerIdInVps( lId ) )); 2176 } 2177 return maxSLMinus1; 2178 } 2179 2168 2180 #endif // H_MV 2169 2181 … … 3832 3844 } 3833 3845 3846 Void TComVPSVUI::inferVpsVui( Bool encoderFlag ) 3847 { 3848 // inference of syntax elements that differ from default inference (as done in constructor), when VPS VUI is not present 3849 if (!encoderFlag ) 3850 { 3851 setCrossLayerIrapAlignedFlag( false ); 3852 } 3853 else 3854 { 3855 assert( !getCrossLayerIrapAlignedFlag() ); 3856 } 3857 } 3858 3834 3859 Void TComRepFormat::inferChromaAndBitDepth( TComRepFormat* prevRepFormat, Bool encoderFlag ) 3835 3860 { … … 3896 3921 setMatrixCoefficients ( videoSignalInfo->getMatrixCoeffsVps () ); 3897 3922 } 3898 #endif 3923 3924 TComDpbSize::TComDpbSize() 3925 { 3926 for (Int i = 0; i < MAX_VPS_OUTPUTLAYER_SETS; i++ ) 3927 { 3928 m_subLayerFlagInfoPresentFlag[i] = false; 3929 3930 for (Int j = 0; j < MAX_TLAYER; j++ ) 3931 { 3932 m_subLayerDpbInfoPresentFlag [i][j] = ( j == 0) ; 3933 m_maxVpsNumReorderPics [i][j] = 0; 3934 m_maxVpsLatencyIncreasePlus1 [i][j] = 0; 3935 3936 for (Int k = 0; k < MAX_NUM_LAYER_IDS; k++ ) 3937 { 3938 m_maxVpsDecPicBufferingMinus1[i][k][j] = 0; 3939 } 3940 } 3941 } 3942 } 3943 #endif
Note: See TracChangeset for help on using the changeset viewer.