- Timestamp:
- 7 Jul 2015, 02:24:58 (9 years ago)
- Location:
- branches/SHM-dev/source
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp
r1116 r1124 1685 1685 ("SEIOverlayPersistenceFlag", m_overlayInfoPersistenceFlag, true, "Indicates if the SEI message applies to the current picture only (0) or also to following pictures (1)") 1686 1686 #endif 1687 #if SVC_EXTENSION 1687 1688 #if Q0189_TMVP_CONSTRAINTS 1688 1689 ("SEITemporalMotionVectorPredictionConstraints", m_TMVPConstraintsSEIEnabled, 0, "Control generation of TMVP constrants SEI message") … … 1703 1704 ("TileSetsArray", cfg_tileSets, string(""), "Array containing tile sets params (TopLeftTileIndex, BottonRightTileIndex and ilcIdc for each set) ") 1704 1705 #endif 1705 #if O0153_ALT_OUTPUT_LAYER_FLAG1706 1706 ("AltOutputLayerFlag", m_altOutputLayerFlag, false, "Specifies the value of alt_output_layer_flag in VPS extension") 1707 #endif1708 1707 #if O0149_CROSS_LAYER_BLA_FLAG 1709 1708 ("CrossLayerBLAFlag", m_crossLayerBLAFlag, false, "Specifies the value of cross_layer_bla_flag in VPS") … … 1724 1723 ("InheritCodingStruct%d",m_inheritCodingStruct, 0, MAX_LAYERS, "Predicts the GOP structure of one layer for another layer") 1725 1724 #endif 1725 #endif //SVC_EXTENSION 1726 1726 ; 1727 1727 -
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.h
r1116 r1124 451 451 Int m_TMVPConstraintsSEIEnabled; 452 452 #endif 453 #if O0153_ALT_OUTPUT_LAYER_FLAG454 453 Bool m_altOutputLayerFlag; ///< Specifies the value of alt_output_laye_flag in VPS extension 455 #endif456 454 Int m_elRapSliceBEnabled; 457 455 #endif -
branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp
r1121 r1124 799 799 m_acTEncTop[layer].setChromaFormatIDC ( m_acLayerCfg[layer].m_chromaFormatIDC ); 800 800 #endif 801 #if O0153_ALT_OUTPUT_LAYER_FLAG802 801 m_acTEncTop[layer].setAltOuputLayerFlag ( m_altOutputLayerFlag ); 803 #endif804 802 #if O0149_CROSS_LAYER_BLA_FLAG 805 803 m_acTEncTop[layer].setCrossLayerBLAFlag ( m_crossLayerBLAFlag ); … … 1784 1782 #endif 1785 1783 1786 #if P0300_ALT_OUTPUT_LAYER_FLAG1787 1784 for (Int k = 0; k < MAX_VPS_LAYER_SETS_PLUS1; k++) 1788 1785 { 1789 1786 vps->setAltOuputLayerFlag( k, m_altOutputLayerFlag ); 1790 1787 } 1791 #else1792 #if O0153_ALT_OUTPUT_LAYER_FLAG1793 vps->setAltOuputLayerFlag( m_altOutputLayerFlag );1794 #endif1795 #endif1796 1788 1797 1789 #if VPS_VUI_BSP_HRD_PARAMS -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h
r1120 r1124 752 752 Int m_avgPicRate [MAX_VPS_LAYER_SETS_PLUS1][MAX_TLAYER]; 753 753 754 #if P0300_ALT_OUTPUT_LAYER_FLAG755 754 #if Q0078_ADD_LAYER_SETS 756 755 Bool m_altOutputLayerFlag[MAX_VPS_LAYER_SETS_PLUS1 + 2*MAX_NUM_ADD_LAYER_SETS]; … … 758 757 Bool m_altOutputLayerFlag[MAX_VPS_LAYER_SETS_PLUS1]; 759 758 #endif 760 #else 761 #if O0153_ALT_OUTPUT_LAYER_FLAG 762 Bool m_altOutputLayerFlag; 763 #endif 764 #endif 759 765 760 #if REPN_FORMAT_IN_VPS 766 761 Bool m_repFormatIdxPresentFlag; … … 1271 1266 #endif 1272 1267 1273 #if P0300_ALT_OUTPUT_LAYER_FLAG1274 1268 Bool getAltOuputLayerFlag(Int idx) { return m_altOutputLayerFlag[idx]; } 1275 1269 Void setAltOuputLayerFlag(Int idx, Bool x) { m_altOutputLayerFlag[idx] = x; } 1276 #else 1277 #if O0153_ALT_OUTPUT_LAYER_FLAG 1278 Bool getAltOuputLayerFlag() { return m_altOutputLayerFlag; } 1279 Void setAltOuputLayerFlag(Bool x) { m_altOutputLayerFlag = x; } 1280 #endif 1281 #endif 1270 1282 1271 #if REPN_FORMAT_IN_VPS 1283 1272 Bool getRepFormatIdxPresentFlag() { return m_repFormatIdxPresentFlag; } -
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1122 r1124 190 190 #define O0098_SCALED_REF_LAYER_ID 1 ///< JCTVC-O0098: signal scaled reference id 191 191 192 #define O0153_ALT_OUTPUT_LAYER_FLAG 1 ///< JCTVC-O0153: alt output layer flag193 #define P0300_ALT_OUTPUT_LAYER_FLAG 1 ///< JCTVC-P0300: alt output layer flag194 195 192 #define Q0165_OUTPUT_LAYER_SET 1 ///< JCTVC-Q0165: add a constraint to disallow an empty output layer set 196 193 #define Q0165_NUM_ADD_OUTPUT_LAYER_SETS 1 ///< JCTVC-Q0165: signal num_add_olss and default_target_output_layer_idc when vps_num_layer_sets_minus1 is greater than 0 -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1121 r1124 2698 2698 { 2699 2699 UInt uiCode; 2700 // ... More syntax elements to be parsed here2701 #if P0300_ALT_OUTPUT_LAYER_FLAG2702 2700 Int NumOutputLayersInOutputLayerSet[MAX_VPS_LAYER_SETS_PLUS1]; 2703 2701 Int OlsHighestOutputLayerId[MAX_VPS_LAYER_SETS_PLUS1]; 2704 #endif2705 2702 #if LIST_OF_PTL 2706 2703 if( vps->getMaxLayers() > 1 && vps->getBaseLayerInternalFlag() ) … … 3089 3086 READ_CODE( numBits, uiCode, "profile_tier_level_idx[i]" ); vps->setProfileLevelTierIdx(i, uiCode); 3090 3087 #endif 3091 #if P0300_ALT_OUTPUT_LAYER_FLAG 3088 3092 3089 NumOutputLayersInOutputLayerSet[i] = 0; 3093 3090 for (j = 0; j < vps->getNumLayersInIdList(layerSetIdxForOutputLayerSet); j++) … … 3113 3110 #if Q0165_OUTPUT_LAYER_SET 3114 3111 assert( NumOutputLayersInOutputLayerSet[i]>0 ); 3115 #endif3116 3117 3112 #endif 3118 3113 } … … 3210 3205 READ_CODE( numBits, uiCode, "profile_level_tier_idx[i]" ); vps->setProfileLevelTierIdx(i, uiCode); 3211 3206 } 3212 #endif3213 3214 #if !P0300_ALT_OUTPUT_LAYER_FLAG3215 #if O0153_ALT_OUTPUT_LAYER_FLAG3216 if( vps->getMaxLayers() > 1 )3217 {3218 READ_FLAG( uiCode, "alt_output_layer_flag");3219 vps->setAltOuputLayerFlag( uiCode ? true : false );3220 }3221 #endif3222 3207 #endif 3223 3208 -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r1121 r1124 1988 1988 Void TEncCavlc::codeVPSExtension (TComVPS *vps) 1989 1989 { 1990 // ... More syntax elements to be written here1991 #if P0300_ALT_OUTPUT_LAYER_FLAG1992 1990 Int NumOutputLayersInOutputLayerSet[MAX_VPS_LAYER_SETS_PLUS1]; 1993 1991 Int OlsHighestOutputLayerId[MAX_VPS_LAYER_SETS_PLUS1]; 1994 #endif1995 1992 #if LIST_OF_PTL 1996 1993 if( vps->getMaxLayers() > 1 && vps->getBaseLayerInternalFlag() ) … … 2247 2244 WRITE_CODE( vps->getProfileLevelTierIdx(i), numBits, "profile_level_tier_idx[i]" ); 2248 2245 #endif 2249 #if P0300_ALT_OUTPUT_LAYER_FLAG 2246 2250 2247 NumOutputLayersInOutputLayerSet[i] = 0; 2251 2248 for (j = 0; j < vps->getNumLayersInIdList(layerSetIdxForOutputLayerSet); j++) … … 2265 2262 assert( NumOutputLayersInOutputLayerSet[i]>0 ); 2266 2263 #endif 2267 2268 #endif 2269 } 2270 2271 #if !P0300_ALT_OUTPUT_LAYER_FLAG 2272 #if O0153_ALT_OUTPUT_LAYER_FLAG 2273 if( vps->getMaxLayers() > 1 ) 2274 { 2275 WRITE_FLAG( vps->getAltOuputLayerFlag(), "alt_output_layer_flag" ); 2276 } 2277 #endif 2278 #endif 2264 } 2279 2265 2280 2266 #if REPN_FORMAT_IN_VPS -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCfg.h
r1090 r1124 377 377 int m_layerSwitchOffEnd; 378 378 #endif 379 #if O0153_ALT_OUTPUT_LAYER_FLAG380 379 Bool m_altOutputLayerFlag; 381 #endif382 380 #if HIGHER_LAYER_IRAP_SKIP_FLAG 383 381 Int m_skipPictureAtArcSwitch; … … 1036 1034 ChromaFormat getChromaFormatIDC() { return m_chromaFormatIDC; } 1037 1035 #endif 1038 #if O0153_ALT_OUTPUT_LAYER_FLAG1039 1036 Bool getAltOuputLayerFlag() const { return m_altOutputLayerFlag; } 1040 1037 Void setAltOuputLayerFlag(Bool b) { m_altOutputLayerFlag = b; } 1041 #endif1042 1038 #if O0149_CROSS_LAYER_BLA_FLAG 1043 1039 Bool getCrossLayerBLAFlag() const { return m_crossLayerBLAFlag; } … … 1179 1175 #endif 1180 1176 #endif 1181 #endif 1177 #endif //SVC_EXTENSION 1182 1178 }; 1183 1179
Note: See TracChangeset for help on using the changeset viewer.