Changeset 583 in SHVCSoftware for branches/SHM-5.0-dev/source/Lib/TLibCommon


Ignore:
Timestamp:
1 Feb 2014, 00:19:46 (11 years ago)
Author:
qualcomm
Message:

JCTVC-P0204: Support for sub-bitstream property SEI message (MACRO: SUB_BITSTREAM_PROPERTY_SEI)

From: Adarsh K. Ramasubramonian <aramasub@…>

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  
    4141//Table D-7 Meaning of camera iso sensitivity indicator and exposure index rating indicator
    4242Int  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
     45SEISubBitstreamProperty::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
    4356
    4457SEIMessages getSeisByType(SEIMessages &seiList, SEI::PayloadType seiType)
  • branches/SHM-5.0-dev/source/Lib/TLibCommon/SEI.h

    r567 r583  
    7878    INTER_LAYER_CONSTRAINED_TILE_SETS    = 138
    7979#endif
     80#if SUB_BITSTREAM_PROPERTY_SEI
     81   ,SUB_BITSTREAM_PROPERTY               = 139    // Final PayloadType to be defined after finalization
     82#endif
    8083  };
    8184 
     
    407410#endif
    408411
     412#if SUB_BITSTREAM_PROPERTY_SEI
     413class SEISubBitstreamProperty : public SEI
     414{
     415public:
     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
    409430
    410431typedef std::list<SEI*> SEIMessages;
  • branches/SHM-5.0-dev/source/Lib/TLibCommon/TypeDef.h

    r582 r583  
    5858#define CHANGE_NUMSUBDPB_IDX             1      ///< Change index of NumSubDpb from output layer set to layer set, to be more aligned with the Spec
    5959#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
    6061#define O0109_O0199_FLAGS_TO_VUI         1      ///< JCTVC-O0109, O0199: move single_layer_for_non_irap_flag and higher_layer_flag to vps_vui
    6162#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
     
    250251#define MAX_VPS_OP_SETS_PLUS1                     1024
    251252#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
    252257#endif
    253258
Note: See TracChangeset for help on using the changeset viewer.