Changeset 56 in 3DVCSoftware for trunk/source/Lib/TLibEncoder/TEncSlice.h
- Timestamp:
- 11 May 2012, 21:20:17 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibEncoder/TEncSlice.h
r5 r56 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-201 1,ISO/IEC6 * Copyright (c) 2010-2012, ITU/ISO/IEC 7 7 * All rights reserved. 8 8 * … … 15 15 * this list of conditions and the following disclaimer in the documentation 16 16 * and/or other materials provided with the distribution. 17 * * Neither the name of the I SO/IEC nor the names of its contributors may17 * * Neither the name of the ITU/ISO/IEC nor the names of its contributors may 18 18 * be used to endorse or promote products derived from this software without 19 19 * specific prior written permission. … … 32 32 */ 33 33 34 35 36 34 /** \file TEncSlice.h 37 35 \brief slice encoder class (header) … … 42 40 43 41 // Include files 44 #include " ../TLibCommon/CommonDef.h"45 #include " ../TLibCommon/TComList.h"46 #include " ../TLibCommon/TComPic.h"47 #include " ../TLibCommon/TComPicYuv.h"42 #include "TLibCommon/CommonDef.h" 43 #include "TLibCommon/TComList.h" 44 #include "TLibCommon/TComPic.h" 45 #include "TLibCommon/TComPicYuv.h" 48 46 #include "TEncCu.h" 49 #ifdef WEIGHT_PRED50 47 #include "WeightPredAnalysis.h" 51 #endif 48 49 //! \ingroup TLibEncoder 50 //! \{ 52 51 53 52 class TEncTop; 54 class TEnc Pic;53 class TEncGOP; 55 54 56 55 // ==================================================================================================================== … … 60 59 /// slice encoder class 61 60 class TEncSlice 62 #ifdef WEIGHT_PRED63 61 : public WeightPredAnalysis 64 #endif65 62 { 66 63 private: … … 74 71 75 72 // processing units 76 TEnc Pic* m_pcPicEncoder; ///< Picencoder73 TEncGOP* m_pcGOPEncoder; ///< GOP encoder 77 74 TEncCu* m_pcCuEncoder; ///< CU encoder 78 75 … … 98 95 Double* m_pdRdPicQp; ///< array of picture QP candidates (double-type for lambda) 99 96 Int* m_piRdPicQp; ///< array of picture QP candidates (int-type) 97 TEncBinCABAC* m_pcBufferBinCoderCABACs; ///< line of bin coder CABAC 98 TEncSbac* m_pcBufferSbacCoders; ///< line to store temporary contexts 99 TEncBinCABAC* m_pcBufferLowLatBinCoderCABACs; ///< dependent tiles: line of bin coder CABAC 100 TEncSbac* m_pcBufferLowLatSbacCoders; ///< dependent tiles: line to store temporary contexts 100 101 101 102 UInt m_uiSliceIdx; … … 109 110 110 111 /// preparation of slice encoding (reference marking, QP and lambda) 111 Void initEncSlice ( TComPic* pcPic, TComSlice*& rpcSlice);112 112 Void initEncSlice ( TComPic* pcPic, Int iPOCLast, UInt uiPOCCurr, Int iNumPicRcvd, Int iGOPid, TComSlice*& rpcSlice, TComSPS* pSPS, TComPPS *pPPS ); 113 113 114 // compress and encode slice 114 115 Void precompressSlice ( TComPic*& rpcPic ); ///< precompress slice for multi-loop opt. 115 116 Void compressSlice ( TComPic*& rpcPic ); ///< analysis stage of slice 116 Void encodeSlice ( TComPic*& rpcPic, TCom Bitstream*& rpcBitstream ); ///< entropy coding of slice117 Void encodeSlice ( TComPic*& rpcPic, TComOutputBitstream* rpcBitstream, TComOutputBitstream* pcSubstreams ); 117 118 118 119 // misc. functions … … 126 127 }; 127 128 129 //! \} 128 130 129 131 #endif // __TENCSLICE__ 130
Note: See TracChangeset for help on using the changeset viewer.