Changeset 28 in SHVCSoftware for trunk/source/Lib/TLibDecoder
- Timestamp:
- 7 Feb 2013, 02:16:51 (12 years ago)
- Location:
- trunk/source/Lib/TLibDecoder
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibDecoder/TDecCAVLC.cpp
r2 r28 844 844 #endif 845 845 READ_FLAG( uiCode, "sps_temporal_mvp_enable_flag" ); pcSPS->setTMVPFlagsPresent(uiCode); 846 #if REF_IDX_MFM 847 if(pcSPS->getLayerId() > 0) 848 { 849 READ_FLAG( uiCode, "sps_enh_mfm_enable_flag" ); 850 pcSPS->setMFMEnabledFlag( uiCode ? true : false ); 851 assert(pcSPS->getMFMEnabledFlag()); 852 } 853 #endif 846 854 #if SUPPORT_FOR_VUI 847 855 READ_FLAG( uiCode, "vui_parameters_present_flag" ); pcSPS->setVuiParametersPresentFlag(uiCode); -
trunk/source/Lib/TLibDecoder/TDecGop.cpp
r2 r28 287 287 288 288 rpcPic->compressMotion(); 289 290 289 291 Char c = (pcSlice->isIntra() ? 'I' : pcSlice->isInterP() ? 'P' : 'B'); 290 292 if (!pcSlice->isReferenced()) c += 32; -
trunk/source/Lib/TLibDecoder/TDecTop.cpp
r21 r28 164 164 m_cIlpPic[j]->create(pcSPS->getPicWidthInLumaSamples(), pcSPS->getPicHeightInLumaSamples(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, true); 165 165 #endif 166 #if REF_IDX_ME_AROUND_ZEROMV || REF_IDX_ME_ZEROMV 166 #if REF_IDX_ME_AROUND_ZEROMV || REF_IDX_ME_ZEROMV || REF_IDX_MFM 167 167 m_cIlpPic[j]->setIsILR(true); 168 168 #endif … … 270 270 rpcPic->getPicSym()->allocSaoParam(&m_cSAO); 271 271 #endif 272 273 272 274 m_cListPic.pushBack( rpcPic ); 273 275 … … 316 318 rpcPic->getPicSym()->allocSaoParam(&m_cSAO); 317 319 #endif 320 321 318 322 } 319 323 … … 768 772 { 769 773 setILRPic(pcPic); 774 #if REF_IDX_MFM 775 pcSlice->setRefPOCListILP(m_ppcTDecTop[m_layerId]->m_cIlpPic, pcSlice->getBaseColPic()); 776 #endif 777 770 778 pcSlice->addRefPicList ( m_cIlpPic, 771 779 1, … … 880 888 m_cEntropyDecoder.decodeSPS( sps ); 881 889 m_parameterSetManagerDecoder.storePrefetchedSPS(sps); 890 #if REF_IDX_MFM 891 m_pcSPS = sps; 892 setMFMEnabledFlag(sps->getMFMEnabledFlag()); 893 #endif 882 894 #if !REMOVE_ALF 883 895 m_cAdaptiveLoopFilter.create( sps->getPicWidthInLumaSamples(), sps->getPicHeightInLumaSamples(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth ); -
trunk/source/Lib/TLibDecoder/TDecTop.h
r2 r28 80 80 ParameterSetManagerDecoder m_parameterSetManagerDecoder; // storage for parameter sets 81 81 #endif 82 83 #if REF_IDX_MFM 84 TComSPS* m_pcSPS; 85 Bool m_bMFMEnabledFlag; 86 #endif 87 82 88 TComSlice* m_apcSlicePilot; 83 89 … … 170 176 Void setILRPic(TComPic *pcPic); 171 177 #endif 178 #if REF_IDX_MFM 179 TComSPS* getSPS() {return m_pcSPS;} 180 Void setMFMEnabledFlag(Bool flag) {m_bMFMEnabledFlag = flag;} 181 Bool getMFMEnabledFlag() {return m_bMFMEnabledFlag;} 182 #endif 183 172 184 protected: 173 185 Void xGetNewPicBuffer (TComSlice* pcSlice, TComPic*& rpcPic);
Note: See TracChangeset for help on using the changeset viewer.