Changeset 562 in SHVCSoftware for branches/SHM-5.0-dev/source/Lib/TLibCommon
- Timestamp:
- 27 Jan 2014, 17:40:23 (11 years ago)
- Location:
- branches/SHM-5.0-dev/source/Lib/TLibCommon
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.0-dev/source/Lib/TLibCommon/TComDataCU.cpp
r540 r562 3438 3438 3439 3439 // use coldir. 3440 #if M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING3441 TComPic *pColPic;3442 if (m_layerId > 0 && getSlice()->getAltColIndicationFlag())3443 {3444 pColPic = getSlice()->getMotionPredIlp();3445 }3446 else3447 {3448 pColPic = getSlice()->getRefPic( RefPicList(getSlice()->isInterB() ? 1-getSlice()->getColFromL0Flag() : 0), getSlice()->getColRefIdx());3449 }3450 #else3451 3440 TComPic *pColPic = getSlice()->getRefPic( RefPicList(getSlice()->isInterB() ? 1-getSlice()->getColFromL0Flag() : 0), getSlice()->getColRefIdx()); 3452 #endif3453 3441 TComDataCU *pColCU = pColPic->getCU( uiCUAddr ); 3454 3442 if(pColCU->getPic()==0||pColCU->getPartitionSize(uiPartUnitIdx)==SIZE_NONE) -
branches/SHM-5.0-dev/source/Lib/TLibCommon/TComSlice.cpp
r561 r562 124 124 m_numILRRefIdx = 0; 125 125 #endif 126 #if M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING127 m_altColIndicationFlag = false;128 m_colRefLayerIdx = 0;129 #endif130 126 #endif //SVC_EXTENSION 131 127 … … 453 449 { 454 450 #if REF_IDX_MFM 455 #if M0457_COL_PICTURE_SIGNALING456 451 if(!(m_eNalUnitType >= NAL_UNIT_CODED_SLICE_BLA_W_LP && m_eNalUnitType <= NAL_UNIT_CODED_SLICE_CRA) && getMFMEnabledFlag()) 457 #else458 if(!(m_eNalUnitType >= NAL_UNIT_CODED_SLICE_BLA_W_LP && m_eNalUnitType <= NAL_UNIT_CODED_SLICE_CRA) && m_pcSPS->getMFMEnabledFlag())459 #endif460 452 { 461 453 ilpPic[refLayerIdc]->copyUpsampledMvField( refLayerIdc, m_pcBaseColPic[refLayerIdc] ); -
branches/SHM-5.0-dev/source/Lib/TLibCommon/TComSlice.h
r561 r562 1324 1324 #if SVC_EXTENSION 1325 1325 UInt m_layerId; 1326 1327 #if REF_IDX_MFM1328 #if !M0457_COL_PICTURE_SIGNALING1329 Bool m_bMFMEnabledFlag;1330 #endif1331 #endif1332 1326 UInt m_numScaledRefLayerOffsets; 1333 1327 #if O0098_SCALED_REF_LAYER_ID … … 1490 1484 Void setLayerId(UInt layerId) { m_layerId = layerId; } 1491 1485 UInt getLayerId() { return m_layerId; } 1492 #if REF_IDX_MFM1493 #if !M0457_COL_PICTURE_SIGNALING1494 Void setMFMEnabledFlag(Bool flag) {m_bMFMEnabledFlag = flag;}1495 Bool getMFMEnabledFlag() {return m_bMFMEnabledFlag;}1496 #endif1497 #endif1498 1486 UInt getNumScaledRefLayerOffsets() { return m_numScaledRefLayerOffsets; } 1499 1487 Void setNumScaledRefLayerOffsets(Int x) { m_numScaledRefLayerOffsets = x; } … … 1875 1863 TComPic* m_pcBaseColPic[MAX_LAYERS]; 1876 1864 TComPicYuv* m_pcFullPelBaseRec[MAX_LAYERS]; 1877 #if M0457_COL_PICTURE_SIGNALING1878 1865 Int m_numMotionPredRefLayers; 1879 1866 #if REF_IDX_MFM … … 1882 1869 Bool m_altColIndicationFlag; 1883 1870 TComPic* m_pcIlpPic; 1884 #endif1885 1871 #endif 1886 1872 … … 2169 2155 #endif 2170 2156 2171 #if M0457_COL_PICTURE_SIGNALING2172 2157 Void setNumMotionPredRefLayers(int i) { m_numMotionPredRefLayers = i; } 2173 2158 Int getNumMotionPredRefLayers() { return m_numMotionPredRefLayers; } … … 2184 2169 #endif 2185 2170 #endif 2186 #endif2187 2171 2188 2172 TComPic* getRefPic(TComList<TComPic*>& rcListPic, Int poc) { return xGetRefPic( rcListPic, poc ); } -
branches/SHM-5.0-dev/source/Lib/TLibCommon/TypeDef.h
r561 r562 167 167 #if REF_IDX_MFM 168 168 #define REMOVE_COL_PICTURE_SIGNALING 1 ///< JCTVC-N0107: remove alternative collocated picture signalling 169 #define M0457_COL_PICTURE_SIGNALING 1170 169 #define N0139_POSITION_ROUNDING_OFFSET 1 ///< JCTVC-N0139: offset for collocated block in motion mapping 171 170 #endif
Note: See TracChangeset for help on using the changeset viewer.