Changeset 550 in SHVCSoftware for branches/SHM-5.0-dev/source/Lib/TLibCommon
- Timestamp:
- 21 Jan 2014, 18:47:46 (11 years ago)
- Location:
- branches/SHM-5.0-dev/source
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.0-dev/source
- Property svn:mergeinfo changed
/branches/SHM-4.1-dev/source merged: 542-546 /trunk/source merged: 547 reverse-merged: 352
- Property svn:mergeinfo changed
-
branches/SHM-5.0-dev/source/Lib/TLibCommon/TComSlice.cpp
r540 r550 2038 2038 , m_moreOutputLayerSetsThanDefaultFlag (false) 2039 2039 , m_numAddOutputLayerSets (0) 2040 #if O0109_DEFAULT_ONE_OUT_LAYER_IDC 2041 , m_defaultOneTargetOutputLayerIdc (0) 2042 #else 2040 2043 , m_defaultOneTargetOutputLayerFlag (false) 2044 #endif 2041 2045 #if VPS_VUI_BITRATE_PICRATE 2042 2046 , m_bitRatePresentVpsFlag (false) … … 2048 2052 #endif 2049 2053 #if VIEW_ID_RELATED_SIGNALING 2054 #if O0109_VIEW_ID_LEN 2055 , m_viewIdLen (0) 2056 #else 2050 2057 , m_viewIdLenMinus1 (0) 2058 #endif 2059 #endif 2060 #if VPS_VUI_OFFSET 2061 , m_vpsVuiOffset (0) 2051 2062 #endif 2052 2063 { -
branches/SHM-5.0-dev/source/Lib/TLibCommon/TComSlice.h
r540 r550 540 540 Bool m_moreOutputLayerSetsThanDefaultFlag; 541 541 Int m_numAddOutputLayerSets; 542 #if O0109_DEFAULT_ONE_OUT_LAYER_IDC 543 UInt m_defaultOneTargetOutputLayerIdc; 544 #else 542 545 Bool m_defaultOneTargetOutputLayerFlag; 546 #endif 543 547 Int m_profileLevelTierIdx[64]; 544 548 #if JCTVC_M0458_INTERLAYER_RPS_SIG … … 622 626 #endif 623 627 #if VIEW_ID_RELATED_SIGNALING 628 #if O0109_VIEW_ID_LEN 629 Int m_viewIdLen; 630 #else 624 631 Int m_viewIdLenMinus1; 632 #endif 625 633 Int m_viewIdVal [MAX_LAYERS]; 626 634 #endif … … 642 650 Int m_numSubDpbs [MAX_VPS_OP_LAYER_SETS_PLUS1]; 643 651 #endif 652 653 #if O0109_MOVE_VPS_VUI_FLAG 654 Bool m_vpsVuiPresentFlag; 655 #endif 656 644 657 #endif //SVC_EXTENSION 658 #if VPS_VUI_OFFSET 659 Int m_vpsVuiOffset; 660 #endif 645 661 public: 646 662 TComVPS(); … … 811 827 Void setNumAddOutputLayerSets(Int x) { m_numAddOutputLayerSets = x ; } 812 828 829 #if O0109_DEFAULT_ONE_OUT_LAYER_IDC 830 UInt getDefaultOneTargetOutputLayerIdc() { return m_defaultOneTargetOutputLayerIdc;} 831 Void setDefaultOneTargetOutputLayerIdc(UInt x) { m_defaultOneTargetOutputLayerIdc= x ;} 832 #else 813 833 Bool getDefaultOneTargetOutputLayerFlag() { return m_defaultOneTargetOutputLayerFlag;} 814 834 Void setDefaultOneTargetOutputLayerFlag(Bool x) { m_defaultOneTargetOutputLayerFlag= x ;} 815 835 #endif 816 836 Int getProfileLevelTierIdx(Int i) { return m_profileLevelTierIdx[i]; } 817 837 Void setProfileLevelTierIdx(Int i, Int x) { m_profileLevelTierIdx[i] = x ; } … … 946 966 #endif 947 967 #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 948 972 Void setViewIdLenMinus1( Int val ) { m_viewIdLenMinus1 = val; } 949 973 Int getViewIdLenMinus1( ) { return m_viewIdLenMinus1; } 974 #endif 950 975 951 976 Void setViewIdVal( Int viewOrderIndex, Int val ) { m_viewIdVal[viewOrderIndex] = val; } … … 985 1010 Int getNumSubDpbs(Int i) { return m_numSubDpbs[i]; } 986 1011 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; } 987 1022 #endif 988 1023 #endif //SVC_EXTENSION -
branches/SHM-5.0-dev/source/Lib/TLibCommon/TypeDef.h
r549 r550 43 43 #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)] 44 44 45 #define VPS_VUI_OFFSET 1 ///< N0085: Signal VPS VUI offset in the VPS extension 46 45 47 #define RANDOM_ACCESS_SEI_FIX 1 46 48 #if SVC_EXTENSION 47 49 #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 48 60 49 61 #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) … … 96 108 97 109 #if VPS_VUI 98 #define VPS_VUI_TILES_NOT_IN_USE__FLAG 99 #define VPS_VUI_WPP_NOT_IN_USE__FLAG 1 ///< JCTVC-O0226: VPS VUI flag to indicate tile not in use110 #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 100 112 #define TILE_BOUNDARY_ALIGNED_FLAG 1 ///< JCTVC-N0160/JCTVC-N0199 proposal 2 variant 2: VPS VUI flag to indicate tile boundary alignment 101 113 #define N0160_VUI_EXT_ILP_REF 1 ///< VUI extension inter-layer dependency offset signalling … … 177 189 #define RC_SHVC_HARMONIZATION 1 ///< JCTVC-M0037: rate control for SHVC 178 190 179 #define VIEW_ID_RELATED_SIGNALING 1 ///< Introduce syntax elements view_id _len_minus1and view_id_val191 #define VIEW_ID_RELATED_SIGNALING 1 ///< Introduce syntax elements view_id and view_id_val 180 192 #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. 181 193 #define N0383_IL_CONSTRAINED_TILE_SETS_SEI 1 … … 243 255 244 256 #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 245 260 #define MAX_NUM_LAYER_IDS 64 246 261 #endif 247 262 #define COEF_REMAIN_BIN_REDUCTION 3 ///< indicates the level at which the VLC 248 263 ///< transitions from Golomb-Rice to TU+EG(k)
Note: See TracChangeset for help on using the changeset viewer.