Changeset 1208 in SHVCSoftware


Ignore:
Timestamp:
8 Jul 2015, 21:20:10 (9 years ago)
Author:
seregin
Message:

macro cleanup: MFM_ENCCONSTRAINT

Location:
branches/SHM-dev/source/Lib
Files:
7 edited

Legend:

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

    r1117 r1208  
    353353#endif
    354354
    355 #if MFM_ENCCONSTRAINT
    356355Bool TComPic::checkSameRefInfo()
    357356{
     
    393392  return( bSameRefInfo ); 
    394393}
    395 #endif
    396394#endif //SVC_EXTENSION
    397395
  • branches/SHM-dev/source/Lib/TLibCommon/TComPic.h

    r1057 r1208  
    214214  Void          initUpsampledMvField  ();
    215215#endif
    216 #if MFM_ENCCONSTRAINT
    217216  Bool          checkSameRefInfo();
    218 #endif
    219217  Void          copyUpsampledPictureYuv(TComPicYuv*   pcPicYuvIn, TComPicYuv*   pcPicYuvOut);
    220218#if Q0048_CGS_3D_ASYMLUT
  • branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp

    r1207 r1208  
    37093709}
    37103710
    3711 #if MFM_ENCCONSTRAINT
    37123711TComPic* TComSlice::getBaseColPic(  TComList<TComPic*>& rcListPic )
    37133712{
    37143713  return xGetRefPic( rcListPic, m_iPOC );
    37153714}
    3716 #endif
    37173715
    37183716Void TComSlice::setILRPic(TComPic **pcIlpPic)
  • branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h

    r1207 r1208  
    22762276  TComPic*  getBaseColPic       (UInt refLayerIdc)                { return m_pcBaseColPic[refLayerIdc]; }
    22772277  TComPic** getBaseColPic       ()                                { return &m_pcBaseColPic[0];          }
    2278 #if MFM_ENCCONSTRAINT
    22792278  TComPic*  getBaseColPic( TComList<TComPic*>& rcListPic );
    2280 #endif
    22812279
    22822280  Void      setLayerId (UInt layerId)   { m_layerId = layerId; }
  • branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h

    r1207 r1208  
    101101
    102102/// normative encoder constraints --------
    103 #define MFM_ENCCONSTRAINT                1      ///< JCTVC-O0216: Encoder constraint for motion field mapping
    104103#define REF_IDX_ME_ZEROMV                1      ///< JCTVC-L0051: use zero motion for inter-layer reference picture (without fractional ME)
    105104
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r1205 r1208  
    17591759      pcSlice->setRefPicList( m_cListPic, false, NULL);
    17601760    }
    1761 #if MFM_ENCCONSTRAINT
     1761
     1762    // motion field mapping constraint
    17621763    if( pcSlice->getMFMEnabledFlag() )
    17631764    {
     
    17741775      }
    17751776    }
    1776 #endif
    17771777#endif
    17781778   
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r1207 r1208  
    19361936          // It is a requirement of bitstream conformance when the collocated picture, used for temporal motion vector prediction, is an inter-layer reference picture,
    19371937          // VpsInterLayerMotionPredictionEnabled[ LayerIdxInVps[ currLayerId ] ][ LayerIdxInVps[ rLId ] ] shall be equal to 1, where rLId is set equal to nuh_layer_id of the inter-layer picture.
    1938           if( refPic->isILR(m_layerId) && pcSlice->getVPS()->isMotionPredictionType( pcSlice->getVPS()->getLayerIdxInVps(m_layerId), refPic->getLayerIdx() )
    1939 #if MFM_ENCCONSTRAINT
    1940             && pcSlice->getBaseColPic( *m_ppcTEncTop[refPic->getLayerIdx()]->getListPic() )->checkSameRefInfo() == true
    1941 #endif
    1942             )
     1938          if( refPic->isILR(m_layerId) && pcSlice->getVPS()->isMotionPredictionType( pcSlice->getVPS()->getLayerIdxInVps(m_layerId), refPic->getLayerIdx() )           
     1939            && pcSlice->getBaseColPic( *m_ppcTEncTop[refPic->getLayerIdx()]->getListPic() )->checkSameRefInfo() == true )
    19431940          {
    19441941            ColRefIdx = colIdx;
     
    19591956            // VpsInterLayerMotionPredictionEnabled[ LayerIdxInVps[ currLayerId ] ][ LayerIdxInVps[ rLId ] ] shall be equal to 1, where rLId is set equal to nuh_layer_id of the inter-layer picture.
    19601957            if( refPic->isILR(m_layerId) && pcSlice->getVPS()->isMotionPredictionType( pcSlice->getVPS()->getLayerIdxInVps(m_layerId), refPic->getLayerIdx() )
    1961 #if MFM_ENCCONSTRAINT
    1962               && pcSlice->getBaseColPic( *m_ppcTEncTop[refPic->getLayerIdx()]->getListPic() )->checkSameRefInfo() == true
    1963 #endif
    1964               )
     1958              && pcSlice->getBaseColPic( *m_ppcTEncTop[refPic->getLayerIdx()]->getListPic() )->checkSameRefInfo() == true )
    19651959            {
    19661960              ColRefIdx = colIdx;
Note: See TracChangeset for help on using the changeset viewer.