Changeset 900 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder
- Timestamp:
- 6 Oct 2014, 21:23:30 (11 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibDecoder
- Files:
-
- 2 edited
-
SEIread.cpp (modified) (3 diffs)
-
SEIread.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
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.