Changeset 652 in SHVCSoftware for branches/SHM-6-dev/source/Lib/TLibDecoder/SEIread.cpp
- Timestamp:
- 7 Apr 2014, 23:08:52 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-6-dev/source/Lib/TLibDecoder/SEIread.cpp
r644 r652 518 518 { 519 519 UInt val; 520 READ_CODE(4, val, "active_v ps_id");sei.activeVPSId = val;521 READ_FLAG( val, "full_random_access_flag"); sei.m_fullRandomAccessFlag = val ? true : false;522 READ_FLAG( val, "no_param_set_update_flag"); sei.m_noParamSetUpdateFlag = val ? true : false;520 READ_CODE(4, val, "active_video_parameter_set_id"); sei.activeVPSId = val; 521 READ_FLAG( val, "self_contained_cvs_flag"); sei.m_selfContainedCvsFlag = val ? true : false; 522 READ_FLAG( val, "no_parameter_set_update_flag"); sei.m_noParameterSetUpdateFlag = val ? true : false; 523 523 READ_UVLC( val, "num_sps_ids_minus1"); sei.numSpsIdsMinus1 = val; 524 524 525 sei.activeSeqParam SetId.resize(sei.numSpsIdsMinus1 + 1);525 sei.activeSeqParameterSetId.resize(sei.numSpsIdsMinus1 + 1); 526 526 for (Int i=0; i < (sei.numSpsIdsMinus1 + 1); i++) 527 527 { 528 READ_UVLC(val, "active_seq_param_set_id"); sei.activeSeqParamSetId[i] = val; 529 } 530 531 UInt uibits = m_pcBitstream->getNumBitsUntilByteAligned(); 532 533 while(uibits--) 534 { 535 READ_FLAG(val, "alignment_bit"); 536 } 528 READ_UVLC(val, "active_seq_parameter_set_id"); sei.activeSeqParameterSetId[i] = val; 529 } 530 531 xParseByteAlign(); 537 532 } 538 533 … … 812 807 case 4: 813 808 { 814 READ_CODE( 8, val, "camera_iso_speed_idc" ); sei.m_cameraIsoSpeed Value= val;815 if( sei.m_cameraIsoSpeed Value== 255) //Extended_ISO809 READ_CODE( 8, val, "camera_iso_speed_idc" ); sei.m_cameraIsoSpeedIdc = val; 810 if( sei.m_cameraIsoSpeedIdc == 255) //Extended_ISO 816 811 { 817 812 READ_CODE( 32, val, "camera_iso_speed_value" ); sei.m_cameraIsoSpeedValue = val; 813 } 814 READ_CODE( 8, val, "exposure_index_idc" ); sei.m_exposureIndexIdc = val; 815 if( sei.m_exposureIndexIdc == 255) //Extended_ISO 816 { 817 READ_CODE( 32, val, "exposure_index_value" ); sei.m_exposureIndexValue = val; 818 818 } 819 819 READ_FLAG( val, "exposure_compensation_value_sign_flag" ); sei.m_exposureCompensationValueSignFlag = val;
Note: See TracChangeset for help on using the changeset viewer.