Changeset 453 in SHVCSoftware for branches/SHM-4.0-dev/source/Lib/TLibCommon/TComSlice.h
- Timestamp:
- 8 Nov 2013, 07:35:24 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-4.0-dev/source/Lib/TLibCommon/TComSlice.h
r448 r453 1621 1621 Int m_deblockingFilterBetaOffsetDiv2; //< beta offset for deblocking filter 1622 1622 Int m_deblockingFilterTcOffsetDiv2; //< tc offset for deblocking filter 1623 #if JCTVC_M0458_INTERLAYER_RPS_SIG1624 Int m_activeNumILRRefIdx; //< Active inter-layer reference pictures1625 Int m_interLayerPredLayerIdc [MAX_VPS_LAYER_ID_PLUS1];1626 #else1627 #if SVC_EXTENSION1628 Int m_numILRRefIdx; //< for inter-layer reference picture ser1629 #endif1630 #endif1631 #if M0457_IL_SAMPLE_PRED_ONLY_FLAG1632 Int m_numSamplePredRefLayers;1633 Bool m_interLayerSamplePredOnlyFlag;1634 #endif1635 1623 Int m_list1IdxToList0Idx[MAX_NUM_REF]; 1636 1624 Int m_aiNumRefIdx [2]; // for multiple reference of current slice … … 1649 1637 // referenced slice? 1650 1638 Bool m_bRefenced; 1651 1652 #if POC_RESET_FLAG 1653 Bool m_bPocResetFlag; 1654 Int m_pocValueBeforeReset; 1655 #endif 1656 #if SH_DISCARDABLE_FLAG 1657 Bool m_bDiscardableFlag; 1658 #endif 1639 1659 1640 // access channel 1660 1641 TComVPS* m_pcVPS; … … 1670 1651 UInt m_maxNumMergeCand; 1671 1652 1672 1673 1653 #if SAO_CHROMA_LAMBDA 1674 1654 Double m_dLambdaLuma; … … 1680 1660 Bool m_abEqualRef [2][MAX_NUM_REF][MAX_NUM_REF]; 1681 1661 UInt m_uiTLayer; 1682 #if SVC_EXTENSION1683 UInt m_layerId;1684 TComPic* m_pcBaseColPic[MAX_LAYERS];1685 TComPicYuv* m_pcFullPelBaseRec[MAX_LAYERS];1686 #if M0457_COL_PICTURE_SIGNALING1687 Int m_numMotionPredRefLayers;1688 #if REF_IDX_MFM1689 Bool m_bMFMEnabledFlag;1690 Int m_colRefLayerIdx;1691 Bool m_altColIndicationFlag;1692 TComPic* m_pcIlpPic;1693 #endif1694 #endif1695 #endif1696 1662 Bool m_bTLayerSwitchingFlag; 1697 1663 … … 1727 1693 1728 1694 Bool m_enableTMVPFlag; 1695 1696 #if SVC_EXTENSION 1697 UInt m_layerId; 1698 TComPic* m_pcBaseColPic[MAX_LAYERS]; 1699 TComPicYuv* m_pcFullPelBaseRec[MAX_LAYERS]; 1700 #if M0457_COL_PICTURE_SIGNALING 1701 Int m_numMotionPredRefLayers; 1702 #if REF_IDX_MFM 1703 Bool m_bMFMEnabledFlag; 1704 Int m_colRefLayerIdx; 1705 Bool m_altColIndicationFlag; 1706 TComPic* m_pcIlpPic; 1707 #endif 1708 #endif 1709 1729 1710 #if JCTVC_M0458_INTERLAYER_RPS_SIG 1730 Bool m_interLayerPredEnabledFlag; 1711 Bool m_interLayerPredEnabledFlag; 1712 Int m_activeNumILRRefIdx; //< Active inter-layer reference pictures 1713 Int m_interLayerPredLayerIdc [MAX_VPS_LAYER_ID_PLUS1]; 1714 #else 1715 #if SVC_EXTENSION 1716 Int m_numILRRefIdx; //< for inter-layer reference picture ser 1717 #endif 1731 1718 #endif 1719 #if M0457_IL_SAMPLE_PRED_ONLY_FLAG 1720 Int m_numSamplePredRefLayers; 1721 Bool m_interLayerSamplePredOnlyFlag; 1722 #endif 1723 #if POC_RESET_FLAG 1724 Bool m_bPocResetFlag; 1725 Int m_pocValueBeforeReset; 1726 #endif 1727 Bool m_bDiscardableFlag; 1728 #endif //SVC_EXTENSION 1729 1732 1730 public: 1733 1731 TComSlice(); … … 1803 1801 Bool getMvdL1ZeroFlag () { return m_bLMvdL1Zero; } 1804 1802 Int getNumRpsCurrTempList(); 1805 #if RPL_INIT_N0316_N00821806 Int getNumNegativeRpsCurrTempList();1807 #endif1808 1803 Int getList1IdxToList0Idx ( Int list1Idx ) { return m_list1IdxToList0Idx[list1Idx]; } 1809 1804 Void setReferenced(Bool b) { m_bRefenced = b; } … … 1816 1811 Bool getIdrPicFlag () { return getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR_W_RADL || getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR_N_LP; } 1817 1812 Bool isIRAP () const { return (getNalUnitType() >= 16) && (getNalUnitType() <= 23); } 1818 #if RESTR_CHK1819 Bool isRADL() { return (m_eNalUnitType == NAL_UNIT_CODED_SLICE_RADL_N || m_eNalUnitType == NAL_UNIT_CODED_SLICE_RADL_R); }1820 Bool isRASL() { return (m_eNalUnitType == NAL_UNIT_CODED_SLICE_RASL_N || m_eNalUnitType == NAL_UNIT_CODED_SLICE_RASL_R); }1821 #endif1822 1823 #if POC_RESET_FLAG1824 Bool getPocResetFlag () { return m_bPocResetFlag; }1825 Void setPocResetFlag (Bool b) { m_bPocResetFlag = b; }1826 Int getPocValueBeforeReset () { return m_pocValueBeforeReset; }1827 Void setPocValueBeforeReset (Int x) { m_pocValueBeforeReset = x ; }1828 #endif1829 #if SH_DISCARDABLE_FLAG1830 Bool getDiscardableFlag () { return m_bDiscardableFlag; }1831 Void setDiscardableFlag (Bool b) { m_bDiscardableFlag = b; }1832 #endif1833 1834 1813 Void checkCRA(TComReferencePictureSet *pReferencePictureSet, Int& pocCRA, NalUnitType& associatedIRAPType, TComList<TComPic *>& rcListPic); 1835 1814 Void decodingRefreshMarking(Int& pocCRA, Bool& bRefreshPending, TComList<TComPic*>& rcListPic); … … 2048 2027 #endif 2049 2028 2050 TComPic* getRefPic(TComList<TComPic*>& rcListPic, Int poc) { return xGetRefPic( rcListPic, poc ); } 2051 2052 #endif //SVC_EXTENSION 2029 TComPic* getRefPic(TComList<TComPic*>& rcListPic, Int poc) { return xGetRefPic( rcListPic, poc ); } 2030 2031 #if RESTR_CHK 2032 Bool isRADL() { return (m_eNalUnitType == NAL_UNIT_CODED_SLICE_RADL_N || m_eNalUnitType == NAL_UNIT_CODED_SLICE_RADL_R); } 2033 Bool isRASL() { return (m_eNalUnitType == NAL_UNIT_CODED_SLICE_RASL_N || m_eNalUnitType == NAL_UNIT_CODED_SLICE_RASL_R); } 2034 #endif 2035 2036 #if POC_RESET_FLAG 2037 Bool getPocResetFlag () { return m_bPocResetFlag; } 2038 Void setPocResetFlag (Bool b) { m_bPocResetFlag = b; } 2039 Int getPocValueBeforeReset () { return m_pocValueBeforeReset; } 2040 Void setPocValueBeforeReset (Int x) { m_pocValueBeforeReset = x ; } 2041 #endif 2042 Bool getDiscardableFlag () { return m_bDiscardableFlag; } 2043 Void setDiscardableFlag (Bool b) { m_bDiscardableFlag = b; } 2044 2045 #if RPL_INIT_N0316_N0082 2046 Int getNumNegativeRpsCurrTempList(); 2047 #endif 2053 2048 2054 2049 #if REPN_FORMAT_IN_VPS … … 2061 2056 Int getQpBDOffsetC(); 2062 2057 #endif 2058 2059 #endif //SVC_EXTENSION 2063 2060 protected: 2064 2061 TComPic* xGetRefPic (TComList<TComPic*>& rcListPic,
Note: See TracChangeset for help on using the changeset viewer.