Changeset 1199 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibCommon
- Timestamp:
- 8 Jul 2015, 20:02:01 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibCommon
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp
r1198 r1199 134 134 , m_pocMsbValRequiredFlag ( false ) 135 135 , m_pocMsbValPresentFlag ( false ) 136 #if P0297_VPS_POC_LSB_ALIGNED_FLAG137 136 , m_pocMsbValNeeded ( false ) 138 #endif139 137 #endif 140 138 #if POC_RESET_IDC_DECODER || POC_RESET_IDC_ENCODER … … 235 233 m_picOrderCntLsb = 0; 236 234 #endif 237 #if P0297_VPS_POC_LSB_ALIGNED_FLAG238 235 m_pocMsbValNeeded = false; 239 236 m_pocResetDeltaPoc = 0; 240 #endif241 237 } 242 238 … … 1692 1688 Bool irapIsInRPS = false; 1693 1689 #endif 1694 #if P0297_VPS_POC_LSB_ALIGNED_FLAG1690 #if SVC_POC 1695 1691 Bool pocsAdjusted = false; 1696 1692 #endif … … 1707 1703 rpcPic = *(iterPic++); 1708 1704 1709 #if P0297_VPS_POC_LSB_ALIGNED_FLAG1705 #if SVC_POC 1710 1706 // poc adjustement by poc reset needs to be taken into account here 1711 1707 Int deltaPOC = pReferencePictureSet->getDeltaPOC(i) - rpcPic->getPicSym()->getSlice(0)->getPocResetDeltaPoc(); … … 1722 1718 // This picture exists as a reference picture 1723 1719 // and should be added to the explicit Reference Picture Set 1724 #if P0297_VPS_POC_LSB_ALIGNED_FLAG1720 #if SVC_POC 1725 1721 pcRPS->setDeltaPOC(k, deltaPOC); 1726 1722 #else … … 1729 1725 pcRPS->setUsed(k, pReferencePictureSet->getUsed(i) && (!isRAP)); 1730 1726 #if ALLOW_RECOVERY_POINT_AS_RAP 1731 #if P0297_VPS_POC_LSB_ALIGNED_FLAG1727 #if SVC_POC 1732 1728 pcRPS->setUsed(k, pcRPS->getUsed(k) && !(bUseRecoveryPoint && this->getPOC() > pocRandomAccess && this->getPOC() + deltaPOC < pocRandomAccess) ); 1733 1729 #else … … 1784 1780 || useNewRPS 1785 1781 #endif 1786 #if P0297_VPS_POC_LSB_ALIGNED_FLAG1782 #if SVC_POC 1787 1783 || pocsAdjusted // inter RPS prediction does not work if POCs have been adjusted 1788 1784 #endif … … 1946 1942 , m_viewIdLen (0) 1947 1943 , m_vpsNonVuiExtLength (0) 1948 #if P0297_VPS_POC_LSB_ALIGNED_FLAG1949 1944 , m_vpsPocLsbAlignedFlag(false) 1950 #endif1951 1945 { 1952 1946 for( Int i = 0; i < MAX_TLAYER; i++) -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h
r1198 r1199 730 730 UInt m_baseLayerPSCompatibilityFlag[MAX_LAYERS]; 731 731 Int m_vpsNonVuiExtLength; 732 #if P0297_VPS_POC_LSB_ALIGNED_FLAG733 732 Bool m_vpsPocLsbAlignedFlag; 734 #endif735 733 std::vector< std::vector<Bool> > m_necessaryLayerFlag; 736 734 std::vector<Int> m_numNecessaryLayers; … … 942 940 UInt getPocLsbNotPresentFlag(Int i) { return m_pocLsbNotPresentFlag[i]; } 943 941 Void setPocLsbNotPresentFlag(Int i, Bool x) { m_pocLsbNotPresentFlag[i] = x; } 944 #if P0297_VPS_POC_LSB_ALIGNED_FLAG945 942 Bool getVpsPocLsbAlignedFlag() { return m_vpsPocLsbAlignedFlag; } 946 943 Void setVpsPocLsbAlignedFlag(Bool x) { m_vpsPocLsbAlignedFlag = x; } 947 #endif948 944 Bool getCrossLayerPictureTypeAlignFlag() { return m_crossLayerPictureTypeAlignFlag; } 949 945 Void setCrossLayerPictureTypeAlignFlag(Bool x) { m_crossLayerPictureTypeAlignFlag = x; } … … 2022 2018 Bool m_pocMsbValRequiredFlag; 2023 2019 Bool m_pocMsbValPresentFlag; 2024 #if P0297_VPS_POC_LSB_ALIGNED_FLAG2025 2020 Bool m_pocMsbValNeeded; 2026 2021 Int m_pocResetDeltaPoc; 2027 #endif2028 2022 #endif 2029 2023 #if POC_RESET_IDC_ENCODER … … 2375 2369 Int getPocLsbVal () { return m_pocLsbVal; } 2376 2370 Void setPocLsbVal (Int b) { m_pocLsbVal = b; } 2377 #if P0297_VPS_POC_LSB_ALIGNED_FLAG2378 2371 Void setPocMsbNeeded (Bool x) { m_pocMsbValNeeded = x; } 2379 2372 Bool getPocMsbNeeded () { return m_pocMsbValNeeded; } 2380 2373 Int getPocResetDeltaPoc () { return m_pocResetDeltaPoc; } 2381 2374 Void setPocResetDeltaPoc (Int x) { m_pocResetDeltaPoc = x; } 2382 #endif2383 2375 Int getPocMsbVal () { return m_pocMsbVal; } 2384 2376 Void setPocMsbVal (Int b) { m_pocMsbVal = b; } -
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1198 r1199 85 85 #define REPN_FORMAT_IN_VPS 1 ///< JCTVC-N0092: Signal represenation format (spatial resolution, bit depth, colour format) in the VPS 86 86 #define SCALINGLIST_INFERRING 1 ///< JCTVC-N0371: inter-layer scaling list 87 #define P0297_VPS_POC_LSB_ALIGNED_FLAG 1 ///< JCTVC-P0297: vps_poc_lsb_aligned_flag for cross-layer POC anchor picture derivation88 87 89 88 #define AVC_BASE 1 ///< YUV BL reading for AVC base SVC 89 #define SVC_POC 1 ///< POC signalling and reset 90 90 91 91 #define REF_IDX_MFM 1 ///< JCTVC-L0336: motion vector mapping of inter-layer reference picture
Note: See TracChangeset for help on using the changeset viewer.