Changeset 562 in SHVCSoftware for branches/SHM-5.0-dev/source/Lib/TLibCommon


Ignore:
Timestamp:
27 Jan 2014, 17:40:23 (11 years ago)
Author:
seregin
Message:

remove M0457_COL_PICTURE_SIGNALING macro

Location:
branches/SHM-5.0-dev/source/Lib/TLibCommon
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-5.0-dev/source/Lib/TLibCommon/TComDataCU.cpp

    r540 r562  
    34383438
    34393439  // use coldir.
    3440 #if M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING
    3441   TComPic *pColPic;
    3442   if (m_layerId > 0 && getSlice()->getAltColIndicationFlag())
    3443   {
    3444     pColPic = getSlice()->getMotionPredIlp();
    3445   }
    3446   else
    3447   {
    3448     pColPic = getSlice()->getRefPic( RefPicList(getSlice()->isInterB() ? 1-getSlice()->getColFromL0Flag() : 0), getSlice()->getColRefIdx());
    3449   }
    3450 #else
    34513440  TComPic *pColPic = getSlice()->getRefPic( RefPicList(getSlice()->isInterB() ? 1-getSlice()->getColFromL0Flag() : 0), getSlice()->getColRefIdx());
    3452 #endif
    34533441  TComDataCU *pColCU = pColPic->getCU( uiCUAddr );
    34543442  if(pColCU->getPic()==0||pColCU->getPartitionSize(uiPartUnitIdx)==SIZE_NONE)
  • branches/SHM-5.0-dev/source/Lib/TLibCommon/TComSlice.cpp

    r561 r562  
    124124  m_numILRRefIdx = 0;
    125125#endif
    126 #if M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING
    127   m_altColIndicationFlag = false;
    128   m_colRefLayerIdx       = 0;
    129 #endif
    130126#endif //SVC_EXTENSION
    131127
     
    453449    {
    454450#if REF_IDX_MFM
    455 #if M0457_COL_PICTURE_SIGNALING
    456451      if(!(m_eNalUnitType >= NAL_UNIT_CODED_SLICE_BLA_W_LP && m_eNalUnitType <= NAL_UNIT_CODED_SLICE_CRA) && getMFMEnabledFlag())
    457 #else
    458       if(!(m_eNalUnitType >= NAL_UNIT_CODED_SLICE_BLA_W_LP && m_eNalUnitType <= NAL_UNIT_CODED_SLICE_CRA) && m_pcSPS->getMFMEnabledFlag())
    459 #endif
    460452      {
    461453        ilpPic[refLayerIdc]->copyUpsampledMvField( refLayerIdc, m_pcBaseColPic[refLayerIdc] );
  • branches/SHM-5.0-dev/source/Lib/TLibCommon/TComSlice.h

    r561 r562  
    13241324#if SVC_EXTENSION
    13251325  UInt m_layerId;
    1326 
    1327 #if REF_IDX_MFM
    1328 #if !M0457_COL_PICTURE_SIGNALING
    1329   Bool m_bMFMEnabledFlag;
    1330 #endif
    1331 #endif
    13321326  UInt        m_numScaledRefLayerOffsets;
    13331327#if O0098_SCALED_REF_LAYER_ID
     
    14901484  Void     setLayerId(UInt layerId) { m_layerId = layerId; }
    14911485  UInt     getLayerId() { return m_layerId; }
    1492 #if REF_IDX_MFM
    1493 #if !M0457_COL_PICTURE_SIGNALING
    1494   Void     setMFMEnabledFlag(Bool flag) {m_bMFMEnabledFlag = flag;}
    1495   Bool     getMFMEnabledFlag()          {return m_bMFMEnabledFlag;}
    1496 #endif
    1497 #endif
    14981486  UInt     getNumScaledRefLayerOffsets()  { return m_numScaledRefLayerOffsets; }
    14991487  Void     setNumScaledRefLayerOffsets(Int x)  { m_numScaledRefLayerOffsets = x; }
     
    18751863  TComPic*    m_pcBaseColPic[MAX_LAYERS];
    18761864  TComPicYuv* m_pcFullPelBaseRec[MAX_LAYERS];
    1877 #if M0457_COL_PICTURE_SIGNALING
    18781865  Int         m_numMotionPredRefLayers;
    18791866#if REF_IDX_MFM
     
    18821869  Bool        m_altColIndicationFlag;
    18831870  TComPic*    m_pcIlpPic;
    1884 #endif
    18851871#endif
    18861872
     
    21692155#endif
    21702156
    2171 #if M0457_COL_PICTURE_SIGNALING
    21722157  Void      setNumMotionPredRefLayers(int i)            { m_numMotionPredRefLayers = i; }
    21732158  Int       getNumMotionPredRefLayers()                 { return m_numMotionPredRefLayers; }
     
    21842169#endif
    21852170#endif
    2186 #endif
    21872171
    21882172  TComPic* getRefPic(TComList<TComPic*>& rcListPic, Int poc) { return xGetRefPic( rcListPic, poc ); }
  • branches/SHM-5.0-dev/source/Lib/TLibCommon/TypeDef.h

    r561 r562  
    167167#if REF_IDX_MFM
    168168#define REMOVE_COL_PICTURE_SIGNALING     1      ///< JCTVC-N0107: remove alternative collocated picture signalling
    169 #define M0457_COL_PICTURE_SIGNALING      1
    170169#define N0139_POSITION_ROUNDING_OFFSET   1      ///< JCTVC-N0139: offset for collocated block in motion mapping
    171170#endif
Note: See TracChangeset for help on using the changeset viewer.