Changeset 854 in 3DVCSoftware for branches/HTM-10.0-dev0/source/Lib/TLibCommon/TComSlice.cpp
- Timestamp:
- 13 Feb 2014, 22:58:51 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-10.0-dev0/source/Lib/TLibCommon/TComSlice.cpp
r852 r854 103 103 , m_isDepth (false) 104 104 #endif 105 #if !H_MV_HLS7_GEN 105 106 , m_pocResetFlag (false) 107 #endif 106 108 #if H_MV 107 109 , m_crossLayerBlaFlag (false) … … 1032 1034 #if H_MV 1033 1035 // Additional slice header syntax elements 1036 #if !H_MV_HLS7_GEN 1034 1037 m_pocResetFlag = pSrc->m_pocResetFlag; 1038 #endif 1035 1039 m_discardableFlag = pSrc->m_discardableFlag; 1036 1040 m_interLayerPredEnabledFlag = pSrc->m_interLayerPredEnabledFlag; … … 1707 1711 } 1708 1712 } 1709 1713 #if !H_MV_HLS_7_OUTPUT_LAYERS_5_10_22_27 1710 1714 m_vpsNumberLayerSetsMinus1 = -1; 1715 #endif 1711 1716 m_vpsNumProfileTierLevelMinus1 = -1; 1712 1717 1718 #if !H_MV_HLS_7_OUTPUT_LAYERS_5_10_22_27 1713 1719 for ( Int i = 0; i < MAX_VPS_PROFILE_TIER_LEVEL; i++) 1714 1720 { 1721 #if !H_MV_HLS_7_VPS_P0048_14 1715 1722 m_profileRefMinus1[ i ] = -1; 1723 #endif 1716 1724 } 1717 1725 … … 1719 1727 m_numAddOutputLayerSetsMinus1 = -1; 1720 1728 m_defaultOneTargetOutputLayerIdc = 0; 1729 #else 1730 m_numAddOutputLayerSets = -1; 1731 m_defaultTargetOutputLayerIdc = 0; 1732 #endif 1721 1733 1722 1734 for ( Int i = 0; i < MAX_VPS_OUTPUTLAYER_SETS; i++) … … 1728 1740 m_outputLayerFlag[i][j] = false; 1729 1741 } 1730 } 1742 #if H_MV_HLS_7_OUTPUT_LAYERS_5_10_22_27 1743 m_altOutputLayerFlag[ i ] = false; 1744 #endif 1745 } 1746 #if !H_MV_HLS_7_OUTPUT_LAYERS_5_10_22_27 1731 1747 m_altOutputLayerFlag = false; 1748 #endif 1732 1749 m_maxOneActiveRefLayerFlag = false; 1733 1750 m_directDepTypeLenMinus2 = 0; … … 1735 1752 1736 1753 m_avcBaseLayerFlag = false; 1754 #if !H_MV_HLS7_GEN 1737 1755 m_vpsVuiOffset = 0; 1756 #endif 1738 1757 m_splittingFlag = false; 1739 1758 … … 1749 1768 { 1750 1769 m_vpsProfilePresentFlag [i] = false; 1770 #if !H_MV_HLS_7_VPS_P0048_14 1751 1771 m_profileRefMinus1[i] = 0; 1772 #endif 1752 1773 m_outputLayerSetIdxMinus1 [i] = 0; 1753 1774 for( Int j = 0; j < MAX_VPS_NUH_LAYER_ID_PLUS1; j++ ) … … 2060 2081 Int TComVPS::getNumOutputLayerSets() 2061 2082 { 2083 #if H_MV_HLS_7_OUTPUT_LAYERS_5_10_22_27 2084 return getNumAddOutputLayerSets() + getVpsNumLayerSetsMinus1() + 1; 2085 #else 2062 2086 Int numOutputLayerSets = getVpsNumberLayerSetsMinus1( ) + 1; 2063 2087 if ( getMoreOutputLayerSetsThanDefaultFlag( ) ) … … 2066 2090 } 2067 2091 return numOutputLayerSets; 2092 #endif 2068 2093 } 2069 2094 … … 2113 2138 } 2114 2139 2115 Void TComVPS::deriveTargetLayerIdLists() 2140 #if H_MV_HLS_7_OUTPUT_LAYERS_5_10_22_27 2141 Void TComVPS::initTargetLayerIdLists() 2116 2142 { 2117 2143 m_targetDecLayerIdLists.resize( getNumOutputLayerSets() ); 2118 2144 m_targetOptLayerIdLists.resize( getNumOutputLayerSets() ); 2145 } 2146 2147 Void TComVPS::deriveTargetLayerIdList( Int i ) 2148 { 2149 Int lsIdx = getLayerSetIdxForOutputLayerSet( i ); 2150 2151 for( Int j = 0; j < getNumLayersInIdList( lsIdx ); j++ ) 2152 { 2153 m_targetDecLayerIdLists[i].push_back( m_layerSetLayerIdList[ lsIdx ][ j ] ); 2154 if( getOutputLayerFlag( i, j )) 2155 { 2156 m_targetOptLayerIdLists[i].push_back( m_layerSetLayerIdList[ lsIdx ][ j ] ); 2157 } 2158 } 2159 } 2160 #else 2161 Void TComVPS::deriveTargetLayerIdLists() 2162 { 2163 m_targetDecLayerIdLists.resize( getNumOutputLayerSets() ); 2164 m_targetOptLayerIdLists.resize( getNumOutputLayerSets() ); 2119 2165 2120 2166 for (Int targetOptLayerSetIdx = 0; targetOptLayerSetIdx < getNumOutputLayerSets(); targetOptLayerSetIdx++ ) … … 2133 2179 } 2134 2180 } 2181 #endif 2182 2135 2183 #endif // H_MV 2136 2184 … … 2385 2433 { 2386 2434 m_scalingList = new TComScalingList; 2435 2436 #if H_MV_HLS_7_GEN_P0166_PPS_EXTENSION 2437 for( Int i = 0; i < PS_EX_T_MAX_NUM; i++ ) 2438 { 2439 m_ppsExtensionTypeFlag[ i ] = false; 2440 } 2441 #endif 2442 2387 2443 } 2388 2444 … … 2903 2959 // Consider to check here: 2904 2960 // "If the current picture is a RADL picture, there shall be no entry in the RefPicSetInterLayer0 and RefPicSetInterLayer1 that is a RASL picture. " 2961 #if H_MV_HLS7_GEN 2962 // "There shall be no picture that has discardable_flag equal to 1 in RefPicSetInterLayer0 or RefPicSetInterLayer1". 2963 #endif 2905 2964 } 2906 2965 } … … 3077 3136 Int numActiveRefLayerPics; 3078 3137 3138 #if H_MV_HLS_7_MISC_P0079_18 3139 if( getLayerId() == 0 || getNumRefLayerPics() == 0 ) 3140 #else 3079 3141 if( getLayerId() == 0 || getVPS()->getNumDirectRefLayers( getLayerId() ) == 0 ) 3142 #endif 3080 3143 { 3081 3144 numActiveRefLayerPics = 0; … … 3091 3154 else if( getVPS()->getMaxOneActiveRefLayerFlag() || getVPS()->getNumDirectRefLayers( getLayerId() ) == 1 ) 3092 3155 { 3156 #if H_MV_HLS_7_MISC_P0079_18 3157 numActiveRefLayerPics = 1; 3158 #else 3093 3159 numActiveRefLayerPics = getRefLayerPicFlag( 0 ) ? 1 : 0; 3160 #endif 3094 3161 } 3095 3162 else … … 3749 3816 { 3750 3817 m_crossLayerIrapAlignedFlag = true; 3818 #if H_MV_HLS_7_MISC_P0068_21 3819 m_allLayersIdrAlignedFlag = false; 3820 #endif 3751 3821 m_bitRatePresentVpsFlag = false; 3752 3822 m_picRatePresentVpsFlag = false; … … 3775 3845 m_minHorizontalCtuOffsetPlus1 [i][j] = -1; 3776 3846 } 3847 #if H_MV_HLS_7_MISC_P0182_13 3848 m_baseLayerParameterSetCompatibilityFlag[i] = false; 3849 #endif 3777 3850 } 3778 3851 for ( Int i = 0; i < MAX_NUM_VIDEO_SIGNAL_INFO; i++ )
Note: See TracChangeset for help on using the changeset viewer.