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


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/TLibDecoder
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-5.0-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r561 r562  
    756756  }
    757757  READ_FLAG( uiCode, "sps_temporal_mvp_enable_flag" );            pcSPS->setTMVPFlagsPresent(uiCode);
    758 #if REF_IDX_MFM
    759 #if !M0457_COL_PICTURE_SIGNALING
    760   if(pcSPS->getLayerId() > 0)
    761   {
    762     READ_FLAG( uiCode, "sps_enh_mfm_enable_flag" );
    763     pcSPS->setMFMEnabledFlag( uiCode ? true : false );
    764   }
    765 #endif
    766 #endif
    767758  READ_FLAG( uiCode, "sps_strong_intra_smoothing_enable_flag" );  pcSPS->setUseStrongIntraSmoothing(uiCode);
    768759
     
    23482339    if ( rpcSlice->getEnableTMVPFlag() )
    23492340    {
    2350 #if M0457_COL_PICTURE_SIGNALING
    23512341#if REMOVE_COL_PICTURE_SIGNALING
    23522342      rpcSlice->setMFMEnabledFlag( ( rpcSlice->getNumMotionPredRefLayers() > 0 && rpcSlice->getActiveNumILRRefIdx() ) ? true : false );
     
    23692359      {
    23702360#endif //REMOVE_COL_PICTURE_SIGNALING
    2371 #endif
    23722361      if ( rpcSlice->getSliceType() == B_SLICE )
    23732362      {
     
    23912380        rpcSlice->setColRefIdx(0);
    23922381      }
    2393 #if M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING
    2394       }
    2395 #endif
    23962382    }
    23972383    if ( (pps->getUseWP() && rpcSlice->getSliceType()==P_SLICE) || (pps->getWPBiPred() && rpcSlice->getSliceType()==B_SLICE) )
  • branches/SHM-5.0-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r560 r562  
    848848  setRefLayerParams(m_apcSlicePilot->getVPS());
    849849#endif
    850 #if M0457_COL_PICTURE_SIGNALING
    851850  m_apcSlicePilot->setNumMotionPredRefLayers(m_numMotionPredRefLayers);
    852 #endif
    853851#endif
    854852  m_cEntropyDecoder.decodeSliceHeader (m_apcSlicePilot, &m_parameterSetManagerDecoder);
     
    14751473
    14761474#if REF_IDX_MFM
    1477 #if M0457_COL_PICTURE_SIGNALING
    14781475      if( pcSlice->getMFMEnabledFlag() )
    1479 #else
    1480       if( pcSlice->getSPS()->getMFMEnabledFlag() )
    1481 #endif
    14821476      {
    14831477        pcSlice->setRefPOCListILP(m_ppcTDecTop[m_layerId]->m_cIlpPic, pcSlice->getBaseColPic());
    1484 #if M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING
    1485         pcSlice->setMotionPredIlp(getMotionPredIlp(pcSlice));
    1486 #endif
    14871478      }
    14881479      pcSlice->setRefPicList( m_cListPic, false, m_cIlpPic);
     
    20172008#endif
    20182009
    2019 #if M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING
    2020 TComPic* TDecTop::getMotionPredIlp(TComSlice* pcSlice)
    2021 {
    2022   TComPic* ilpPic = NULL;
    2023   Int activeMotionPredReflayerIdx = 0;
    2024 
    2025   for( Int i = 0; i < pcSlice->getActiveNumILRRefIdx(); i++ )
    2026   {
    2027     UInt refLayerIdc = pcSlice->getInterLayerPredLayerIdc(i);
    2028     if( getMotionPredEnabledFlag( pcSlice->getVPS()->getRefLayerId( m_layerId, refLayerIdc ) ) )
    2029     {
    2030       if (activeMotionPredReflayerIdx == pcSlice->getColRefLayerIdx())
    2031       {
    2032         ilpPic = m_cIlpPic[refLayerIdc];
    2033         break;
    2034       }
    2035       else
    2036       {
    2037         activeMotionPredReflayerIdx++;
    2038       }
    2039     }
    2040   }
    2041 
    2042   assert(ilpPic != NULL);
    2043 
    2044   return ilpPic;
    2045 }
    2046 #endif
    20472010#if OUTPUT_LAYER_SET_INDEX
    20482011Void TDecTop::checkValueOfOutputLayerSetIdx(TComVPS *vps)
  • branches/SHM-5.0-dev/source/Lib/TLibDecoder/TDecTop.h

    r560 r562  
    242242  Void      xDecodePPS();
    243243  Void      xDecodeSEI( TComInputBitstream* bs, const NalUnitType nalUnitType );
    244 #if M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING
    245   TComPic*  getMotionPredIlp(TComSlice* pcSlice);
    246 #endif
    247244
    248245#if NO_CLRAS_OUTPUT_FLAG
Note: See TracChangeset for help on using the changeset viewer.