Changeset 1210 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibCommon
- Timestamp:
- 8 Jul 2015, 22:47:39 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibCommon
- Files:
-
- 4 edited
-
TComPic.h (modified) (2 diffs)
-
TComSlice.cpp (modified) (6 diffs)
-
TComSlice.h (modified) (4 diffs)
-
TypeDef.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComPic.h
r1208 r1210 95 95 Bool m_equalPictureSizeAndOffsetFlag[MAX_LAYERS]; 96 96 #endif 97 #endif98 97 #if Q0048_CGS_3D_ASYMLUT 99 98 Int m_nFrameBit; 100 99 #endif 101 #if POC_RESET_IDC_DECODER102 100 Bool m_currAuFlag; 103 101 #endif … … 220 218 Int getFrameBit() { return m_nFrameBit; } 221 219 #endif 222 #if POC_RESET_IDC_DECODER223 220 Bool isCurrAu() { return m_currAuFlag; } 224 221 Void setCurrAuFlag(Bool x) {m_currAuFlag = x; } 225 #endif226 222 #endif //SVC_EXTENSION 227 223 };// END CLASS DEFINITION TComPic -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp
r1209 r1210 301 301 pcPic = *(iterPic); 302 302 } 303 #if POC_RESET_IDC_DECODER303 #if SVC_EXTENSION 304 304 assert( pcPic->getSlice(0)->isReferenced() ); 305 305 #endif … … 2303 2303 , m_scalingListRefLayerId ( 0 ) 2304 2304 #endif 2305 #if POC_RESET_IDC2306 2305 , m_pocResetInfoPresentFlag (false) 2307 #endif2308 2306 , m_numRefLayerLocationOffsets ( 0 ) 2309 2307 #if Q0048_CGS_3D_ASYMLUT … … 3680 3678 return false; 3681 3679 } 3682 #if POC_RESET_IDC_DECODER 3680 3683 3681 TComPic* pic = xGetRefPic( rcListPic, getPOC() ); 3684 3682 … … 3693 3691 3694 3692 return true; 3695 #else3696 setBaseColPic(refLayerIdc, xGetRefPic(rcListPic, getPOC()));3697 return true;3698 #endif3699 3693 } 3700 3694 … … 3813 3807 } 3814 3808 3815 Bool TComSlice::getBlaPicFlag ()3809 Bool TComSlice::getBlaPicFlag() 3816 3810 { 3817 3811 return getNalUnitType() == NAL_UNIT_CODED_SLICE_BLA_N_LP … … 3820 3814 } 3821 3815 3822 Bool TComSlice::getCraPicFlag ()3816 Bool TComSlice::getCraPicFlag() 3823 3817 { 3824 3818 return getNalUnitType() == NAL_UNIT_CODED_SLICE_CRA; 3825 3819 } 3826 3820 3827 #if POC_RESET_IDC_DECODER 3828 Bool TComSlice::getRaslPicFlag () 3821 Bool TComSlice::getRaslPicFlag() 3829 3822 { 3830 3823 return getNalUnitType() == NAL_UNIT_CODED_SLICE_RASL_R 3831 3824 || getNalUnitType() == NAL_UNIT_CODED_SLICE_RASL_N; 3832 3825 } 3833 Bool TComSlice::getRadlPicFlag () 3826 3827 Bool TComSlice::getRadlPicFlag() 3834 3828 { 3835 3829 return getNalUnitType() == NAL_UNIT_CODED_SLICE_RADL_R 3836 3830 || getNalUnitType() == NAL_UNIT_CODED_SLICE_RADL_N; 3837 3831 } 3838 #endif3839 3832 3840 3833 Void TComSlice::decrementRefPocValues(Int const decrementValue) -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h
r1209 r1210 1657 1657 UInt m_scalingListRefLayerId; 1658 1658 #endif 1659 #if POC_RESET_IDC1660 1659 Bool m_pocResetInfoPresentFlag; 1661 #endif1662 1660 UInt m_numRefLayerLocationOffsets; 1663 1661 UInt m_refLocationOffsetLayerId[MAX_LAYERS]; … … 1806 1804 Void setSliceHeaderExtensionPresentFlag (Bool val) { m_sliceHeaderExtensionPresentFlag = val; } 1807 1805 #if SVC_EXTENSION 1808 Int getExtensionFlag() { return m_extensionFlag; }1809 Void setExtensionFlag(Int n) { m_extensionFlag = n; }1806 Int getExtensionFlag() { return m_extensionFlag; } 1807 Void setExtensionFlag(Int n) { m_extensionFlag = n; } 1810 1808 #if SCALINGLIST_INFERRING 1811 UInt getLayerId() { return m_layerId; } 1812 Void setLayerId( UInt layerId ) { m_layerId = layerId; } 1813 Bool getInferScalingListFlag() { return m_inferScalingListFlag; } 1814 UInt getScalingListRefLayerId() { return m_scalingListRefLayerId; } 1815 Void setInferScalingListFlag( Bool flag ) { m_inferScalingListFlag = flag; } 1816 Void setScalingListRefLayerId( UInt layerId ) { m_scalingListRefLayerId = layerId; } 1817 #endif 1818 #if POC_RESET_IDC 1819 Bool getPocResetInfoPresentFlag () { return m_pocResetInfoPresentFlag; } 1820 Void setPocResetInfoPresentFlag (const Bool val) { m_pocResetInfoPresentFlag = val; } 1821 #endif 1822 UInt getNumRefLayerLocationOffsets() { return m_numRefLayerLocationOffsets; } 1823 Void setNumRefLayerLocationOffsets(Int x) { m_numRefLayerLocationOffsets = x; } 1824 1825 UInt getRefLocationOffsetLayerId(Int x) { return m_refLocationOffsetLayerId[x]; } 1826 Void setRefLocationOffsetLayerId(Int x, UInt id) { m_refLocationOffsetLayerId[x] = id; } 1809 UInt getLayerId() { return m_layerId; } 1810 Void setLayerId( UInt layerId ) { m_layerId = layerId; } 1811 Bool getInferScalingListFlag() { return m_inferScalingListFlag; } 1812 UInt getScalingListRefLayerId() { return m_scalingListRefLayerId; } 1813 Void setInferScalingListFlag( Bool flag ) { m_inferScalingListFlag = flag; } 1814 Void setScalingListRefLayerId( UInt layerId ) { m_scalingListRefLayerId = layerId; } 1815 #endif 1816 Bool getPocResetInfoPresentFlag() { return m_pocResetInfoPresentFlag; } 1817 Void setPocResetInfoPresentFlag(const Bool val) { m_pocResetInfoPresentFlag = val; } 1818 UInt getNumRefLayerLocationOffsets() { return m_numRefLayerLocationOffsets; } 1819 Void setNumRefLayerLocationOffsets(Int x) { m_numRefLayerLocationOffsets = x; } 1820 1821 UInt getRefLocationOffsetLayerId(Int x) { return m_refLocationOffsetLayerId[x]; } 1822 Void setRefLocationOffsetLayerId(Int x, UInt id) { m_refLocationOffsetLayerId[x] = id; } 1827 1823 Window& getScaledRefLayerWindowForLayer( Int layerId ); 1828 1824 … … 2128 2124 2129 2125 #if SVC_EXTENSION 2130 #if POC_RESET_IDC_DECODER2131 2126 Void setPrevTid0POC( Int x ) { m_prevTid0POC = x; } 2132 #endif2133 2127 Void setAssociatedIrapPocBeforeReset(Int x) { m_associatedIrapPocBeforeReset = x; } 2134 2128 Int getAssociatedIrapPocBeforeReset( ) { return m_associatedIrapPocBeforeReset; } … … 2360 2354 Bool getBlaPicFlag (); 2361 2355 Bool getCraPicFlag (); 2362 #if POC_RESET_IDC_DECODER2363 2356 Bool getRaslPicFlag (); 2364 2357 Bool getRadlPicFlag (); 2365 #endif2366 2358 Int getPicOrderCntLsb() { return m_picOrderCntLsb; } 2367 2359 Void setPicOrderCntLsb(Int x) { m_picOrderCntLsb = x; } -
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1209 r1210 67 67 #define R0179_ENC_OPT_3DLUT_SIZE 0 ///< JCTVC-R0179: RD decision based LUT size selection 68 68 #endif 69 #define POC_RESET_IDC 1 ///< JCTVC-P0041: Include poc_reset_idc and related derivation 70 #if POC_RESET_IDC 71 #define POC_RESET_IDC_DECODER 1 ///< JCTVC-P0041: Include support of enabling POC reset at the decoder 72 #endif 69 73 70 #define SCALINGLIST_INFERRING 1 ///< JCTVC-N0371: inter-layer scaling list 74 71
Note: See TracChangeset for help on using the changeset viewer.