Changeset 583 in SHVCSoftware for branches/SHM-5.0-dev/source/Lib/TLibCommon
- Timestamp:
- 1 Feb 2014, 00:19:46 (11 years ago)
- Location:
- branches/SHM-5.0-dev/source/Lib/TLibCommon
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.0-dev/source/Lib/TLibCommon/SEI.cpp
r313 r583 41 41 //Table D-7 Meaning of camera iso sensitivity indicator and exposure index rating indicator 42 42 Int Table_exp_indicator[32] = {0, 10, 12, 16, 20, 25, 32, 40, 50, 64, 80, 100, 125, 160, 200, 250, 320, 400, 500, 640, 800, 1000, 1250, 1600, 2000, 2500, 3200, 4000, 5000, 6400, 8000, -1}; 43 44 #if SUB_BITSTREAM_PROPERTY_SEI 45 SEISubBitstreamProperty::SEISubBitstreamProperty() 46 { 47 m_activeVpsId = -1; 48 m_numAdditionalSubStreams = 0; 49 ::memset(m_subBitstreamMode , 0, sizeof(m_subBitstreamMode)); 50 ::memset(m_outputLayerSetIdxToVps , 0, sizeof(m_outputLayerSetIdxToVps)); 51 ::memset(m_highestSublayerId , 0, sizeof(m_highestSublayerId)); 52 ::memset(m_avgBitRate , 0, sizeof(m_avgBitRate)); 53 ::memset(m_maxBitRate , 0, sizeof(m_maxBitRate)); 54 } 55 #endif 43 56 44 57 SEIMessages getSeisByType(SEIMessages &seiList, SEI::PayloadType seiType) -
branches/SHM-5.0-dev/source/Lib/TLibCommon/SEI.h
r567 r583 78 78 INTER_LAYER_CONSTRAINED_TILE_SETS = 138 79 79 #endif 80 #if SUB_BITSTREAM_PROPERTY_SEI 81 ,SUB_BITSTREAM_PROPERTY = 139 // Final PayloadType to be defined after finalization 82 #endif 80 83 }; 81 84 … … 407 410 #endif 408 411 412 #if SUB_BITSTREAM_PROPERTY_SEI 413 class SEISubBitstreamProperty : public SEI 414 { 415 public: 416 PayloadType payloadType() const { return SUB_BITSTREAM_PROPERTY; } 417 418 SEISubBitstreamProperty(); 419 virtual ~SEISubBitstreamProperty() {} 420 421 Int m_activeVpsId; 422 Int m_numAdditionalSubStreams; 423 Int m_subBitstreamMode [MAX_SUB_STREAMS]; 424 Int m_outputLayerSetIdxToVps [MAX_SUB_STREAMS]; 425 Int m_highestSublayerId [MAX_SUB_STREAMS]; 426 Int m_avgBitRate [MAX_SUB_STREAMS]; 427 Int m_maxBitRate [MAX_SUB_STREAMS]; 428 }; 429 #endif 409 430 410 431 typedef std::list<SEI*> SEIMessages; -
branches/SHM-5.0-dev/source/Lib/TLibCommon/TypeDef.h
r582 r583 58 58 #define CHANGE_NUMSUBDPB_IDX 1 ///< Change index of NumSubDpb from output layer set to layer set, to be more aligned with the Spec 59 59 #define RESOLUTION_BASED_DPB 1 ///< JCTVC-P0192: Assign layers to sub-DPBs based on the rep_format() signaled in the VPS 60 #define SUB_BITSTREAM_PROPERTY_SEI 1 ///< JCTVC-P0204: Sub-bitstream property SEI message 60 61 #define O0109_O0199_FLAGS_TO_VUI 1 ///< JCTVC-O0109, O0199: move single_layer_for_non_irap_flag and higher_layer_flag to vps_vui 61 62 #define O0109_VIEW_ID_LEN 1 ///< JCTVC-O0109: view_id_len_minus1 to view_id_len, and add constraint (1<<view_id_len) is greater than or equal to NumViews … … 250 251 #define MAX_VPS_OP_SETS_PLUS1 1024 251 252 #define MAX_VPS_NUH_RESERVED_ZERO_LAYER_ID_PLUS1 1 253 #endif 254 255 #if SUB_BITSTREAM_PROPERTY_SEI 256 #define MAX_SUB_STREAMS 1024 252 257 #endif 253 258
Note: See TracChangeset for help on using the changeset viewer.