Changeset 324 in SHVCSoftware for branches/SHM-3.0-dev/source/Lib


Ignore:
Timestamp:
3 Aug 2013, 12:30:39 (11 years ago)
Author:
seregin
Message:

remove alternative collocated picture signalling (JCTVC-N0107)

Location:
branches/SHM-3.0-dev/source/Lib
Files:
11 edited

Legend:

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

    r321 r324  
    33763376
    33773377  // use coldir.
    3378 #if M0457_COL_PICTURE_SIGNALING
     3378#if M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING
    33793379  TComPic *pColPic;
    33803380  if (m_layerId > 0 && getSlice()->getAltColIndicationFlag())
  • branches/SHM-3.0-dev/source/Lib/TLibCommon/TComSlice.cpp

    r323 r324  
    124124  m_numILRRefIdx = 0;
    125125#endif
    126 #if M0457_COL_PICTURE_SIGNALING
     126#if M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING
    127127  m_altColIndicationFlag = false;
    128128  m_colRefLayerIdx       = 0;
  • branches/SHM-3.0-dev/source/Lib/TLibCommon/TComSlice.h

    r313 r324  
    17781778  Void      setMFMEnabledFlag(Bool flag)                { m_bMFMEnabledFlag = flag; }
    17791779  Bool      getMFMEnabledFlag()                         { return m_bMFMEnabledFlag; }
     1780#if !REMOVE_COL_PICTURE_SIGNALING
    17801781  Void      setColRefLayerIdx(Int i)                    { m_colRefLayerIdx = i;     }
    17811782  Int       getColRefLayerIdx()                         { return m_colRefLayerIdx;  }
     
    17841785  Void      setMotionPredIlp(TComPic *ilpPic)           { m_pcIlpPic = ilpPic; }
    17851786  TComPic*  getMotionPredIlp()                          { return m_pcIlpPic; }
     1787#endif
    17861788#endif
    17871789#endif
  • branches/SHM-3.0-dev/source/Lib/TLibCommon/TypeDef.h

    r323 r324  
    103103#endif
    104104#if REF_IDX_MFM
     105#define REMOVE_COL_PICTURE_SIGNALING     1     ///< JCTVC-N0107 remove alternative collocated picture signalling
    105106#define M0457_COL_PICTURE_SIGNALING      1
    106107#endif
  • branches/SHM-3.0-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r321 r324  
    15731573    if ( rpcSlice->getEnableTMVPFlag() )
    15741574    {
    1575 #if REF_IDX_FRAMEWORK && M0457_COL_PICTURE_SIGNALING
     1575#if REF_IDX_FRAMEWORK && M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING
    15761576      rpcSlice->setMFMEnabledFlag( false );
    15771577      rpcSlice->setColRefLayerIdx( 0 );
     
    16121612        rpcSlice->setColRefIdx(0);
    16131613      }
    1614 #if REF_IDX_FRAMEWORK && M0457_COL_PICTURE_SIGNALING
     1614#if REF_IDX_FRAMEWORK && M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING
    16151615      }
    16161616#endif
  • branches/SHM-3.0-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r323 r324  
    918918      {
    919919        pcSlice->setRefPOCListILP(m_ppcTDecTop[m_layerId]->m_cIlpPic, pcSlice->getBaseColPic());
    920 #if M0457_COL_PICTURE_SIGNALING
     920#if M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING
    921921        pcSlice->setMotionPredIlp(getMotionPredIlp(pcSlice));
    922922#endif
     
    13721372#endif
    13731373
    1374 #if M0457_COL_PICTURE_SIGNALING
     1374#if M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING
    13751375TComPic* TDecTop::getMotionPredIlp(TComSlice* pcSlice)
    13761376{
  • branches/SHM-3.0-dev/source/Lib/TLibDecoder/TDecTop.h

    r313 r324  
    230230  Void      xDecodePPS();
    231231  Void      xDecodeSEI( TComInputBitstream* bs, const NalUnitType nalUnitType );
    232 #if M0457_COL_PICTURE_SIGNALING
     232#if M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING
    233233  TComPic*  getMotionPredIlp(TComSlice* pcSlice);
    234234#endif
  • branches/SHM-3.0-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r321 r324  
    11871187    if ( pcSlice->getEnableTMVPFlag() )
    11881188    {
    1189 #if REF_IDX_FRAMEWORK && M0457_COL_PICTURE_SIGNALING
     1189#if REF_IDX_FRAMEWORK && M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING
    11901190      if ( !pcSlice->getIdrPicFlag() && pcSlice->getLayerId() > 0 && pcSlice->getActiveNumILRRefIdx() > 0 && pcSlice->getNumMotionPredRefLayers() > 0 )
    11911191      {
     
    12101210        WRITE_UVLC( pcSlice->getColRefIdx(), "collocated_ref_idx" );
    12111211      }
    1212 #if REF_IDX_FRAMEWORK && M0457_COL_PICTURE_SIGNALING
     1212#if REF_IDX_FRAMEWORK && M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING
    12131213      }
    12141214#endif
  • branches/SHM-3.0-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r323 r324  
    511511#if M0457_COL_PICTURE_SIGNALING
    512512      pcSlice->setMFMEnabledFlag(false);
     513#if !REMOVE_COL_PICTURE_SIGNALING
    513514      pcSlice->setAltColIndicationFlag(false);
     515#endif
    514516#endif
    515517    }
     
    834836      {
    835837        pcSlice->setRefPOCListILP(m_pcEncTop->getIlpList(), pcSlice->getBaseColPic());
    836 #if M0457_COL_PICTURE_SIGNALING
     838#if M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING
    837839        pcSlice->setMotionPredIlp(getMotionPredIlp(pcSlice));
    838840#endif
     
    844846#if REF_IDX_MFM
    845847#if M0457_COL_PICTURE_SIGNALING
     848#if REMOVE_COL_PICTURE_SIGNALING
     849      if( pcSlice->getMFMEnabledFlag() && pcSlice->getActiveNumILRRefIdx() > 0 && m_pcEncTop->getNumMotionPredRefLayers() > 0 )
     850#else
    846851      if( pcSlice->getMFMEnabledFlag() && !(pcSlice->getActiveNumILRRefIdx() > 0 && m_pcEncTop->getNumMotionPredRefLayers() > 0) )
     852#endif
    847853#else
    848854      if( pcSlice->getSPS()->getMFMEnabledFlag() )
     
    29912997}
    29922998
    2993 #if M0457_COL_PICTURE_SIGNALING
     2999#if M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING
    29943000TComPic* TEncGOP::getMotionPredIlp(TComSlice* pcSlice)
    29953001{
  • branches/SHM-3.0-dev/source/Lib/TLibEncoder/TEncGOP.h

    r313 r324  
    198198  }
    199199  Void dblMetric( TComPic* pcPic, UInt uiNumSlices );
    200 #if M0457_COL_PICTURE_SIGNALING
     200#if M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING
    201201  TComPic* getMotionPredIlp(TComSlice* pcSlice);
    202202#endif
  • branches/SHM-3.0-dev/source/Lib/TLibEncoder/TEncSlice.cpp

    r321 r324  
    503503#if M0457_COL_PICTURE_SIGNALING
    504504    rpcSlice->setMFMEnabledFlag(m_ppcTEncTop[layerId]->getMFMEnabledFlag());
     505#if !REMOVE_COL_PICTURE_SIGNALING
    505506    rpcSlice->setAltColIndicationFlag(rpcSlice->getMFMEnabledFlag());
     507#endif
    506508#endif
    507509  }
Note: See TracChangeset for help on using the changeset viewer.