Changeset 579 in SHVCSoftware for branches/SHM-5.0-dev/source/Lib/TLibCommon
- Timestamp:
- 29 Jan 2014, 02:55:53 (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/TComSlice.cpp
r577 r579 2186 2186 { 2187 2187 // Derive number of sub-DPBs 2188 #if CHANGE_NUMSUBDPB_IDX 2189 // For layer set 0 2190 setNumSubDpbs(0, 1); 2191 // For other layer sets 2192 for( Int i = 1; i < getNumLayerSets(); i++) 2193 { 2194 setNumSubDpbs( i, getNumLayersInIdList( i ) ); 2195 } 2196 #else 2188 2197 // For output layer set 0 2189 2198 setNumSubDpbs(0, 1); … … 2193 2202 setNumSubDpbs( i, getNumLayersInIdList( getOutputLayerSetIdx(i)) ); 2194 2203 } 2204 #endif 2195 2205 } 2196 2206 #endif -
branches/SHM-5.0-dev/source/Lib/TLibCommon/TComSlice.h
r577 r579 652 652 Int m_maxVpsNumReorderPics [MAX_VPS_OP_LAYER_SETS_PLUS1][MAX_LAYERS]; 653 653 Int m_maxVpsLatencyIncreasePlus1 [MAX_VPS_OP_LAYER_SETS_PLUS1][MAX_LAYERS]; 654 #if CHANGE_NUMSUBDPB_IDX 655 Int m_numSubDpbs [MAX_VPS_LAYER_SETS_PLUS1]; 656 #else 654 657 Int m_numSubDpbs [MAX_VPS_OP_LAYER_SETS_PLUS1]; 658 #endif 655 659 #endif 656 660 -
branches/SHM-5.0-dev/source/Lib/TLibCommon/TypeDef.h
r577 r579 56 56 #define DISCARDABLE_PIC_RPS 1 ///< JCTVC-P0130: Inter-layer RPS and temporal RPS should not contain picture with discardable_flag equal to 1 57 57 #define VPS_EXTN_UEV_CODING 1 ///< JCTVC-P0306: Code some syntax elements as ue(v), and remove some syntax elements that duplicate behaviour 58 #define CHANGE_NUMSUBDPB_IDX 1 ///< Change index of NumSubDpb from output layer set to layer set, to be more aligned with the Spec 58 59 #define O0109_O0199_FLAGS_TO_VUI 1 ///< JCTVC-O0109, O0199: move single_layer_for_non_irap_flag and higher_layer_flag to vps_vui 59 60 #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
Note: See TracChangeset for help on using the changeset viewer.