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


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

remove REMOVE_COL_PICTURE_SIGNALING macro

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

Legend:

Unmodified
Added
Removed
  • branches/SHM-5.0-dev/source/Lib/TLibCommon/TComSlice.h

    r562 r563  
    21602160  Void      setMFMEnabledFlag(Bool flag)                { m_bMFMEnabledFlag = flag; }
    21612161  Bool      getMFMEnabledFlag()                         { return m_bMFMEnabledFlag; }
    2162 #if !REMOVE_COL_PICTURE_SIGNALING
    2163   Void      setColRefLayerIdx(Int i)                    { m_colRefLayerIdx = i;     }
    2164   Int       getColRefLayerIdx()                         { return m_colRefLayerIdx;  }
    2165   Void      setAltColIndicationFlag(Bool i)             { m_altColIndicationFlag = i; }
    2166   Bool      getAltColIndicationFlag()                   { return m_altColIndicationFlag; }
    2167   Void      setMotionPredIlp(TComPic *ilpPic)           { m_pcIlpPic = ilpPic; }
    2168   TComPic*  getMotionPredIlp()                          { return m_pcIlpPic; }
    2169 #endif
    21702162#endif
    21712163
  • branches/SHM-5.0-dev/source/Lib/TLibCommon/TypeDef.h

    r562 r563  
    166166#endif
    167167#if REF_IDX_MFM
    168 #define REMOVE_COL_PICTURE_SIGNALING     1      ///< JCTVC-N0107: remove alternative collocated picture signalling
    169168#define N0139_POSITION_ROUNDING_OFFSET   1      ///< JCTVC-N0139: offset for collocated block in motion mapping
    170169#endif
  • branches/SHM-5.0-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r562 r563  
    23392339    if ( rpcSlice->getEnableTMVPFlag() )
    23402340    {
    2341 #if REMOVE_COL_PICTURE_SIGNALING
     2341#if SVC_EXTENSION && REF_IDX_MFM
     2342      // set motion mapping flag
    23422343      rpcSlice->setMFMEnabledFlag( ( rpcSlice->getNumMotionPredRefLayers() > 0 && rpcSlice->getActiveNumILRRefIdx() ) ? true : false );
    2343 #else
    2344       rpcSlice->setMFMEnabledFlag( false );
    2345       rpcSlice->setColRefLayerIdx( 0 );
    2346       rpcSlice->setAltColIndicationFlag( false );
    2347       if ( sps->getLayerId() > 0 && rpcSlice->getActiveNumILRRefIdx() > 0 && rpcSlice->getNumMotionPredRefLayers() > 0 )
    2348       {
    2349         READ_FLAG( uiCode, "alt_collocated_indication_flag" );
    2350         rpcSlice->setAltColIndicationFlag( uiCode == 1 ? true : false );
    2351         rpcSlice->setMFMEnabledFlag( uiCode == 1 ? true : false );
    2352         if ( rpcSlice->getNumMotionPredRefLayers() > 1 )
    2353         {
    2354           READ_UVLC( uiCode, "collocated_ref_layer_idx" );
    2355           rpcSlice->setColRefLayerIdx( uiCode );
    2356         }
    2357       }
    2358       else
    2359       {
    2360 #endif //REMOVE_COL_PICTURE_SIGNALING
     2344#endif
    23612345      if ( rpcSlice->getSliceType() == B_SLICE )
    23622346      {
  • branches/SHM-5.0-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r562 r563  
    691691      pcSlice->setInterLayerPredEnabledFlag(false);
    692692      pcSlice->setMFMEnabledFlag(false);
    693 #if !REMOVE_COL_PICTURE_SIGNALING
    694       pcSlice->setAltColIndicationFlag(false);
    695 #endif
    696693    }
    697694#endif
     
    12161213
    12171214#if REF_IDX_MFM
    1218 #if REMOVE_COL_PICTURE_SIGNALING
    12191215      if( pcSlice->getMFMEnabledFlag() )
    1220 #else
    1221       if( pcSlice->getMFMEnabledFlag() && !(pcSlice->getActiveNumILRRefIdx() > 0 && m_pcEncTop->getNumMotionPredRefLayers() > 0) )
    1222 #endif
    12231216      {
    12241217        Bool found         = false;
  • branches/SHM-5.0-dev/source/Lib/TLibEncoder/TEncSlice.cpp

    r562 r563  
    537537#endif
    538538    rpcSlice->setMFMEnabledFlag(m_ppcTEncTop[layerId]->getMFMEnabledFlag());
    539 #if !REMOVE_COL_PICTURE_SIGNALING
    540     rpcSlice->setAltColIndicationFlag(rpcSlice->getMFMEnabledFlag());
    541 #endif
    542539  }
    543540
Note: See TracChangeset for help on using the changeset viewer.