Changeset 1540 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibCommon
- Timestamp:
- 22 Mar 2016, 23:10:27 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibCommon
- Files:
-
- 5 edited
-
TComPic.cpp (modified) (2 diffs)
-
TComPicSym.cpp (modified) (5 diffs)
-
TComPicSym.h (modified) (1 diff)
-
TComPicYuv.cpp (modified) (2 diffs)
-
TComYuv.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComPic.cpp
r1512 r1540 75 75 TComPic::~TComPic() 76 76 { 77 destroy(); 77 78 } 78 79 #if SVC_EXTENSION 79 80 Void TComPic::create( const TComSPS &sps, const TComPPS &pps, const Bool bIsVirtual, const UInt layerId ) 80 81 { 82 destroy(); 83 81 84 const ChromaFormat chromaFormatIDC = sps.getChromaFormatIdc(); 82 85 const Int iWidth = sps.getPicWidthInLumaSamples(); … … 116 119 Void TComPic::create( const TComSPS &sps, const TComPPS &pps, const Bool bIsVirtual) 117 120 { 121 destroy(); 122 118 123 const ChromaFormat chromaFormatIDC = sps.getChromaFormatIdc(); 119 124 const Int iWidth = sps.getPicWidthInLumaSamples(); -
branches/SHM-dev/source/Lib/TLibCommon/TComPicSym.cpp
r1503 r1540 77 77 {} 78 78 79 80 TComPicSym::~TComPicSym() 81 { 82 destroy(); 83 } 84 79 85 #if SVC_EXTENSION 80 86 Void TComPicSym::create ( const TComSPS &sps, const TComPPS &pps, UInt uiMaxDepth, const UInt layerId ) … … 84 90 { 85 91 #endif 86 UInt i; 92 destroy(); 93 87 94 m_sps = sps; 88 95 m_pps = pps; … … 91 98 const Int iPicWidth = sps.getPicWidthInLumaSamples(); 92 99 const Int iPicHeight = sps.getPicHeightInLumaSamples(); 93 94 100 const UInt uiMaxCuWidth = sps.getMaxCUWidth(); 95 101 const UInt uiMaxCuHeight = sps.getMaxCUHeight(); … … 124 130 #endif 125 131 126 for ( i=0; i<m_numCtusInFrame ; i++ )132 for (UInt i=0; i<m_numCtusInFrame ; i++ ) 127 133 { 128 134 m_pictureCtuArray[i] = new TComDataCU; … … 144 150 #endif 145 151 146 for( i=0; i<m_numCtusInFrame; i++ )152 for(UInt i=0; i<m_numCtusInFrame; i++ ) 147 153 { 148 154 m_ctuTsToRsAddrMap[i] = i; -
branches/SHM-dev/source/Lib/TLibCommon/TComPicSym.h
r1520 r1540 140 140 141 141 TComPicSym (); 142 ~TComPicSym(); 143 142 144 TComSlice* getSlice(UInt i) { return m_apSlices[i]; } 143 145 const TComSlice* getSlice(UInt i) const { return m_apSlices[i]; } -
branches/SHM-dev/source/Lib/TLibCommon/TComPicYuv.cpp
r1460 r1540 74 74 TComPicYuv::~TComPicYuv() 75 75 { 76 destroy(); 76 77 } 77 78 … … 90 91 91 92 { 93 destroy(); 92 94 93 95 #if SVC_EXTENSION -
branches/SHM-dev/source/Lib/TLibCommon/TComYuv.cpp
r1324 r1540 59 59 TComYuv::~TComYuv() 60 60 { 61 destroy(); 61 62 } 62 63 63 64 Void TComYuv::create( UInt iWidth, UInt iHeight, ChromaFormat chromaFormatIDC ) 64 65 { 66 destroy(); 65 67 // set width and height 66 68 m_iWidth = iWidth;
Note: See TracChangeset for help on using the changeset viewer.