Changeset 324 in SHVCSoftware for branches/SHM-3.0-dev/source/Lib
- Timestamp:
- 3 Aug 2013, 12:30:39 (11 years ago)
- 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 3376 3376 3377 3377 // use coldir. 3378 #if M0457_COL_PICTURE_SIGNALING 3378 #if M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING 3379 3379 TComPic *pColPic; 3380 3380 if (m_layerId > 0 && getSlice()->getAltColIndicationFlag()) -
branches/SHM-3.0-dev/source/Lib/TLibCommon/TComSlice.cpp
r323 r324 124 124 m_numILRRefIdx = 0; 125 125 #endif 126 #if M0457_COL_PICTURE_SIGNALING 126 #if M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING 127 127 m_altColIndicationFlag = false; 128 128 m_colRefLayerIdx = 0; -
branches/SHM-3.0-dev/source/Lib/TLibCommon/TComSlice.h
r313 r324 1778 1778 Void setMFMEnabledFlag(Bool flag) { m_bMFMEnabledFlag = flag; } 1779 1779 Bool getMFMEnabledFlag() { return m_bMFMEnabledFlag; } 1780 #if !REMOVE_COL_PICTURE_SIGNALING 1780 1781 Void setColRefLayerIdx(Int i) { m_colRefLayerIdx = i; } 1781 1782 Int getColRefLayerIdx() { return m_colRefLayerIdx; } … … 1784 1785 Void setMotionPredIlp(TComPic *ilpPic) { m_pcIlpPic = ilpPic; } 1785 1786 TComPic* getMotionPredIlp() { return m_pcIlpPic; } 1787 #endif 1786 1788 #endif 1787 1789 #endif -
branches/SHM-3.0-dev/source/Lib/TLibCommon/TypeDef.h
r323 r324 103 103 #endif 104 104 #if REF_IDX_MFM 105 #define REMOVE_COL_PICTURE_SIGNALING 1 ///< JCTVC-N0107 remove alternative collocated picture signalling 105 106 #define M0457_COL_PICTURE_SIGNALING 1 106 107 #endif -
branches/SHM-3.0-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r321 r324 1573 1573 if ( rpcSlice->getEnableTMVPFlag() ) 1574 1574 { 1575 #if REF_IDX_FRAMEWORK && M0457_COL_PICTURE_SIGNALING 1575 #if REF_IDX_FRAMEWORK && M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING 1576 1576 rpcSlice->setMFMEnabledFlag( false ); 1577 1577 rpcSlice->setColRefLayerIdx( 0 ); … … 1612 1612 rpcSlice->setColRefIdx(0); 1613 1613 } 1614 #if REF_IDX_FRAMEWORK && M0457_COL_PICTURE_SIGNALING 1614 #if REF_IDX_FRAMEWORK && M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING 1615 1615 } 1616 1616 #endif -
branches/SHM-3.0-dev/source/Lib/TLibDecoder/TDecTop.cpp
r323 r324 918 918 { 919 919 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 921 921 pcSlice->setMotionPredIlp(getMotionPredIlp(pcSlice)); 922 922 #endif … … 1372 1372 #endif 1373 1373 1374 #if M0457_COL_PICTURE_SIGNALING 1374 #if M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING 1375 1375 TComPic* TDecTop::getMotionPredIlp(TComSlice* pcSlice) 1376 1376 { -
branches/SHM-3.0-dev/source/Lib/TLibDecoder/TDecTop.h
r313 r324 230 230 Void xDecodePPS(); 231 231 Void xDecodeSEI( TComInputBitstream* bs, const NalUnitType nalUnitType ); 232 #if M0457_COL_PICTURE_SIGNALING 232 #if M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING 233 233 TComPic* getMotionPredIlp(TComSlice* pcSlice); 234 234 #endif -
branches/SHM-3.0-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r321 r324 1187 1187 if ( pcSlice->getEnableTMVPFlag() ) 1188 1188 { 1189 #if REF_IDX_FRAMEWORK && M0457_COL_PICTURE_SIGNALING 1189 #if REF_IDX_FRAMEWORK && M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING 1190 1190 if ( !pcSlice->getIdrPicFlag() && pcSlice->getLayerId() > 0 && pcSlice->getActiveNumILRRefIdx() > 0 && pcSlice->getNumMotionPredRefLayers() > 0 ) 1191 1191 { … … 1210 1210 WRITE_UVLC( pcSlice->getColRefIdx(), "collocated_ref_idx" ); 1211 1211 } 1212 #if REF_IDX_FRAMEWORK && M0457_COL_PICTURE_SIGNALING 1212 #if REF_IDX_FRAMEWORK && M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING 1213 1213 } 1214 1214 #endif -
branches/SHM-3.0-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r323 r324 511 511 #if M0457_COL_PICTURE_SIGNALING 512 512 pcSlice->setMFMEnabledFlag(false); 513 #if !REMOVE_COL_PICTURE_SIGNALING 513 514 pcSlice->setAltColIndicationFlag(false); 515 #endif 514 516 #endif 515 517 } … … 834 836 { 835 837 pcSlice->setRefPOCListILP(m_pcEncTop->getIlpList(), pcSlice->getBaseColPic()); 836 #if M0457_COL_PICTURE_SIGNALING 838 #if M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING 837 839 pcSlice->setMotionPredIlp(getMotionPredIlp(pcSlice)); 838 840 #endif … … 844 846 #if REF_IDX_MFM 845 847 #if M0457_COL_PICTURE_SIGNALING 848 #if REMOVE_COL_PICTURE_SIGNALING 849 if( pcSlice->getMFMEnabledFlag() && pcSlice->getActiveNumILRRefIdx() > 0 && m_pcEncTop->getNumMotionPredRefLayers() > 0 ) 850 #else 846 851 if( pcSlice->getMFMEnabledFlag() && !(pcSlice->getActiveNumILRRefIdx() > 0 && m_pcEncTop->getNumMotionPredRefLayers() > 0) ) 852 #endif 847 853 #else 848 854 if( pcSlice->getSPS()->getMFMEnabledFlag() ) … … 2991 2997 } 2992 2998 2993 #if M0457_COL_PICTURE_SIGNALING 2999 #if M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING 2994 3000 TComPic* TEncGOP::getMotionPredIlp(TComSlice* pcSlice) 2995 3001 { -
branches/SHM-3.0-dev/source/Lib/TLibEncoder/TEncGOP.h
r313 r324 198 198 } 199 199 Void dblMetric( TComPic* pcPic, UInt uiNumSlices ); 200 #if M0457_COL_PICTURE_SIGNALING 200 #if M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING 201 201 TComPic* getMotionPredIlp(TComSlice* pcSlice); 202 202 #endif -
branches/SHM-3.0-dev/source/Lib/TLibEncoder/TEncSlice.cpp
r321 r324 503 503 #if M0457_COL_PICTURE_SIGNALING 504 504 rpcSlice->setMFMEnabledFlag(m_ppcTEncTop[layerId]->getMFMEnabledFlag()); 505 #if !REMOVE_COL_PICTURE_SIGNALING 505 506 rpcSlice->setAltColIndicationFlag(rpcSlice->getMFMEnabledFlag()); 507 #endif 506 508 #endif 507 509 }
Note: See TracChangeset for help on using the changeset viewer.