Changeset 544 in SHVCSoftware for branches/SHM-4.1-dev/source/Lib/TLibCommon


Ignore:
Timestamp:
11 Jan 2014, 01:46:01 (11 years ago)
Author:
seregin
Message:

JCTVC-O0109. Patch was provided by Yongjin Cho <choyongjin@…>

Location:
branches/SHM-4.1-dev/source/Lib/TLibCommon
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-4.1-dev/source/Lib/TLibCommon/TComSlice.cpp

    r542 r544  
    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
    20512059#endif
    20522060#if VPS_VUI_OFFSET
  • branches/SHM-4.1-dev/source/Lib/TLibCommon/TComSlice.h

    r542 r544  
    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
    645658#if VPS_VUI_OFFSET
     
    814827  Void   setNumAddOutputLayerSets(Int x)                         { m_numAddOutputLayerSets = x   ; }
    815828
     829#if O0109_DEFAULT_ONE_OUT_LAYER_IDC
     830  UInt   getDefaultOneTargetOutputLayerIdc()                 { return m_defaultOneTargetOutputLayerIdc;}
     831  Void   setDefaultOneTargetOutputLayerIdc(UInt x)           { m_defaultOneTargetOutputLayerIdc= x    ;}
     832#else
    816833  Bool   getDefaultOneTargetOutputLayerFlag()                 { return m_defaultOneTargetOutputLayerFlag;}
    817834  Void   setDefaultOneTargetOutputLayerFlag(Bool x)           { m_defaultOneTargetOutputLayerFlag= x    ;}
    818 
     835#endif
    819836  Int    getProfileLevelTierIdx(Int i)                        { return m_profileLevelTierIdx[i]; }
    820837  Void   setProfileLevelTierIdx(Int i, Int x)                 { m_profileLevelTierIdx[i] = x   ; }
     
    949966#endif
    950967#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
    951972  Void    setViewIdLenMinus1( Int  val )                                   { m_viewIdLenMinus1 = val; }
    952973  Int     getViewIdLenMinus1(  )                                           { return m_viewIdLenMinus1; }
     974#endif
    953975
    954976  Void    setViewIdVal( Int viewOrderIndex, Int  val )                     { m_viewIdVal[viewOrderIndex] = val; }
     
    9891011  Void    setNumSubDpbs(Int i, Int x)                   { m_numSubDpbs[i] = x;    }
    9901012#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
    9911019#if VPS_VUI_OFFSET
    9921020  Int     getVpsVuiOffset()         { return m_vpsVuiOffset; }
  • branches/SHM-4.1-dev/source/Lib/TLibCommon/TypeDef.h

    r543 r544  
    4949#define MAX_LAYERS                       2      ///< max number of layers the codec is supposed to handle
    5050
     51#define O0109_O0199_FLAGS_TO_VUI         1      ///< JCTVC-O0109, O0199: move single_layer_for_non_irap_flag and higher_layer_flag to vps_vui
     52#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
     53#define O0109_PROF_REF_MINUS1            1      ///< JCTVC-O0109: constraint that profile_ref_minus1[i] shall be less than or equal to i
     54#define O0109_DEFAULT_ONE_OUT_LAYER_IDC  1      ///< JCTVC-O0109: default_one_target_output_layer_flag to default_one_target_output_layer_idc
     55#define O0109_MOVE_VPS_VUI_FLAG          1      ///< JCTVC-O0109: move vps_vui_present_flag before vps_vui_offset
     56
    5157#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)
    5258#if O0194_DIFFERENT_BITDEPTH_EL_BL
     
    179185#define RC_SHVC_HARMONIZATION            1      ///< JCTVC-M0037: rate control for SHVC
    180186
    181 #define VIEW_ID_RELATED_SIGNALING        1      ///< Introduce syntax elements view_id_len_minus1 and view_id_val
     187#define VIEW_ID_RELATED_SIGNALING        1      ///< Introduce syntax elements view_id and view_id_val
    182188#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.
    183189#define N0383_IL_CONSTRAINED_TILE_SETS_SEI  1
Note: See TracChangeset for help on using the changeset viewer.