Changeset 1105 in SHVCSoftware
- Timestamp:
- 6 Jul 2015, 20:41:31 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp
r1100 r1105 2052 2052 #if VPS_EXTN_PROFILE_INFO 2053 2053 ::memset(m_profilePresentFlag, 0, sizeof(m_profilePresentFlag)); 2054 #if !P0048_REMOVE_PROFILE_REF2055 ::memset(m_profileLayerSetRef, 0, sizeof(m_profileLayerSetRef));2056 #endif2057 2054 #endif 2058 2055 #if VPS_EXTN_OP_LAYER_SETS -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h
r1100 r1105 659 659 // Profile-tier-level signalling related 660 660 Bool m_profilePresentFlag[MAX_VPS_LAYER_SETS_PLUS1]; // The value with index 0 will not be used. 661 #if !P0048_REMOVE_PROFILE_REF662 UInt m_profileLayerSetRef[MAX_VPS_LAYER_SETS_PLUS1]; // The value with index 0 will not be used.663 #endif664 661 #if !MULTIPLE_PTL_SUPPORT 665 662 std::vector<TComPTL> m_pcPTLForExtn; … … 1061 1058 Bool getProfilePresentFlag(Int id) { return m_profilePresentFlag[id]; } 1062 1059 Void setProfilePresentFlag(Int id, Bool x) { m_profilePresentFlag[id] = x; } 1063 1064 #if !P0048_REMOVE_PROFILE_REF1065 UInt getProfileLayerSetRef(Int id) { return m_profileLayerSetRef[id]; }1066 Void setProfileLayerSetRef(Int id, Bool x) { m_profileLayerSetRef[id] = x; }1067 #endif1068 1060 1069 1061 #if !MULTIPLE_PTL_SUPPORT -
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1104 r1105 100 100 #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 101 101 102 #define P0048_REMOVE_PROFILE_REF 1 ///< JCTVC-P0048: remove profile_ref_minus1103 #if !P0048_REMOVE_PROFILE_REF104 #define O0109_PROF_REF_MINUS1 1 ///< JCTVC-O0109: constraint that profile_ref_minus1[i] shall be less than or equal to i105 #endif106 107 102 #define P0295_DEFAULT_OUT_LAYER_IDC 1 ///< JCTVC-P0295: modifify default_one_target_output_layer_idc to default_output_layer_idc 108 103 #define O0109_DEFAULT_ONE_OUT_LAYER_IDC 1 ///< JCTVC-O0109: default_one_target_output_layer_flag to default_one_target_output_layer_idc -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1104 r1105 2961 2961 if( !vps->getProfilePresentFlag(idx) ) 2962 2962 { 2963 #if P0048_REMOVE_PROFILE_REF2964 2963 // Copy profile information from previous one 2965 2964 #if MULTIPLE_PTL_SUPPORT … … 2967 2966 #else 2968 2967 vps->getPTLForExtn(idx)->copyProfileInfo( (idx==1) ? vps->getPTL() : vps->getPTLForExtn( idx - 1 ) ); 2969 #endif2970 #else2971 READ_CODE( 6, uiCode, "profile_ref_minus1[i]" ); vps->setProfileLayerSetRef(idx, uiCode + 1);2972 #if O0109_PROF_REF_MINUS12973 assert( vps->getProfileLayerSetRef(idx) <= idx );2974 #else2975 assert( vps->getProfileLayerSetRef(idx) < idx );2976 #endif2977 // Copy profile information as indicated2978 vps->getPTLForExtn(idx)->copyProfileInfo( vps->getPTLForExtn( vps->getProfileLayerSetRef(idx) ) );2979 2968 #endif 2980 2969 } -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r1104 r1105 2191 2191 #endif 2192 2192 WRITE_FLAG( vps->getProfilePresentFlag(idx), "vps_profile_present_flag[i]" ); 2193 #if !P0048_REMOVE_PROFILE_REF2194 if( !vps->getProfilePresentFlag(idx) )2195 {2196 WRITE_CODE( vps->getProfileLayerSetRef(idx) - 1, 6, "profile_ref_minus1[i]" );2197 }2198 #endif2199 2193 #if MULTIPLE_PTL_SUPPORT 2200 2194 codePTL( vps->getPTL(idx), vps->getProfilePresentFlag(idx), vps->getMaxTLayers() - 1 );
Note: See TracChangeset for help on using the changeset viewer.