Changeset 1412 in 3DVCSoftware for branches/HTM-16.2-dev/source/Lib/TLibEncoder/TEncSlice.h
- Timestamp:
- 12 Apr 2018, 11:12:21 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-16.2-dev/source/Lib/TLibEncoder/TEncSlice.h
r1405 r1412 4 4 * granted under this license. 5 5 * 6 * Copyright (c) 2010-201 6, ITU/ISO/IEC6 * Copyright (c) 2010-2017, ITU/ISO/IEC 7 7 * All rights reserved. 8 8 * … … 93 93 #else 94 94 UInt64 m_uiPicDist; ///< total distortion for the picture 95 #endif 96 95 #endif 96 Double m_dPicRdCost; ///< picture-level RD cost 97 97 std::vector<Double> m_vdRdPicLambda; ///< array of lambda candidates 98 98 std::vector<Double> m_vdRdPicQp; ///< array of picture QP candidates (double-type for lambda) … … 103 103 TEncSbac m_entropyCodingSyncContextState; ///< context storate for state of contexts at the wavefront/WPP/entropy-coding-sync second CTU of tile-row 104 104 SliceType m_encCABACTableIdx; 105 Int m_gopID; 106 #if NH_MV 107 SliceType m_eSliceTypeBaseView; 108 #endif 105 109 110 Double calculateLambda( const TComSlice* pSlice, const Int GOPid, const Int depth, const Double refQP, const Double dQP, Int &iQP ); 106 111 Void setUpLambda(TComSlice* slice, const Double dLambda, Int iQP); 107 112 Void calculateBoundingCtuTsAddrForSlice(UInt &startCtuTSAddrSlice, UInt &boundingCtuTSAddrSlice, Bool &haveReachedTileBoundary, TComPic* pcPic, const Int sliceMode, const Int sliceArgument); … … 123 128 const Int iGOPid, TComSlice*& rpcSlice, const Bool isField ); 124 129 #endif 130 125 131 Void resetQP ( TComPic* pic, Int sliceQP, Double lambda ); 132 Void setGopID( Int iGopID ) { m_gopID = iGopID; } 133 Int getGopID() const { return m_gopID; } 134 Void updateLambda(TComSlice* pSlice, Double dQP); 135 126 136 // compress and encode slice 127 137 Void precompressSlice ( TComPic* pcPic ); ///< precompress slice for multi-loop slice-level QP opt.
Note: See TracChangeset for help on using the changeset viewer.