Changeset 1189 in SHVCSoftware
- Timestamp:
- 8 Jul 2015, 03:42:38 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1188 r1189 117 117 118 118 #define P0138_USE_ALT_CPB_PARAMS_FLAG 1 ///< JCTVC-P0138: use_alt_cpb_params_flag syntax in buffering period SEI message extension 119 #define DPB_INTERNAL_BL_SIG 1 ///< JCTVC-R0153: external base layer120 119 #define OLS_IDX_CHK 1 ///< JCTVC-R0155: Proposal 2 valid range for output_layer_set_idx_to_vps[i] 121 120 #define R0157_RESTRICT_PPSID_FOR_CGS_LUT 1 ///< JCTVC-R0157: when pps_pic_parameter_set_id greater than or equal to 8, colour_mapping_enabled_flag shall be equal to 0 -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1188 r1189 3309 3309 } 3310 3310 } 3311 3311 3312 if( vps->getSubLayerDpbInfoPresentFlag(i, j) ) // If sub-layer DPB information is present 3312 3313 { 3313 3314 for(Int k = 0; k < vps->getNumSubDpbs(layerSetIdxForOutputLayerSet); k++) 3314 3315 { 3315 #if DPB_INTERNAL_BL_SIG 3316 uiCode=0; 3317 3318 if( vps->getNecessaryLayerFlag(i, k) && ( vps->getBaseLayerInternalFlag() || vps->getLayerSetLayerIdList(layerSetIdxForOutputLayerSet, k) ) )3319 #endif 3320 READ_UVLC( uiCode, "max_vps_dec_pic_buffering_minus1[i][k][j]" ); vps->setMaxVpsDecPicBufferingMinus1( i, k, j, uiCode );3316 uiCode=0; 3317 3318 if( vps->getNecessaryLayerFlag(i, k) && ( vps->getBaseLayerInternalFlag() || vps->getLayerSetLayerIdList(layerSetIdxForOutputLayerSet, k) ) ) 3319 { 3320 READ_UVLC( uiCode, "max_vps_dec_pic_buffering_minus1[i][k][j]" ); vps->setMaxVpsDecPicBufferingMinus1( i, k, j, uiCode ); 3321 } 3321 3322 } 3322 3323 READ_UVLC( uiCode, "max_vps_num_reorder_pics[i][j]" ); vps->setMaxVpsNumReorderPics( i, j, uiCode); -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r1187 r1189 2315 2315 Void TEncCavlc::codeVpsDpbSizeTable(TComVPS *vps) 2316 2316 { 2317 for( Int i = 1; i < vps->getNumOutputLayerSets(); i++)2317 for( Int i = 1; i < vps->getNumOutputLayerSets(); i++ ) 2318 2318 { 2319 2319 Int layerSetIdxForOutputLayerSet = vps->getOutputLayerSetIdx( i ); … … 2327 2327 WRITE_FLAG( vps->getSubLayerDpbInfoPresentFlag( i, j), "sub_layer_dpb_info_present_flag[i]"); 2328 2328 } 2329 2329 2330 if( vps->getSubLayerDpbInfoPresentFlag(i, j) ) 2330 2331 { 2331 2332 for(Int k = 0; k < vps->getNumLayersInIdList( layerSetIdxForOutputLayerSet ); k++) 2332 2333 { 2333 #if DPB_INTERNAL_BL_SIG 2334 if( vps->getNecessaryLayerFlag(i, k) && (vps->getBaseLayerInternalFlag() || (vps->getLayerSetLayerIdList(layerSetIdxForOutputLayerSet, k) != 0)) ) 2335 #endif 2336 WRITE_UVLC( vps->getMaxVpsDecPicBufferingMinus1( i, k, j ), "max_vps_dec_pic_buffering_minus1[i][k][j]" ); 2337 } 2334 if( vps->getNecessaryLayerFlag(i, k) && (vps->getBaseLayerInternalFlag() || (vps->getLayerSetLayerIdList(layerSetIdxForOutputLayerSet, k) != 0)) ) 2335 { 2336 WRITE_UVLC( vps->getMaxVpsDecPicBufferingMinus1( i, k, j ), "max_vps_dec_pic_buffering_minus1[i][k][j]" ); 2337 } 2338 } 2339 2338 2340 WRITE_UVLC( vps->getMaxVpsNumReorderPics( i, j), "max_vps_num_reorder_pics[i][j]" ); 2339 2341
Note: See TracChangeset for help on using the changeset viewer.