Changeset 179 in SHVCSoftware for branches/SHM-2.0-dev/source/Lib/TLibCommon
- Timestamp:
- 10 May 2013, 23:44:48 (12 years ago)
- Location:
- branches/SHM-2.0-dev/source/Lib/TLibCommon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.0-dev/source/Lib/TLibCommon/TComSlice.cpp
r178 r179 744 744 #if REF_IDX_FRAMEWORK 745 745 #if JCTVC_M0458_INTERLAYER_RPS_SIG 746 return m_activeNumILRRefIdx;746 return getNumILRRefIdx(); 747 747 #else 748 748 return m_numILRRefIdx; … … 762 762 if(getLayerId()) 763 763 { 764 #if JCTVC_M0458_INTERLAYER_RPS_SIG765 numRpsCurrTempList += getActiveNumILRRefIdx();766 #else767 764 numRpsCurrTempList += getNumILRRefIdx(); 768 #endif769 765 } 770 766 #endif … … 1001 997 #if SVC_EXTENSION 1002 998 m_pcVPS = pSrc->m_pcVPS; 999 #if JCTVC_M0458_INTERLAYER_RPS_SIG 1000 m_activeNumILRRefIdx = pSrc->m_activeNumILRRefIdx; 1001 m_interLayerPredEnabledFlag = pSrc->m_interLayerPredEnabledFlag; 1002 m_numInterLayerRefPics = pSrc->m_numInterLayerRefPics; 1003 memcpy( m_interLayerPredLayerIdc, pSrc->m_interLayerPredLayerIdc, sizeof( m_interLayerPredLayerIdc ) ); 1004 #else 1005 m_numILRRefIdx = pSrc->m_numILRRefIdx; 1006 #endif 1003 1007 #endif 1004 1008 m_pcSPS = pSrc->m_pcSPS; -
branches/SHM-2.0-dev/source/Lib/TLibCommon/TComSlice.h
r176 r179 1582 1582 Int getDeblockingFilterBetaOffsetDiv2() { return m_deblockingFilterBetaOffsetDiv2; } 1583 1583 Int getDeblockingFilterTcOffsetDiv2() { return m_deblockingFilterTcOffsetDiv2; } 1584 #if REF_IDX_FRAMEWORK 1585 Int getNumILRRefIdx ( ) { return m_pcVPS->getNumDirectRefLayers( m_layerId ); } 1586 #if !JCTVC_M0458_INTERLAYER_RPS_SIG 1587 Void setNumILRRefIdx ( Int i ) { m_numILRRefIdx = i; } 1588 #endif 1589 #endif 1590 #if JCTVC_M0458_INTERLAYER_RPS_SIG 1591 Int getActiveNumILRRefIdx ( ) { return m_activeNumILRRefIdx; } 1592 Void setActiveNumILRRefIdx ( Int i ) { m_activeNumILRRefIdx = i; } 1593 1594 Int getInterLayerPredLayerIdc (UInt Idx ) { return m_interLayerPredLayerIdc[Idx];} 1595 Void setInterLayerPredLayerIdc (UInt val, UInt Idx) { m_interLayerPredLayerIdc[Idx] = val; } 1596 #endif 1584 1597 1585 Int getNumRefIdx ( RefPicList e ) { return m_aiNumRefIdx[e]; } 1598 1586 TComPic* getPic () { return m_pcPic; } … … 1648 1636 Void setPic ( TComPic* p ) { m_pcPic = p; } 1649 1637 Void setDepth ( Int iDepth ) { m_iDepth = iDepth; } 1650 1651 #if SVC_EXTENSION1652 Void setBaseColPic ( TComPic* p) { m_pcBaseColPic = p; }1653 Void setBaseColPic ( TComList<TComPic*>& rcListPic , UInt layerID );1654 TComPic* getBaseColPic () { return m_pcBaseColPic; }1655 1656 Void setLayerId (UInt layerId) { m_layerId = layerId; }1657 UInt getLayerId () { return m_layerId; }1658 1659 Void setFullPelBaseRec ( TComPicYuv* p) { m_pcFullPelBaseRec = p; }1660 TComPicYuv* getFullPelBaseRec () { return m_pcFullPelBaseRec; }1661 1662 #if AVC_SYNTAX1663 Void initBaseLayerRPL( TComSlice *pcSlice );1664 #endif1665 #endif1666 1667 #if REF_IDX_MFM1668 Void setRefPOCListILP(TComPic** ilpPic, TComPic *pcRefPicBL);1669 #endif1670 1638 1671 1639 #if FIX1071 … … 1679 1647 Void setCheckLDC ( Bool b ) { m_bCheckLDC = b; } 1680 1648 Void setMvdL1ZeroFlag ( Bool b) { m_bLMvdL1Zero = b; } 1681 1682 #if REF_IDX_FRAMEWORK1683 Void setRefPicListModificationSvc();1684 #endif1685 1649 1686 1650 Bool isIntra () { return m_eSliceType == I_SLICE; } … … 1798 1762 Void setEnableTMVPFlag ( Bool b ) { m_enableTMVPFlag = b; } 1799 1763 Bool getEnableTMVPFlag () { return m_enableTMVPFlag;} 1764 1765 #if SVC_EXTENSION 1766 Void setBaseColPic ( TComList<TComPic*>& rcListPic , UInt layerID ); 1767 Void setBaseColPic ( TComPic* p) { m_pcBaseColPic = p; } 1768 TComPic* getBaseColPic () { return m_pcBaseColPic; } 1769 1770 Void setLayerId (UInt layerId) { m_layerId = layerId; } 1771 UInt getLayerId () { return m_layerId; } 1772 1773 Void setFullPelBaseRec ( TComPicYuv* p) { m_pcFullPelBaseRec = p; } 1774 TComPicYuv* getFullPelBaseRec () { return m_pcFullPelBaseRec; } 1775 1776 #if AVC_SYNTAX 1777 Void initBaseLayerRPL( TComSlice *pcSlice ); 1778 #endif 1779 1780 #if REF_IDX_FRAMEWORK 1781 Void setRefPicListModificationSvc(); 1782 Int getNumILRRefIdx ( ) { return m_pcVPS->getNumDirectRefLayers( m_layerId ); } 1783 1784 #if REF_IDX_MFM 1785 Void setRefPOCListILP(TComPic** ilpPic, TComPic *pcRefPicBL); 1786 #endif 1787 1800 1788 #if JCTVC_M0458_INTERLAYER_RPS_SIG 1789 Int getActiveNumILRRefIdx ( ) { return m_activeNumILRRefIdx; } 1790 Void setActiveNumILRRefIdx ( Int i ) { m_activeNumILRRefIdx = i; } 1791 1792 Int getInterLayerPredLayerIdc (UInt Idx ) { return m_interLayerPredLayerIdc[Idx];} 1793 Void setInterLayerPredLayerIdc (UInt val, UInt Idx) { m_interLayerPredLayerIdc[Idx] = val; } 1794 1801 1795 Void setInterLayerPredEnabledFlag ( Bool val ) { m_interLayerPredEnabledFlag = val; } 1802 1796 Bool getInterLayerPredEnabledFlag () { return m_interLayerPredEnabledFlag;} … … 1804 1798 Void setNumInterLayerRefPics ( UInt val ) { m_numInterLayerRefPics = val; } 1805 1799 UInt getNumInterLayerRefPics () { return m_numInterLayerRefPics;} 1800 #else 1801 Void setNumILRRefIdx ( Int i ) { m_numILRRefIdx = i; } 1806 1802 #endif 1803 #endif 1804 1805 #endif //SVC_EXTENSION 1806 1807 1807 protected: 1808 1808 TComPic* xGetRefPic (TComList<TComPic*>& rcListPic,
Note: See TracChangeset for help on using the changeset viewer.