Changeset 782 in SHVCSoftware
- Timestamp:
- 6 Jun 2014, 19:07:02 (11 years ago)
- Location:
- branches/SHM-6-dev/source
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-6-dev/source/App/TAppEncoder/TAppEncTop.cpp
r779 r782 1221 1221 } 1222 1222 } 1223 #if ILP_SSH_SIG1224 #if ILP_SSH_SIG_FIX1225 1223 vps->setIlpSshSignalingEnabledFlag(false); 1226 #else1227 vps->setIlpSshSignalingEnabledFlag(true);1228 #endif1229 #endif1230 1224 #if VPS_EXTN_PROFILE_INFO 1231 1225 vps->getPTLForExtnPtr()->resize(vps->getNumLayerSets()); -
branches/SHM-6-dev/source/Lib/TLibCommon/TComSlice.h
r778 r782 525 525 #endif 526 526 527 #if ILP_SSH_SIG528 527 Bool m_ilpSshSignalingEnabledFlag; 529 #endif530 528 #if VPS_EXTN_PROFILE_INFO 531 529 // Profile-tier-level signalling related … … 878 876 Void setMaxSLayersInLayerSetMinus1(Int ls, Int x) { m_maxSLInLayerSetMinus1[ls] = x; } 879 877 #endif 880 #if ILP_SSH_SIG881 878 Bool getIlpSshSignalingEnabledFlag() { return m_ilpSshSignalingEnabledFlag;} 882 879 Void setIlpSshSignalingEnabledFlag(Bool x) { m_ilpSshSignalingEnabledFlag = x;} 883 #endif884 880 #if VPS_EXTN_PROFILE_INFO 885 881 Bool getProfilePresentFlag(Int id) { return m_profilePresentFlag[id]; } -
branches/SHM-6-dev/source/Lib/TLibCommon/TypeDef.h
r780 r782 133 133 #endif 134 134 135 #define ILP_SSH_SIG 1 ///< JCTVC-N0195 proposal 2, JCTVC-N0118: add presence flag in VPS ext to condition inter-layer prediction signaling in slice segment header136 #if ILP_SSH_SIG137 #define ILP_SSH_SIG_FIX 1 ///< fix for SHM ticket #5138 #endif139 135 #define SPL_FLG_CHK 1 ///< JCTVC-N0195 proposal 5, JCTVC-N0085: constrain sum of lengths to be less than or equal to 6 140 136 #define ILP_NUM_REF_CHK 1 ///< JCTVC-N0195 proposal 1, JCTVC-N0081, JCTVC-N0154, JCTVC-N0217: a condition on signaling inter_layer_pred_layer_idc[ i ], to avoid sending when NumDirectRefLayers equals NumActiveRefLayerPics, and instead infer values -
branches/SHM-6-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r781 r782 1254 1254 } 1255 1255 } 1256 #if ILP_SSH_SIG 1257 READ_FLAG( uiCode, "all_ref_layers_active_flag" ); vps->setIlpSshSignalingEnabledFlag(uiCode ? true : false); 1258 #endif 1256 READ_FLAG( uiCode, "all_ref_layers_active_flag" ); vps->setIlpSshSignalingEnabledFlag(uiCode ? true : false); 1259 1257 #if VPS_EXTN_PROFILE_INFO 1260 1258 // Profile-tier-level signalling … … 2823 2821 #if SVC_EXTENSION 2824 2822 rpcSlice->setActiveNumILRRefIdx(0); 2825 #if ILP_SSH_SIG2826 #if ILP_SSH_SIG_FIX2827 2823 if((rpcSlice->getLayerId() > 0) && !(rpcSlice->getVPS()->getIlpSshSignalingEnabledFlag()) && (rpcSlice->getNumILRRefIdx() > 0) ) 2828 #else2829 if((rpcSlice->getLayerId() > 0) && rpcSlice->getVPS()->getIlpSshSignalingEnabledFlag() && (rpcSlice->getNumILRRefIdx() > 0) )2830 #endif2831 #else2832 if((rpcSlice->getLayerId() > 0) && (rpcSlice->getNumILRRefIdx() > 0) )2833 #endif2834 2824 { 2835 2825 READ_FLAG(uiCode,"inter_layer_pred_enabled_flag"); … … 2910 2900 } 2911 2901 } 2912 #if ILP_SSH_SIG2913 #if ILP_SSH_SIG_FIX2914 2902 else if( rpcSlice->getVPS()->getIlpSshSignalingEnabledFlag() == true && (rpcSlice->getLayerId() > 0 )) 2915 #else2916 else if( rpcSlice->getVPS()->getIlpSshSignalingEnabledFlag() == false )2917 #endif2918 2903 { 2919 2904 rpcSlice->setInterLayerPredEnabledFlag(true); … … 2949 2934 #endif 2950 2935 } 2951 #endif2952 #endif2953 2936 #if P0312_VERT_PHASE_ADJ 2954 2937 for(Int i = 0; i < rpcSlice->getActiveNumILRRefIdx(); i++ ) … … 2961 2944 } 2962 2945 #endif 2946 #endif //SVC_EXTENSION 2963 2947 2964 2948 if(sps->getUseSAO()) -
branches/SHM-6-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r778 r782 976 976 } 977 977 } 978 #if ILP_SSH_SIG 979 WRITE_FLAG( vps->getIlpSshSignalingEnabledFlag(), "all_ref_layers_active_flag" ); 980 #endif 978 WRITE_FLAG( vps->getIlpSshSignalingEnabledFlag(), "all_ref_layers_active_flag" ); 981 979 #if VPS_EXTN_PROFILE_INFO 982 980 // Profile-tier-level signalling … … 1969 1967 1970 1968 #if SVC_EXTENSION 1971 #if ILP_SSH_SIG1972 #if ILP_SSH_SIG_FIX1973 1969 if((pcSlice->getLayerId() > 0) && !(pcSlice->getVPS()->getIlpSshSignalingEnabledFlag()) && (pcSlice->getNumILRRefIdx() > 0) ) 1974 #else1975 if((pcSlice->getLayerId() > 0) && pcSlice->getVPS()->getIlpSshSignalingEnabledFlag() && (pcSlice->getNumILRRefIdx() > 0) )1976 #endif1977 #else1978 if((pcSlice->getLayerId() > 0) && (pcSlice->getNumILRRefIdx() > 0) )1979 #endif1980 1970 { 1981 1971 WRITE_FLAG(pcSlice->getInterLayerPredEnabledFlag(),"inter_layer_pred_enabled_flag");
Note: See TracChangeset for help on using the changeset viewer.