Changeset 1218 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder
- Timestamp:
- 8 Jul 2015, 23:49:21 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibDecoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibDecoder/SEIread.cpp
r1185 r1218 330 330 case SEI::SUB_BITSTREAM_PROPERTY: 331 331 sei = new SEISubBitstreamProperty; 332 #if OLS_IDX_CHK333 332 xParseSEISubBitstreamProperty((SEISubBitstreamProperty&) *sei, vps, pDecodedMessageOutputStream); 334 #else335 xParseSEISubBitstreamProperty((SEISubBitstreamProperty&) *sei, pDecodedMessageOutputStream);336 #endif337 333 break; 338 334 #endif … … 1489 1485 1490 1486 #if SUB_BITSTREAM_PROPERTY_SEI 1491 #if OLS_IDX_CHK1492 1487 Void SEIReader::xParseSEISubBitstreamProperty(SEISubBitstreamProperty &sei, TComVPS *vps, std::ostream *pDecodedMessageOutputStream) 1493 #else1494 Void SEIReader::xParseSEISubBitstreamProperty(SEISubBitstreamProperty &sei, std::ostream *pDecodedMessageOutputStream)1495 #endif1496 1488 { 1497 1489 UInt uiCode; … … 1503 1495 sei_read_code( pDecodedMessageOutputStream, 2, uiCode, "sub_bitstream_mode[i]" ); sei.m_subBitstreamMode[i] = uiCode; 1504 1496 sei_read_uvlc( pDecodedMessageOutputStream, uiCode, "output_layer_set_idx_to_vps[i]" ); 1505 #if OLS_IDX_CHK 1506 // The value of output_layer_set_idx_to_vps[ i ] shall be in the range of 0 to NumOutputLayerSets − 1, inclusive. 1507 assert(uiCode > 0 && uiCode <= vps->getNumOutputLayerSets()-1); 1508 #endif 1509 sei.m_outputLayerSetIdxToVps[i] = uiCode; 1497 1498 // The value of output_layer_set_idx_to_vps[ i ] shall be in the range of 0 to NumOutputLayerSets − 1, inclusive. 1499 assert(uiCode > 0 && uiCode <= vps->getNumOutputLayerSets()-1); 1500 1501 sei.m_outputLayerSetIdxToVps[i] = uiCode; 1502 1510 1503 sei_read_code( pDecodedMessageOutputStream, 3, uiCode, "highest_sub_layer_id[i]" ); sei.m_highestSublayerId[i] = uiCode; 1511 1504 sei_read_code( pDecodedMessageOutputStream, 16, uiCode, "avg_bit_rate[i]" ); sei.m_avgBitRate[i] = uiCode; -
branches/SHM-dev/source/Lib/TLibDecoder/SEIread.h
r1185 r1218 117 117 #endif 118 118 #if SUB_BITSTREAM_PROPERTY_SEI 119 #if OLS_IDX_CHK120 119 Void xParseSEISubBitstreamProperty (SEISubBitstreamProperty &sei, TComVPS *vps, std::ostream *pDecodedMessageOutputStream); 121 #else122 Void xParseSEISubBitstreamProperty (SEISubBitstreamProperty &sei, std::ostream *pDecodedMessageOutputStream);123 #endif124 120 #endif 125 121 #if LAYERS_NOT_PRESENT_SEI
Note: See TracChangeset for help on using the changeset viewer.