Changeset 1313 in 3DVCSoftware for trunk/source/Lib/TLibEncoder/TEncPic.cpp
- Timestamp:
- 13 Aug 2015, 17:38:13 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibEncoder/TEncPic.cpp
r1179 r1313 2 2 * License, included below. This software may be subject to other third party 3 3 * and contributor rights, including patent rights, and no such rights are 4 * granted under this license. 4 * granted under this license. 5 5 * 6 * Copyright (c) 2010-2015, ITU/ISO/IEC6 * Copyright (c) 2010-2015, ITU/ISO/IEC 7 7 * All rights reserved. 8 8 * … … 117 117 118 118 /** Initialize member variables 119 * \param iWidth Picture width 120 * \param iHeight Picture height 121 * \param uiMaxWidth Maximum CU width 122 * \param uiMaxHeight Maximum CU height 123 * \param uiMaxDepth Maximum CU depth 124 * \param uiMaxAQDepth Maximum depth of unit block for assigning QP adaptive to local image characteristics 119 * \param sps reference to used SPS 120 * \param pps reference to used PPS 121 * \param uiMaxAdaptiveQPDepth Maximum depth of unit block for assigning QP adaptive to local image characteristics 125 122 * \param bIsVirtual 126 * \return Void127 123 */ 128 Void TEncPic::create( Int iWidth, Int iHeight, UInt uiMaxWidth, UInt uiMaxHeight, UInt uiMaxDepth, UInt uiMaxAQDepth, 129 Window &conformanceWindow, Window &defaultDisplayWindow, Int *numReorderPics, Bool bIsVirtual ) 124 Void TEncPic::create( const TComSPS &sps, const TComPPS &pps, UInt uiMaxAdaptiveQPDepth, Bool bIsVirtual ) 130 125 { 131 TComPic::create( iWidth, iHeight, uiMaxWidth, uiMaxHeight, uiMaxDepth, 132 conformanceWindow, defaultDisplayWindow, numReorderPics, bIsVirtual ); 133 m_uiMaxAQDepth = uiMaxAQDepth; 134 if ( uiMaxAQDepth > 0 ) 126 TComPic::create( sps, pps, bIsVirtual ); 127 const Int iWidth = sps.getPicWidthInLumaSamples(); 128 const Int iHeight = sps.getPicHeightInLumaSamples(); 129 const UInt uiMaxWidth = sps.getMaxCUWidth(); 130 const UInt uiMaxHeight = sps.getMaxCUHeight(); 131 m_uiMaxAQDepth = uiMaxAdaptiveQPDepth; 132 if ( uiMaxAdaptiveQPDepth > 0 ) 135 133 { 136 m_acAQLayer = new TEncPicQPAdaptationLayer[ m_uiMaxAQDepth ]; 134 m_acAQLayer = new TEncPicQPAdaptationLayer[ m_uiMaxAQDepth ]; 137 135 for (UInt d = 0; d < m_uiMaxAQDepth; d++) 138 136 { … … 142 140 } 143 141 144 /** Clean up 145 * \return Void 146 */ 142 //! Clean up 147 143 Void TEncPic::destroy() 148 144 {
Note: See TracChangeset for help on using the changeset viewer.