145 #endif // __TENCSLICE__
Void encodeSlice(TComPic *pcPic, TComOutputBitstream *pcSubstreams, UInt &numBinsCoded)
SliceType
supported slice type
TEncGOP * m_pcGOPEncoder
GOP encoder.
Void setUpLambda(TComSlice *slice, const Double dLambda, Int iQP)
picture class (symbol + YUV buffers)
Defines version information, constants and small in-line functions.
TEncSbac * m_pcRDGoOnSbacCoder
go-on SBAC encoder
Void init(TEncTop *pcEncTop)
UInt64 m_uiPicTotalBits
total bits for the picture
Coding Unit (CU) encoder class (header)
TEncCu * getCUEncoder()
CU encoder.
TEncSbac *** m_pppcRDSbacCoder
storage for SBAC-based RD optimization
Void initEncSlice(TComPic *pcPic, const Int pocLast, const Int pocCurr, const Int iGOPid, TComSlice *&rpcSlice, const Bool isField)
preparation of slice encoding (reference marking, QP and lambda)
SliceType m_encCABACTableIdx
Double calculateLambda(const TComSlice *pSlice, const Int GOPid, const Int depth, const Double refQP, const Double dQP, Int &iQP)
TEncCu * m_pcCuEncoder
CU encoder.
TEncSbac * m_pcSbacCoder
SBAC encoder.
TEncSearch * m_pcPredSearch
encoder search class
TEncBinCABAC * m_pcBinCABAC
Bin encoder CABAC.
Void precompressSlice(TComPic *pcPic)
precompress slice for multi-loop slice-level QP opt.
Void calCostSliceI(TComPic *pcPic)
Void create(Int iWidth, Int iHeight, ChromaFormat chromaFormat, UInt iMaxCUWidth, UInt iMaxCUHeight, UChar uhTotalDepth)
Void calculateBoundingCtuTsAddrForSlice(UInt &startCtuTSAddrSlice, UInt &boundingCtuTSAddrSlice, Bool &haveReachedTileBoundary, TComPic *pcPic, const Int sliceMode, const Int sliceArgument)
std::vector< Int > m_viRdPicQp
array of picture QP candidates (Int-type)
general list class (header)
TComRdCost * m_pcRdCost
RD cost computation.
UInt64 m_uiPicDist
total distortion for the picture
RD cost computation class.
TEncEntropy * m_pcEntropyCoder
entropy encoder
TComPicYuv m_picYuvPred
prediction picture buffer
ChromaFormat
chroma formats (according to semantics of chroma_format_idc)
Void updateLambda(TComSlice *pSlice, Double dQP)
TEncSbac m_lastSliceSegmentEndContextState
context storage for state at the end of the previous slice-segment (used for dependent slices only)...
std::vector< Double > m_vdRdPicQp
array of picture QP candidates (double-type for lambda)
Void setGopID(Int iGopID)
picture YUV buffer class (header)
unsigned long long UInt64
SliceType getEncCABACTableIdx() const
weighted prediction encoder class
transform and quantization class
Void setSearchRange(TComSlice *pcSlice)
set ME range adaptively
TComTrQuant * m_pcTrQuant
transform & quantization
Rate control manager class.
TEncCfg * m_pcCfg
encoder configuration class
Void xDetermineStartAndBoundingCtuTsAddr(UInt &startCtuTsAddr, UInt &boundingCtuTsAddr, TComPic *pcPic)
Void resetQP(TComPic *pic, Int sliceQP, Double lambda)
Double m_dPicRdCost
picture-level RD cost
encoder configuration class
std::vector< Double > m_vdRdPicLambda
array of lambda candidates
Void compressSlice(TComPic *pcPic, const Bool bCompressEntireSlice, const Bool bFastDeltaQP)
analysis stage of slice
TEncRateCtrl * m_pcRateCtrl
Rate control manager.
TComPicYuv m_picYuvResi
residual picture buffer
TEncSbac m_entropyCodingSyncContextState
context storate for state of contexts at the wavefront/WPP/entropy-coding-sync second CTU of tile-row...
TComList< TComPic * > * m_pcListPic
list of pictures
Double xGetQPValueAccordingToLambda(Double lambda)