43 #endif // _MSC_VER > 1000
104 ,
Bool leftMergeAvail
105 ,
Bool aboveMergeAvail
106 ,
Bool onlyEstMergeInfo =
false
215 #endif // !defined(AFX_TENCSBAC_H__DDA7CDC4_EDE3_4015_9D32_2156249C82AA__INCLUDED_)
ContextModel3DBuffer m_cSaoTypeIdxSCModel
Void codeQtCbfZero(TComTU &rTu, const ChannelType chType)
entropy encoder class (header)
ContextModel3DBuffer m_explicitRdpcmFlagSCModel
Void estSignificantMapBit(estBitsSbacStruct *pcEstBitsSbac, Int width, Int height, ChannelType chType)
estimate SAMBAC bit cost for significant coefficient map
Void codeSplitFlag(TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
Void codeSPS(const TComSPS *pcSPS)
SliceType
supported slice type
ContextModel3DBuffer m_cCUMergeFlagExtSCModel
Void codeCoeffNxN(TComTU &rTu, TCoeff *pcCoef, const ComponentID compID)
virtual Void resetBits()=0
Void estSignificantCoefficientsBit(estBitsSbacStruct *pcEstBitsSbac, ChannelType chType)
estimate bit cost of significant coefficient
ContextModel3DBuffer m_cCUPredModeSCModel
ContextModel3DBuffer m_cCURefPicSCModel
Void estCBFBit(estBitsSbacStruct *pcEstBitsSbac)
estimate bit cost for each CBP bit
Void codeSliceHeader(TComSlice *pcSlice)
pure virtual class for basic bit handling
Void estSignificantCoeffGroupMapBit(estBitsSbacStruct *pcEstBitsSbac, ChannelType chType)
estimate SAMBAC bit cost for significant coefficient group map
Void codeSaoTypeIdx(UInt uiCode)
ContextModel3DBuffer m_cCUInterDirSCModel
Void codeSkipFlag(TComDataCU *pcCU, UInt uiAbsPartIdx)
Void codeSAOSign(UInt uiCode)
UInt m_golombRiceAdaptationStatistics[RExt__GOLOMB_RICE_ADAPTATION_STATISTICS_SETS]
ContextModel3DBuffer m_cCUChromaPredSCModel
Void codeSaoMaxUvlc(UInt code, UInt maxSymbol)
ContextModel3DBuffer m_cCuCtxLastX
Void codeLastSignificantXY(UInt uiPosX, UInt uiPosY, Int width, Int height, ComponentID component, UInt uiScanIdx)
Void codeVPS(const TComVPS *pcVPS)
ContextModel3DBuffer m_cCUDeltaQpSCModel
Void codePPS(const TComPPS *pcPPS)
Void codeCrossComponentPrediction(TComTU &rTu, ComponentID compID)
ContextModel3DBuffer m_cCUAbsSCModel
ContextModel3DBuffer m_cCUOneSCModel
Void loadContexts(const TEncSbac *pSrc)
Void estLastSignificantPositionBit(estBitsSbacStruct *pcEstBitsSbac, Int width, Int height, ChannelType chType, COEFF_SCAN_TYPE scanType)
estimate bit cost of significant coefficient
Void codeIntraDirChroma(TComDataCU *pcCU, UInt uiAbsPartIdx)
ContextModel3DBuffer m_cCUQtCbfSCModel
ContextModel3DBuffer m_cCUSigSCModel
Void xWriteCoefRemainExGolomb(UInt symbol, UInt &rParam, const Bool useLimitedPrefixLength, const Int maxLog2TrDynamicRange)
Void codeSAOBlkParam(SAOBlkParam &saoBlkParam, const BitDepths &bitDepths, Bool *sliceEnabled, Bool leftMergeAvail, Bool aboveMergeAvail, Bool onlyEstMergeInfo=false)
ContextModel3DBuffer m_cCUSkipFlagSCModel
ContextModel3DBuffer m_cCUTransSubdivFlagSCModel
Void codeIPCMInfo(TComDataCU *pcCU, UInt uiAbsPartIdx)
Void codeMergeFlag(TComDataCU *pcCU, UInt uiAbsPartIdx)
ContextModel3DBuffer m_cCUPartSizeSCModel
Void setBitstream(TComBitIf *p)
Void xCopyContextsFrom(const TEncSbac *pSrc)
Void xCopyFrom(const TEncSbac *pSrc)
Void xWriteUnarySymbol(UInt uiSymbol, ContextModel *pcSCModel, Int iOffset)
ContextModel3DBuffer m_cCUQtRootCbfSCModel
Void codeSAOOffsetParam(ComponentID compIdx, SAOOffset &ctbParam, Bool sliceEnabled, const Int channelBitDepth)
virtual Void init(TComBitIf *pcTComBitIf)=0
Void codeQtCbf(TComTU &rTu, const ComponentID compID, const Bool lowestLevel)
Void codeExplicitRdpcmMode(TComTU &rTu, const ComponentID compID)
Void load(const TEncSbac *pSrc)
binary entropy encoder of CABAC
Void loadIntraDirMode(const TEncSbac *pScr, const ChannelType chType)
Defines constants and tables for SBAC.
Void codeTransformSubdivFlag(UInt uiSymbol, UInt uiCtx)
Void estBit(estBitsSbacStruct *pcEstBitsSbac, Int width, Int height, ChannelType chType, COEFF_SCAN_TYPE scanType)
estimate bit cost for CBP, significant map and significant coefficients
ContextModel3DBuffer m_ChromaQpAdjFlagSCModel
Int TCoeff
transform coefficient
RefPicList
reference list index
Void xWriteEpExGolomb(UInt uiSymbol, UInt uiCount)
Void codeTransformSkipFlags(TComTU &rTu, ComponentID component)
ContextModel3DBuffer m_cMVPIdxSCModel
Void codeSaoMerge(UInt uiCode)
COEFF_SCAN_TYPE
coefficient scanning type used in ACS
class for handling bitstream (header)
Void codeMvd(TComDataCU *pcCU, UInt uiAbsPartIdx, RefPicList eRefList)
Void codeTilesWPPEntryPoint(TComSlice *pSlice)
UInt getNumberOfWrittenBits()
Void codeDeltaQP(TComDataCU *pcCU, UInt uiAbsPartIdx)
entropy encoder pure class
ContextModel3DBuffer m_cCrossComponentPredictionSCModel
Void codePartSize(TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
ContextModel3DBuffer m_cCUIntraPredSCModel
Void codeCUTransquantBypassFlag(TComDataCU *pcCU, UInt uiAbsPartIdx)
ContextModel3DBuffer m_cTransformSkipSCModel
Void codePredMode(TComDataCU *pcCU, UInt uiAbsPartIdx)
context model 3D buffer class
ContextModel m_contextModels[512]
context model class (header)
binary entropy encoder interface
ContextModel3DBuffer m_cCUSplitFlagSCModel
ContextModel3DBuffer m_ChromaQpAdjIdcSCModel
ContextModel3DBuffer m_cCUSigCoeffGroupSCModel
TEncBinIf * getEncBinIf()
Void codeTerminatingBit(UInt uilsLast)
Void codeMergeIndex(TComDataCU *pcCU, UInt uiAbsPartIdx)
Void resetEntropy(const TComSlice *pSlice)
Void store(TEncSbac *pDest) const
Void codeMVPIdx(TComDataCU *pcCU, UInt uiAbsPartIdx, RefPicList eRefList)
ContextModel3DBuffer m_cSaoMergeSCModel
ContextModel3DBuffer m_explicitRdpcmDirSCModel
#define MAX_NUM_CTX_MOD
maximum number of supported contexts
context model 3D buffer class (header)
static const Int RExt__GOLOMB_RICE_ADAPTATION_STATISTICS_SETS
ContextModel3DBuffer m_cCUMvdSCModel
Void codeChromaQpAdjustment(TComDataCU *cu, UInt absPartIdx)
Void codeSaoUflc(UInt uiLength, UInt uiCode)
Void codeRefFrmIdx(TComDataCU *pcCU, UInt uiAbsPartIdx, RefPicList eRefList)
Void codeInterDir(TComDataCU *pcCU, UInt uiAbsPartIdx)
Void codeIntraDirLumaAng(TComDataCU *pcCU, UInt absPartIdx, Bool isMultiple)
ContextModel3DBuffer m_cCuCtxLastY
Void xWriteUnaryMaxSymbol(UInt uiSymbol, ContextModel *pcSCModel, Int iOffset, UInt uiMaxSymbol)
ContextModel3DBuffer m_cCUMergeIdxExtSCModel
ContextModel3DBuffer m_CUTransquantBypassFlagSCModel
SliceType determineCabacInitIdx(const TComSlice *pSlice)
virtual UInt getNumWrittenBits()=0
virtual Void resetBits()=0
Void codeQtRootCbf(TComDataCU *pcCU, UInt uiAbsPartIdx)