- Timestamp:
- 29 Apr 2014, 23:47:35 (11 years ago)
- Location:
- branches/SHM-6-dev/source
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-6-dev/source/App/TAppEncoder/TAppEncTop.cpp
r754 r755 1107 1107 } 1108 1108 #endif 1109 #if N0120_MAX_TID_REF_PRESENT_FLAG1110 1109 #if N0120_MAX_TID_REF_CFG 1111 1110 vps->setMaxTidRefPresentFlag(m_maxTidRefPresentFlag); … … 1152 1151 } 1153 1152 } 1154 #endif1155 1153 #if ILP_SSH_SIG 1156 1154 #if ILP_SSH_SIG_FIX -
branches/SHM-6-dev/source/Lib/TLibCommon/TComSlice.cpp
r753 r755 2338 2338 m_crossLayerAlignedIdrOnlyFlag = false; 2339 2339 #endif 2340 #if N0120_MAX_TID_REF_PRESENT_FLAG2341 2340 m_maxTidRefPresentFlag = true; 2342 #endif2343 2341 for( Int i = 0; i < MAX_VPS_LAYER_ID_PLUS1 - 1; i++) 2344 2342 { -
branches/SHM-6-dev/source/Lib/TLibCommon/TComSlice.h
r744 r755 580 580 UInt m_maxTidIlRefPicsPlus1[MAX_VPS_LAYER_ID_PLUS1 - 1]; 581 581 #endif 582 #if N0120_MAX_TID_REF_PRESENT_FLAG583 582 Bool m_maxTidRefPresentFlag; 584 #endif585 583 #if VPS_TSLAYERS 586 584 Bool m_maxTSLayersPresentFlag; … … 944 942 Void setMaxTidIlRefPicsPlus1(Int layerId, UInt maxSublayer) { m_maxTidIlRefPicsPlus1[layerId] = maxSublayer; } 945 943 #endif 946 #if N0120_MAX_TID_REF_PRESENT_FLAG947 944 Bool getMaxTidRefPresentFlag() { return m_maxTidRefPresentFlag ;} 948 945 Void setMaxTidRefPresentFlag(Bool x) { m_maxTidRefPresentFlag = x;} 949 #endif950 946 #if VPS_TSLAYERS 951 947 Bool getMaxTSLayersPresentFlag() { return m_maxTSLayersPresentFlag ;} -
branches/SHM-6-dev/source/Lib/TLibCommon/TypeDef.h
r754 r755 197 197 #define EARLY_REF_PIC_MARKING 0 ///< Valencia meeting - remove early marking of inter-layer reference pictures 198 198 ///< Decoded picture marking of sub-layer non-reference pictures 199 #define N0120_MAX_TID_REF_PRESENT_FLAG 1 ///< JCTVC-N0120: max_tid_ref_pics_plus1_present_flag200 199 #define N0120_MAX_TID_REF_CFG 1 ///< set max_tid_il_ref_pics_plus1 and max_tid_ref_present_flag in the config. file (configuration setting) 201 200 #define O0225_MAX_TID_FOR_REF_LAYERS 1 -
branches/SHM-6-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r744 r755 1204 1204 } 1205 1205 #endif 1206 #if N0120_MAX_TID_REF_PRESENT_FLAG1207 1206 READ_FLAG( uiCode, "max_tid_ref_present_flag"); vps->setMaxTidRefPresentFlag(uiCode ? true : false); 1208 1207 if (vps->getMaxTidRefPresentFlag()) … … 1243 1242 } 1244 1243 } 1245 #else1246 for(i = 0; i < vps->getMaxLayers() - 1; i++)1247 {1248 #if O0225_MAX_TID_FOR_REF_LAYERS1249 for( j = i+1; j <= vps->getMaxLayers() - 1; j++)1250 {1251 if(vps->getDirectDependencyFlag(j, i))1252 {1253 READ_CODE( 3, uiCode, "max_tid_il_ref_pics_plus1[i][j]" ); vps->setMaxTidIlRefPicsPlus1(i, j, uiCode);1254 assert( uiCode <= vps->getMaxTLayers() );1255 }1256 }1257 #else1258 READ_CODE( 3, uiCode, "max_tid_il_ref_pics_plus1[i]" ); vps->setMaxTidIlRefPicsPlus1(i, uiCode);1259 assert( uiCode <= vps->getMaxTLayers() );1260 #endif1261 }1262 #endif1263 1244 #if ILP_SSH_SIG 1264 1245 READ_FLAG( uiCode, "all_ref_layers_active_flag" ); vps->setIlpSshSignalingEnabledFlag(uiCode ? true : false); -
branches/SHM-6-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r744 r755 957 957 } 958 958 #endif 959 #if N0120_MAX_TID_REF_PRESENT_FLAG960 959 WRITE_FLAG( vps->getMaxTidRefPresentFlag(), "max_tid_ref_present_flag"); 961 960 if (vps->getMaxTidRefPresentFlag()) … … 976 975 } 977 976 } 978 #else979 for( i = 0; i < vps->getMaxLayers() - 1; i++)980 {981 #if O0225_MAX_TID_FOR_REF_LAYERS982 for( j = i+1; j <= vps->getMaxLayers() - 1; j++)983 {984 if(vps->getDirectDependencyFlag(j, i))985 {986 WRITE_CODE(vps->getMaxTidIlRefPicsPlus1(i,j), 3, "max_tid_il_ref_pics_plus1[i][j]" );987 }988 }989 #else990 WRITE_CODE(vps->getMaxTidIlRefPicsPlus1(i), 3, "max_tid_il_ref_pics_plus1[i]" );991 #endif992 }993 #endif994 977 #if ILP_SSH_SIG 995 978 WRITE_FLAG( vps->getIlpSshSignalingEnabledFlag(), "all_ref_layers_active_flag" );
Note: See TracChangeset for help on using the changeset viewer.