Changeset 455 in SHVCSoftware for branches


Ignore:
Timestamp:
8 Nov 2013, 08:06:10 (11 years ago)
Author:
seregin
Message:

remove VPS_MOVE_DIR_DEPENDENCY_FLAG macro

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  
    111111#if SVC_EXTENSION
    112112, m_layerId                     ( 0 )
     113#if REF_IDX_MFM
     114, m_bMFMEnabledFlag               ( false )
     115#endif
    113116#if POC_RESET_FLAG
    114117, m_bPocResetFlag                 ( false )
    115 #endif
    116 #if REF_IDX_MFM
    117 , m_bMFMEnabledFlag               ( false )
    118118#endif
    119119, m_bDiscardableFlag              ( false )
  • branches/SHM-4.0-dev/source/Lib/TLibCommon/TypeDef.h

    r454 r455  
    7676#define VPS_EXTN_DIRECT_REF_LAYERS       1      ///< Include indication of direct dependency of layers in VPS extension
    7777#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_id
    7978#define M0457_PREDICTION_INDICATIONS     1
    8079#define M0040_ADAPTIVE_RESOLUTION_CHANGE 1
  • branches/SHM-4.0-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r454 r455  
    10661066  }
    10671067#endif
    1068 #if VPS_MOVE_DIR_DEPENDENCY_FLAG
    10691068#if VPS_EXTN_DIRECT_REF_LAYERS
    10701069  // For layer 0
     
    10851084    vps->setNumDirectRefLayers(layerCtr, numDirectRefLayers);
    10861085  }
    1087 #endif
    10881086#endif
    10891087#if JCTVC_M0203_INTERLAYER_PRED_IDC
     
    12591257#endif
    12601258
    1261 #if !VPS_MOVE_DIR_DEPENDENCY_FLAG
    1262 #if VPS_EXTN_DIRECT_REF_LAYERS
    1263   // For layer 0
    1264   vps->setNumDirectRefLayers(0, 0);
    1265   // For other layers
    1266   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 #endif
    1281 #endif
    12821259#if VPS_EXTN_DIRECT_REF_LAYERS && M0457_PREDICTION_INDICATIONS
    12831260  READ_UVLC( uiCode,           "direct_dep_type_len_minus2"); vps->setDirectDepTypeLen(uiCode+2);
  • branches/SHM-4.0-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r454 r455  
    875875  }
    876876#endif
    877 #if VPS_MOVE_DIR_DEPENDENCY_FLAG
    878877#if VPS_EXTN_DIRECT_REF_LAYERS
    879878  for( Int layerCtr = 1; layerCtr <= vps->getMaxLayers() - 1; layerCtr++)
     
    884883    }
    885884  }
    886 #endif
    887885#endif
    888886#if JCTVC_M0203_INTERLAYER_PRED_IDC
     
    982980
    983981#if JCTVC_M0458_INTERLAYER_RPS_SIG
    984       WRITE_FLAG(vps->getMaxOneActiveRefLayerFlag(), "max_one_active_ref_layer_flag");
     982  WRITE_FLAG(vps->getMaxOneActiveRefLayerFlag(), "max_one_active_ref_layer_flag");
    985983#endif
    986984#if N0147_IRAP_ALIGN_FLAG
    987       WRITE_FLAG(vps->getCrossLayerIrapAlignFlag(), "cross_layer_irap_aligned_flag");
     985  WRITE_FLAG(vps->getCrossLayerIrapAlignFlag(), "cross_layer_irap_aligned_flag");
    988986#endif
    989 #if !VPS_MOVE_DIR_DEPENDENCY_FLAG
    990 #if VPS_EXTN_DIRECT_REF_LAYERS
    991   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 #endif
    999 #endif
    1000987#if VPS_EXTN_DIRECT_REF_LAYERS && M0457_PREDICTION_INDICATIONS
    1001988  WRITE_UVLC( vps->getDirectDepTypeLen()-2,                           "direct_dep_type_len_minus2");
Note: See TracChangeset for help on using the changeset viewer.