Changeset 562 in SHVCSoftware for branches/SHM-5.0-dev/source/Lib/TLibDecoder
- Timestamp:
- 27 Jan 2014, 17:40:23 (11 years ago)
- 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 756 756 } 757 757 READ_FLAG( uiCode, "sps_temporal_mvp_enable_flag" ); pcSPS->setTMVPFlagsPresent(uiCode); 758 #if REF_IDX_MFM759 #if !M0457_COL_PICTURE_SIGNALING760 if(pcSPS->getLayerId() > 0)761 {762 READ_FLAG( uiCode, "sps_enh_mfm_enable_flag" );763 pcSPS->setMFMEnabledFlag( uiCode ? true : false );764 }765 #endif766 #endif767 758 READ_FLAG( uiCode, "sps_strong_intra_smoothing_enable_flag" ); pcSPS->setUseStrongIntraSmoothing(uiCode); 768 759 … … 2348 2339 if ( rpcSlice->getEnableTMVPFlag() ) 2349 2340 { 2350 #if M0457_COL_PICTURE_SIGNALING2351 2341 #if REMOVE_COL_PICTURE_SIGNALING 2352 2342 rpcSlice->setMFMEnabledFlag( ( rpcSlice->getNumMotionPredRefLayers() > 0 && rpcSlice->getActiveNumILRRefIdx() ) ? true : false ); … … 2369 2359 { 2370 2360 #endif //REMOVE_COL_PICTURE_SIGNALING 2371 #endif2372 2361 if ( rpcSlice->getSliceType() == B_SLICE ) 2373 2362 { … … 2391 2380 rpcSlice->setColRefIdx(0); 2392 2381 } 2393 #if M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING2394 }2395 #endif2396 2382 } 2397 2383 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 848 848 setRefLayerParams(m_apcSlicePilot->getVPS()); 849 849 #endif 850 #if M0457_COL_PICTURE_SIGNALING851 850 m_apcSlicePilot->setNumMotionPredRefLayers(m_numMotionPredRefLayers); 852 #endif853 851 #endif 854 852 m_cEntropyDecoder.decodeSliceHeader (m_apcSlicePilot, &m_parameterSetManagerDecoder); … … 1475 1473 1476 1474 #if REF_IDX_MFM 1477 #if M0457_COL_PICTURE_SIGNALING1478 1475 if( pcSlice->getMFMEnabledFlag() ) 1479 #else1480 if( pcSlice->getSPS()->getMFMEnabledFlag() )1481 #endif1482 1476 { 1483 1477 pcSlice->setRefPOCListILP(m_ppcTDecTop[m_layerId]->m_cIlpPic, pcSlice->getBaseColPic()); 1484 #if M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING1485 pcSlice->setMotionPredIlp(getMotionPredIlp(pcSlice));1486 #endif1487 1478 } 1488 1479 pcSlice->setRefPicList( m_cListPic, false, m_cIlpPic); … … 2017 2008 #endif 2018 2009 2019 #if M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING2020 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 else2036 {2037 activeMotionPredReflayerIdx++;2038 }2039 }2040 }2041 2042 assert(ilpPic != NULL);2043 2044 return ilpPic;2045 }2046 #endif2047 2010 #if OUTPUT_LAYER_SET_INDEX 2048 2011 Void TDecTop::checkValueOfOutputLayerSetIdx(TComVPS *vps) -
branches/SHM-5.0-dev/source/Lib/TLibDecoder/TDecTop.h
r560 r562 242 242 Void xDecodePPS(); 243 243 Void xDecodeSEI( TComInputBitstream* bs, const NalUnitType nalUnitType ); 244 #if M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING245 TComPic* getMotionPredIlp(TComSlice* pcSlice);246 #endif247 244 248 245 #if NO_CLRAS_OUTPUT_FLAG
Note: See TracChangeset for help on using the changeset viewer.