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


Ignore:
Timestamp:
21 Jan 2014, 18:47:46 (11 years ago)
Author:
seregin
Message:

merge from trunk

Location:
branches/SHM-5.0-dev/source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-5.0-dev/source

  • branches/SHM-5.0-dev/source/Lib/TLibCommon/TComSlice.cpp

    r540 r550  
    20382038, m_moreOutputLayerSetsThanDefaultFlag (false)
    20392039, m_numAddOutputLayerSets     (0)
     2040#if O0109_DEFAULT_ONE_OUT_LAYER_IDC
     2041, m_defaultOneTargetOutputLayerIdc     (0)
     2042#else
    20402043, m_defaultOneTargetOutputLayerFlag    (false)
     2044#endif
    20412045#if VPS_VUI_BITRATE_PICRATE
    20422046, m_bitRatePresentVpsFlag     (false)
     
    20482052#endif
    20492053#if VIEW_ID_RELATED_SIGNALING
     2054#if O0109_VIEW_ID_LEN
     2055, m_viewIdLen                (0)
     2056#else
    20502057, m_viewIdLenMinus1           (0)
     2058#endif
     2059#endif
     2060#if VPS_VUI_OFFSET
     2061, m_vpsVuiOffset (0)
    20512062#endif
    20522063{
  • branches/SHM-5.0-dev/source/Lib/TLibCommon/TComSlice.h

    r540 r550  
    540540  Bool       m_moreOutputLayerSetsThanDefaultFlag;
    541541  Int        m_numAddOutputLayerSets;
     542#if O0109_DEFAULT_ONE_OUT_LAYER_IDC
     543  UInt       m_defaultOneTargetOutputLayerIdc;
     544#else
    542545  Bool       m_defaultOneTargetOutputLayerFlag;
     546#endif
    543547  Int        m_profileLevelTierIdx[64];     
    544548#if JCTVC_M0458_INTERLAYER_RPS_SIG
     
    622626#endif
    623627#if VIEW_ID_RELATED_SIGNALING
     628#if O0109_VIEW_ID_LEN
     629  Int         m_viewIdLen;
     630#else
    624631  Int         m_viewIdLenMinus1;
     632#endif
    625633  Int         m_viewIdVal                [MAX_LAYERS];
    626634#endif
     
    642650  Int     m_numSubDpbs                  [MAX_VPS_OP_LAYER_SETS_PLUS1];
    643651#endif
     652
     653#if O0109_MOVE_VPS_VUI_FLAG
     654  Bool       m_vpsVuiPresentFlag;
     655#endif
     656
    644657#endif //SVC_EXTENSION
     658#if VPS_VUI_OFFSET
     659  Int     m_vpsVuiOffset;
     660#endif
    645661public:
    646662  TComVPS();
     
    811827  Void   setNumAddOutputLayerSets(Int x)                         { m_numAddOutputLayerSets = x   ; }
    812828
     829#if O0109_DEFAULT_ONE_OUT_LAYER_IDC
     830  UInt   getDefaultOneTargetOutputLayerIdc()                 { return m_defaultOneTargetOutputLayerIdc;}
     831  Void   setDefaultOneTargetOutputLayerIdc(UInt x)           { m_defaultOneTargetOutputLayerIdc= x    ;}
     832#else
    813833  Bool   getDefaultOneTargetOutputLayerFlag()                 { return m_defaultOneTargetOutputLayerFlag;}
    814834  Void   setDefaultOneTargetOutputLayerFlag(Bool x)           { m_defaultOneTargetOutputLayerFlag= x    ;}
    815 
     835#endif
    816836  Int    getProfileLevelTierIdx(Int i)                        { return m_profileLevelTierIdx[i]; }
    817837  Void   setProfileLevelTierIdx(Int i, Int x)                 { m_profileLevelTierIdx[i] = x   ; }
     
    946966#endif
    947967#if VIEW_ID_RELATED_SIGNALING
     968#if O0109_VIEW_ID_LEN
     969  Void    setViewIdLen( Int  val )                                   { m_viewIdLen = val; }
     970  Int     getViewIdLen(  )                                           { return m_viewIdLen; }
     971#else
    948972  Void    setViewIdLenMinus1( Int  val )                                   { m_viewIdLenMinus1 = val; }
    949973  Int     getViewIdLenMinus1(  )                                           { return m_viewIdLenMinus1; }
     974#endif
    950975
    951976  Void    setViewIdVal( Int viewOrderIndex, Int  val )                     { m_viewIdVal[viewOrderIndex] = val; }
     
    9851010  Int     getNumSubDpbs(Int i)                          { return m_numSubDpbs[i]; }
    9861011  Void    setNumSubDpbs(Int i, Int x)                   { m_numSubDpbs[i] = x;    }
     1012#endif
     1013
     1014#if O0109_MOVE_VPS_VUI_FLAG
     1015  Bool   getVpsVuiPresentFlag()                                 { return m_vpsVuiPresentFlag; }
     1016  Void   setVpsVuiPresentFlag(Bool x)                           { m_vpsVuiPresentFlag = x; }
     1017#endif
     1018
     1019#if VPS_VUI_OFFSET
     1020  Int     getVpsVuiOffset()         { return m_vpsVuiOffset; }
     1021  Void    setVpsVuiOffset(Int x)    { m_vpsVuiOffset = x; }
    9871022#endif
    9881023#endif //SVC_EXTENSION
  • branches/SHM-5.0-dev/source/Lib/TLibCommon/TypeDef.h

    r549 r550  
    4343#define SYNTAX_BYTES                     10      ///< number of bytes taken by syntaxes per 4x4 block [RefIdxL0(1byte), RefIdxL1(1byte), MVxL0(2bytes), MVyL0(2bytes), MVxL1(2bytes), MVyL1(2bytes)]
    4444
     45#define VPS_VUI_OFFSET                   1      ///< N0085: Signal VPS VUI offset in the VPS extension
     46
    4547#define RANDOM_ACCESS_SEI_FIX            1
    4648#if SVC_EXTENSION
    4749#define MAX_LAYERS                       8      ///< max number of layers the codec is supposed to handle
     50
     51#define O0137_MAX_LAYERID                1      ///< JCTVC-O0137, JCTVC-O0200, JCTVC-O0223: restrict nuh_layer_id and vps_max_layers_minus1
     52
     53#define O0109_O0199_FLAGS_TO_VUI         1      ///< JCTVC-O0109, O0199: move single_layer_for_non_irap_flag and higher_layer_flag to vps_vui
     54#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
     55#define O0109_PROF_REF_MINUS1            1      ///< JCTVC-O0109: constraint that profile_ref_minus1[i] shall be less than or equal to i
     56#define O0109_DEFAULT_ONE_OUT_LAYER_IDC  1      ///< JCTVC-O0109: default_one_target_output_layer_flag to default_one_target_output_layer_idc
     57#define O0109_MOVE_VPS_VUI_FLAG          1      ///< JCTVC-O0109: move vps_vui_present_flag before vps_vui_offset
     58
     59#define O0135_DEFAULT_ONE_OUT_SEMANTIC   1      ///< JCTVC-O0135: semantics change of default_one_target_output_layer_idc for auxiliary pictures
    4860
    4961#define O0194_DIFFERENT_BITDEPTH_EL_BL   1      ///< JCTVC-O0194: Support for different bitdepth values for BL and EL, add required configuration parameters (and Some bugfixes when REPN_FORMAT_IN_VPS (JCTVC-N0092) is enabled)
     
    96108
    97109#if VPS_VUI
    98 #define VPS_VUI_TILES_NOT_IN_USE__FLAG    1      ///< JCTVC-O0226: VPS VUI flag to indicate tile not in use
    99 #define VPS_VUI_WPP_NOT_IN_USE__FLAG    1      ///< JCTVC-O0226: VPS VUI flag to indicate tile not in use
     110#define VPS_VUI_TILES_NOT_IN_USE__FLAG   1      ///< JCTVC-O0226: VPS VUI flag to indicate tile not in use
     111#define VPS_VUI_WPP_NOT_IN_USE__FLAG     1      ///< JCTVC-O0226: VPS VUI flag to indicate tile not in use
    100112#define TILE_BOUNDARY_ALIGNED_FLAG       1      ///< JCTVC-N0160/JCTVC-N0199 proposal 2 variant 2: VPS VUI flag to indicate tile boundary alignment
    101113#define N0160_VUI_EXT_ILP_REF            1      ///< VUI extension inter-layer dependency offset signalling
     
    177189#define RC_SHVC_HARMONIZATION            1      ///< JCTVC-M0037: rate control for SHVC
    178190
    179 #define VIEW_ID_RELATED_SIGNALING        1      ///< Introduce syntax elements view_id_len_minus1 and view_id_val
     191#define VIEW_ID_RELATED_SIGNALING        1      ///< Introduce syntax elements view_id and view_id_val
    180192#define M0043_LAYERS_PRESENT_SEI         0      ///< JCTVC-M0043: add layers present SEI. Macro shall be equal to 0 according to the JCTVC-N0174 discussion. The code is to be removed.
    181193#define N0383_IL_CONSTRAINED_TILE_SETS_SEI  1
     
    243255
    244256#define MAX_CPB_CNT                     32  ///< Upper bound of (cpb_cnt_minus1 + 1)
     257#if O0137_MAX_LAYERID
     258#define MAX_NUM_LAYER_IDS                63
     259#else
    245260#define MAX_NUM_LAYER_IDS                64
    246 
     261#endif
    247262#define COEF_REMAIN_BIN_REDUCTION        3 ///< indicates the level at which the VLC
    248263                                           ///< transitions from Golomb-Rice to TU+EG(k)
Note: See TracChangeset for help on using the changeset viewer.