- Timestamp:
- 8 Nov 2013, 08:06:10 (11 years ago)
- Location:
- branches/SHM-4.0-dev/source/Lib
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-4.0-dev/source/Lib/TLibCommon/TComSlice.cpp
r454 r455 111 111 #if SVC_EXTENSION 112 112 , m_layerId ( 0 ) 113 #if REF_IDX_MFM 114 , m_bMFMEnabledFlag ( false ) 115 #endif 113 116 #if POC_RESET_FLAG 114 117 , m_bPocResetFlag ( false ) 115 #endif116 #if REF_IDX_MFM117 , m_bMFMEnabledFlag ( false )118 118 #endif 119 119 , m_bDiscardableFlag ( false ) -
branches/SHM-4.0-dev/source/Lib/TLibCommon/TypeDef.h
r454 r455 76 76 #define VPS_EXTN_DIRECT_REF_LAYERS 1 ///< Include indication of direct dependency of layers in VPS extension 77 77 #define VPS_OUTPUT_LAYER_SET_IDX 1 ///< JCTVC-M0268: Signal output_layer_set_idx[i] as output_layer_set_idx_minus1[i] 78 #define VPS_MOVE_DIR_DEPENDENCY_FLAG 1 ///< JCTVC-M0268: Move the syntax element direct_dependency_flag to follow the syntax element dimension_id79 78 #define M0457_PREDICTION_INDICATIONS 1 80 79 #define M0040_ADAPTIVE_RESOLUTION_CHANGE 1 -
branches/SHM-4.0-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r454 r455 1066 1066 } 1067 1067 #endif 1068 #if VPS_MOVE_DIR_DEPENDENCY_FLAG1069 1068 #if VPS_EXTN_DIRECT_REF_LAYERS 1070 1069 // For layer 0 … … 1085 1084 vps->setNumDirectRefLayers(layerCtr, numDirectRefLayers); 1086 1085 } 1087 #endif1088 1086 #endif 1089 1087 #if JCTVC_M0203_INTERLAYER_PRED_IDC … … 1259 1257 #endif 1260 1258 1261 #if !VPS_MOVE_DIR_DEPENDENCY_FLAG1262 #if VPS_EXTN_DIRECT_REF_LAYERS1263 // For layer 01264 vps->setNumDirectRefLayers(0, 0);1265 // For other layers1266 for( Int layerCtr = 1; layerCtr <= vps->getMaxLayers() - 1; layerCtr++)1267 {1268 UInt numDirectRefLayers = 0;1269 for( Int refLayerCtr = 0; refLayerCtr < layerCtr; refLayerCtr++)1270 {1271 READ_FLAG(uiCode, "direct_dependency_flag[i][j]" ); vps->setDirectDependencyFlag(layerCtr, refLayerCtr, uiCode? true : false);1272 if(uiCode)1273 {1274 vps->setRefLayerId(layerCtr, numDirectRefLayers, refLayerCtr);1275 numDirectRefLayers++;1276 }1277 }1278 vps->setNumDirectRefLayers(layerCtr, numDirectRefLayers);1279 }1280 #endif1281 #endif1282 1259 #if VPS_EXTN_DIRECT_REF_LAYERS && M0457_PREDICTION_INDICATIONS 1283 1260 READ_UVLC( uiCode, "direct_dep_type_len_minus2"); vps->setDirectDepTypeLen(uiCode+2); -
branches/SHM-4.0-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r454 r455 875 875 } 876 876 #endif 877 #if VPS_MOVE_DIR_DEPENDENCY_FLAG878 877 #if VPS_EXTN_DIRECT_REF_LAYERS 879 878 for( Int layerCtr = 1; layerCtr <= vps->getMaxLayers() - 1; layerCtr++) … … 884 883 } 885 884 } 886 #endif887 885 #endif 888 886 #if JCTVC_M0203_INTERLAYER_PRED_IDC … … 982 980 983 981 #if JCTVC_M0458_INTERLAYER_RPS_SIG 984 982 WRITE_FLAG(vps->getMaxOneActiveRefLayerFlag(), "max_one_active_ref_layer_flag"); 985 983 #endif 986 984 #if N0147_IRAP_ALIGN_FLAG 987 985 WRITE_FLAG(vps->getCrossLayerIrapAlignFlag(), "cross_layer_irap_aligned_flag"); 988 986 #endif 989 #if !VPS_MOVE_DIR_DEPENDENCY_FLAG990 #if VPS_EXTN_DIRECT_REF_LAYERS991 for( Int layerCtr = 1; layerCtr <= vps->getMaxLayers() - 1; layerCtr++)992 {993 for( Int refLayerCtr = 0; refLayerCtr < layerCtr; refLayerCtr++)994 {995 WRITE_FLAG(vps->getDirectDependencyFlag(layerCtr, refLayerCtr), "direct_dependency_flag[i][j]" );996 }997 }998 #endif999 #endif1000 987 #if VPS_EXTN_DIRECT_REF_LAYERS && M0457_PREDICTION_INDICATIONS 1001 988 WRITE_UVLC( vps->getDirectDepTypeLen()-2, "direct_dep_type_len_minus2");
Note: See TracChangeset for help on using the changeset viewer.