Changeset 900 in SHVCSoftware
- Timestamp:
- 6 Oct 2014, 21:23:30 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r899 r900 263 263 #define DEF_OPT_LAYER_IDC 1 ///< JCTVC-R0154: proposal2 - default_output_layer_idc and output_layer_flag[i][j] 264 264 #define ISLICE_TYPE_NUMDIR 1 ///< JCTVC-R0155: Proposal 1 I slice_type 265 #define OLS_IDX_CHK 1 ///< JCTVC-R0155: Proposal 2 valid range for output_layer_set_idx_to_vps[i] 265 266 #define R0340_RESAMPLING_MODIFICATION 1 ///< JCTVC-R0340: set of changes regarding resampling (as listed below) 266 267 #if R0340_RESAMPLING_MODIFICATION -
branches/SHM-dev/source/Lib/TLibDecoder/SEIread.cpp
r894 r900 359 359 case SEI::SUB_BITSTREAM_PROPERTY: 360 360 sei = new SEISubBitstreamProperty; 361 #if OLS_IDX_CHK 362 xParseSEISubBitstreamProperty((SEISubBitstreamProperty&) *sei, vps); 363 #else 361 364 xParseSEISubBitstreamProperty((SEISubBitstreamProperty&) *sei); 365 #endif 362 366 break; 363 367 #endif … … 1349 1353 #endif 1350 1354 #if SUB_BITSTREAM_PROPERTY_SEI 1355 #if OLS_IDX_CHK 1356 Void SEIReader::xParseSEISubBitstreamProperty(SEISubBitstreamProperty &sei, TComVPS *vps) 1357 #else 1351 1358 Void SEIReader::xParseSEISubBitstreamProperty(SEISubBitstreamProperty &sei) 1359 #endif 1352 1360 { 1353 1361 UInt uiCode; … … 1358 1366 { 1359 1367 READ_CODE( 2, uiCode, "sub_bitstream_mode[i]" ); sei.m_subBitstreamMode[i] = uiCode; 1360 READ_UVLC( uiCode, "output_layer_set_idx_to_vps[i]" ); sei.m_outputLayerSetIdxToVps[i] = uiCode; 1368 READ_UVLC( uiCode, "output_layer_set_idx_to_vps[i]" ); 1369 #if OLS_IDX_CHK 1370 // The value of output_layer_set_idx_to_vps[ i ] shall be in the range of 0 to NumOutputLayerSets − 1, inclusive. 1371 assert(uiCode > 0 && uiCode <= vps->getNumOutputLayerSets()-1); 1372 #endif 1373 sei.m_outputLayerSetIdxToVps[i] = uiCode; 1361 1374 READ_CODE( 3, uiCode, "highest_sub_layer_id[i]" ); sei.m_highestSublayerId[i] = uiCode; 1362 1375 READ_CODE( 16, uiCode, "avg_bit_rate[i]" ); sei.m_avgBitRate[i] = uiCode; -
branches/SHM-dev/source/Lib/TLibDecoder/SEIread.h
r894 r900 107 107 #endif 108 108 #if SUB_BITSTREAM_PROPERTY_SEI 109 #if OLS_IDX_CHK 110 Void xParseSEISubBitstreamProperty (SEISubBitstreamProperty &sei, TComVPS *vps); 111 #else 109 112 Void xParseSEISubBitstreamProperty (SEISubBitstreamProperty &sei); 113 #endif 110 114 #endif 111 115 #if LAYERS_NOT_PRESENT_SEI
Note: See TracChangeset for help on using the changeset viewer.