Changeset 411 in SHVCSoftware for branches/SHM-3.1-dev/source/Lib/TLibCommon
- Timestamp:
- 8 Oct 2013, 08:00:50 (11 years ago)
- Location:
- branches/SHM-3.1-dev/source/Lib/TLibCommon
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-3.1-dev/source/Lib/TLibCommon/TComSlice.cpp
r409 r411 71 71 , m_iDepth ( 0 ) 72 72 , m_bRefenced ( false ) 73 #if POC_RESET_FLAG 74 , m_bPocResetFlag ( false ) 75 #endif 73 76 #if SH_DISCARDABLE_FLAG 74 77 , m_bDiscardableFlag ( false ) … … 269 272 pcPic = *(iterPic); 270 273 } 274 #if POC_RESET_FLAG 275 assert( pcPic->getSlice(0)->isReferenced() ); 276 #endif 271 277 return pcPic; 272 278 } … … 2768 2774 return; 2769 2775 } 2776 #if POC_RESET_FLAG 2777 if( this->getPocResetFlag() ) 2778 { 2779 setBaseColPic(refLayerIdc, xGetRefPic(rcListPic, 0)); 2780 } 2781 else 2782 { 2783 setBaseColPic(refLayerIdc, xGetRefPic(rcListPic, getPOC())); 2784 } 2785 #else 2770 2786 setBaseColPic(refLayerIdc, xGetRefPic(rcListPic, getPOC())); 2787 #endif 2771 2788 } 2772 2789 #endif … … 2782 2799 //set reference picture POC of each ILP reference 2783 2800 Int thePoc = ilpPic[refLayerIdc]->getPOC(); 2784 assert(thePoc >= 0); 2801 assert(thePoc >= 0); 2785 2802 assert(thePoc == pcRefPicBL->getPOC()); 2786 2803 -
branches/SHM-3.1-dev/source/Lib/TLibCommon/TComSlice.h
r409 r411 1568 1568 Bool m_bRefenced; 1569 1569 1570 #if POC_RESET_FLAG 1571 Bool m_bPocResetFlag; 1572 Int m_pocValueBeforeReset; 1573 #endif 1570 1574 #if SH_DISCARDABLE_FLAG 1571 1575 Bool m_bDiscardableFlag; 1572 1576 #endif 1573 1574 1577 // access channel 1575 1578 TComVPS* m_pcVPS; … … 1730 1733 #endif 1731 1734 1735 #if POC_RESET_FLAG 1736 Bool getPocResetFlag () { return m_bPocResetFlag; } 1737 Void setPocResetFlag (Bool b) { m_bPocResetFlag = b; } 1738 Int getPocValueBeforeReset () { return m_pocValueBeforeReset; } 1739 Void setPocValueBeforeReset (Int x) { m_pocValueBeforeReset = x ; } 1740 #endif 1732 1741 #if SH_DISCARDABLE_FLAG 1733 1742 Bool getDiscardableFlag () { return m_bDiscardableFlag; } -
branches/SHM-3.1-dev/source/Lib/TLibCommon/TypeDef.h
r410 r411 49 49 #define VPS_NUH_LAYER_ID 1 ///< N0085: Assert that the nuh_layer_id of VPS NAL unit should be 0 50 50 #if SVC_EXTENSION 51 #define POC_RESET_FLAG 1 ///< N0244: POC reset flag for layer pictures. 51 52 #define MAX_LAYERS 2 ///< max number of layers the codec is supposed to handle 52 53 #define REPN_FORMAT_IN_VPS 1 ///< N0092: Signal represenation format (spatial resolution, bit depth, colour format) in the VPS
Note: See TracChangeset for help on using the changeset viewer.