HEVC Test Model (HM)  HM-16.3
Public Member Functions | Private Attributes | List of all members
TComDataCU Class Reference

CU data structure class. More...

#include <TComDataCU.h>

Collaboration diagram for TComDataCU:
Collaboration graph
[legend]

Public Member Functions

TComPicgetPic ()
 
const TComPicgetPic () const
 
TComSlicegetSlice ()
 
const TComSlicegetSlice () const
 
UIntgetCtuRsAddr ()
 
UInt getCtuRsAddr () const
 
UInt getZorderIdxInCtu () const
 
UInt getCUPelX () const
 
UInt getCUPelY () const
 
UChargetDepth ()
 
UChar getDepth (UInt uiIdx) const
 
Void setDepth (UInt uiIdx, UChar uh)
 
ChargetPartitionSize ()
 
PartSize getPartitionSize (UInt uiIdx)
 
Void setPartitionSize (UInt uiIdx, PartSize uh)
 
BoolgetSkipFlag ()
 
Bool getSkipFlag (UInt idx)
 
Void setSkipFlag (UInt idx, Bool skip)
 
ChargetPredictionMode ()
 
PredMode getPredictionMode (UInt uiIdx)
 
Void setPredictionMode (UInt uiIdx, PredMode uh)
 
ChargetCrossComponentPredictionAlpha (ComponentID compID)
 
Char getCrossComponentPredictionAlpha (UInt uiIdx, ComponentID compID)
 
BoolgetCUTransquantBypass ()
 
Bool getCUTransquantBypass (UInt uiIdx)
 
UChargetWidth ()
 
UChar getWidth (UInt uiIdx)
 
Void setWidth (UInt uiIdx, UChar uh)
 
UChargetHeight ()
 
UChar getHeight (UInt uiIdx)
 
Void setHeight (UInt uiIdx, UChar uh)
 
ChargetQP ()
 
Char getQP (UInt uiIdx) const
 
Void setQP (UInt uiIdx, Char value)
 
Void setCodedQP (Char qp)
 
Char getCodedQP ()
 
UChargetChromaQpAdj ()
 array of chroma QP adjustments (indexed). when value = 0, cu_chroma_qp_offset_flag=0; when value>0, indicates cu_chroma_qp_offset_flag=1 and cu_chroma_qp_offset_idx=value-1 More...
 
UChar getChromaQpAdj (Int idx) const
 When value = 0, cu_chroma_qp_offset_flag=0; when value>0, indicates cu_chroma_qp_offset_flag=1 and cu_chroma_qp_offset_idx=value-1. More...
 
Void setChromaQpAdj (Int idx, UChar val)
 When val = 0, cu_chroma_qp_offset_flag=0; when val>0, indicates cu_chroma_qp_offset_flag=1 and cu_chroma_qp_offset_idx=val-1. More...
 
Void setCodedChromaQpAdj (Char qp)
 
Char getCodedChromaQpAdj ()
 
UChargetTransformIdx ()
 
UChar getTransformIdx (UInt uiIdx)
 
UChargetTransformSkip (ComponentID compID)
 
UChar getTransformSkip (UInt uiIdx, ComponentID compID)
 
UChargetExplicitRdpcmMode (ComponentID component)
 
UChar getExplicitRdpcmMode (ComponentID component, UInt partIdx)
 
Bool isRDPCMEnabled (UInt uiAbsPartIdx)
 
TComCUMvFieldgetCUMvField (RefPicList e)
 
TCoeffgetCoeff (ComponentID component)
 
TCoeffgetArlCoeff (ComponentID component)
 
PelgetPCMSample (ComponentID component)
 
UChar getCbf (UInt uiIdx, ComponentID eType)
 
UChargetCbf (ComponentID eType)
 
UChar getCbf (UInt uiIdx, ComponentID eType, UInt uiTrDepth)
 
Void setCbf (UInt uiIdx, ComponentID eType, UChar uh)
 
BoolgetMergeFlag ()
 
Bool getMergeFlag (UInt uiIdx)
 
Void setMergeFlag (UInt uiIdx, Bool b)
 
UChargetMergeIndex ()
 
UChar getMergeIndex (UInt uiIdx)
 
Void setMergeIndex (UInt uiIdx, UInt uiMergeIndex)
 
Void setMergeAMP (Bool b)
 
Bool getMergeAMP ()
 
UChargetIntraDir (const ChannelType channelType) const
 
UChar getIntraDir (const ChannelType channelType, const UInt uiIdx) const
 
UChargetInterDir ()
 
UChar getInterDir (UInt uiIdx)
 
Void setInterDir (UInt uiIdx, UChar uh)
 
BoolgetIPCMFlag ()
 
Bool getIPCMFlag (UInt uiIdx)
 
Void setIPCMFlag (UInt uiIdx, Bool b)
 
Void setMVPIdx (RefPicList eRefPicList, UInt uiIdx, Int iMVPIdx)
 
Int getMVPIdx (RefPicList eRefPicList, UInt uiIdx)
 
ChargetMVPIdx (RefPicList eRefPicList)
 
Void setMVPNum (RefPicList eRefPicList, UInt uiIdx, Int iMVPNum)
 
Int getMVPNum (RefPicList eRefPicList, UInt uiIdx)
 
ChargetMVPNum (RefPicList eRefPicList)
 
Void getMvPredLeft (TComMv &rcMvPred)
 
Void getMvPredAbove (TComMv &rcMvPred)
 
Void getMvPredAboveRight (TComMv &rcMvPred)
 
TComDataCUgetCtuLeft ()
 
TComDataCUgetCtuAbove ()
 
TComDataCUgetCtuAboveLeft ()
 
TComDataCUgetCtuAboveRight ()
 
TComDataCUgetCUColocated (RefPicList eRefPicList)
 
Bool CUIsFromSameSlice (const TComDataCU *pCU) const
 
Bool isIntra (UInt uiPartIdx) const
 
Bool isInter (UInt uiPartIdx) const
 
UIntgetTotalBins ()
 
DoublegetTotalCost ()
 
DistortiongetTotalDistortion ()
 
UIntgetTotalBits ()
 
UIntgetTotalNumPart ()
 

Private Attributes

TComPicm_pcPic
 picture class pointer More...
 
TComSlicem_pcSlice
 slice header pointer More...
 
UInt m_ctuRsAddr
 CTU (also known as LCU) address in a slice (Raster-scan address, as opposed to tile-scan/encoding order). More...
 
UInt m_absZIdxInCtu
 absolute address in a CTU. It's Z scan order More...
 
UInt m_uiCUPelX
 CU position in a pixel (X) More...
 
UInt m_uiCUPelY
 CU position in a pixel (Y) More...
 
UInt m_uiNumPartition
 total number of minimum partitions in a CU More...
 
UCharm_puhWidth
 array of widths More...
 
UCharm_puhHeight
 array of heights More...
 
UCharm_puhDepth
 array of depths More...
 
Int m_unitSize
 size of a "minimum partition" More...
 
Boolm_skipFlag
 array of skip flags More...
 
Charm_pePartSize
 array of partition sizes More...
 
Charm_pePredMode
 array of prediction modes More...
 
Charm_crossComponentPredictionAlpha [MAX_NUM_COMPONENT]
 array of cross-component prediction alpha values More...
 
Boolm_CUTransquantBypass
 array of cu_transquant_bypass flags More...
 
Charm_phQP
 array of QP values More...
 
UCharm_ChromaQpAdj
 array of chroma QP adjustments (indexed). when value = 0, cu_chroma_qp_offset_flag=0; when value>0, indicates cu_chroma_qp_offset_flag=1 and cu_chroma_qp_offset_idx=value-1 More...
 
UInt m_codedChromaQpAdj
 
UCharm_puhTrIdx
 array of transform indices More...
 
UCharm_puhTransformSkip [MAX_NUM_COMPONENT]
 array of transform skipping flags More...
 
UCharm_puhCbf [MAX_NUM_COMPONENT]
 array of coded block flags (CBF) More...
 
TComCUMvField m_acCUMvField [NUM_REF_PIC_LIST_01]
 array of motion vectors. More...
 
TCoeffm_pcTrCoeff [MAX_NUM_COMPONENT]
 array of transform coefficient buffers (0->Y, 1->Cb, 2->Cr) More...
 
TCoeffm_pcArlCoeff [MAX_NUM_COMPONENT]
 
Bool m_ArlCoeffIsAliasedAllocation
 ARL coefficient buffer is an alias of the global buffer and must not be free()'d. More...
 
Pelm_pcIPCMSample [MAX_NUM_COMPONENT]
 PCM sample buffer (0->Y, 1->Cb, 2->Cr) More...
 
TComDataCUm_pCtuAboveLeft
 pointer of above-left CTU. More...
 
TComDataCUm_pCtuAboveRight
 pointer of above-right CTU. More...
 
TComDataCUm_pCtuAbove
 pointer of above CTU. More...
 
TComDataCUm_pCtuLeft
 pointer of left CTU More...
 
TComDataCUm_apcCUColocated [NUM_REF_PIC_LIST_01]
 pointer of temporally colocated CU's for both directions More...
 
TComMvField m_cMvFieldA
 motion vector of position A More...
 
TComMvField m_cMvFieldB
 motion vector of position B More...
 
TComMvField m_cMvFieldC
 motion vector of position C More...
 
TComMv m_cMvPred
 motion vector predictor More...
 
Boolm_pbMergeFlag
 array of merge flags More...
 
UCharm_puhMergeIndex
 array of merge candidate indices More...
 
Bool m_bIsMergeAMP
 
UCharm_puhIntraDir [MAX_NUM_CHANNEL_TYPE]
 
UCharm_puhInterDir
 array of inter directions More...
 
Charm_apiMVPIdx [NUM_REF_PIC_LIST_01]
 array of motion vector predictor candidates More...
 
Charm_apiMVPNum [NUM_REF_PIC_LIST_01]
 array of number of possible motion vectors predictors More...
 
Boolm_pbIPCMFlag
 array of intra_pcm flags More...
 
Bool m_bDecSubCu
 indicates decoder-mode More...
 
Double m_dTotalCost
 sum of partition RD costs More...
 
Distortion m_uiTotalDistortion
 sum of partition distortion More...
 
UInt m_uiTotalBits
 sum of partition bits More...
 
UInt m_uiTotalBins
 sum of partition bins More...
 
Char m_codedQP
 
UCharm_explicitRdpcmMode [MAX_NUM_COMPONENT]
 Stores the explicit RDPCM mode for all TUs belonging to this CU. More...
 
static TCoeffm_pcGlbArlCoeff [MAX_NUM_COMPONENT] = { 0 , 0 , 0 }
 
Bool xAddMVPCand (AMVPInfo *pInfo, RefPicList eRefPicList, Int iRefIdx, UInt uiPartUnitIdx, MVP_DIR eDir)
 add possible motion vector predictor candidates More...
 
Bool xAddMVPCandOrder (AMVPInfo *pInfo, RefPicList eRefPicList, Int iRefIdx, UInt uiPartUnitIdx, MVP_DIR eDir)
 
Void deriveRightBottomIdx (UInt uiPartIdx, UInt &ruiPartIdxRB)
 
Bool xGetColMVP (RefPicList eRefPicList, Int ctuRsAddr, Int uiPartUnitIdx, TComMv &rcMv, Int &riRefIdx)
 
UInt xGetMvdBits (TComMv cMvd)
 compute required bits to encode MVD (used in AMVP) More...
 
UInt xGetComponentBits (Int iVal)
 
Int xGetDistScaleFactor (Int iCurrPOC, Int iCurrRefPOC, Int iColPOC, Int iColRefPOC)
 compute scaling factor from POC difference More...
 
Void xDeriveCenterIdx (UInt uiPartIdx, UInt &ruiPartIdxCenter)
 
 TComDataCU ()
 
virtual ~TComDataCU ()
 
Void create (ChromaFormat chromaFormatIDC, UInt uiNumPartition, UInt uiWidth, UInt uiHeight, Bool bDecSubCu, Int unitSize, Bool bGlobalRMARLBuffer=false)
 
Void destroy ()
 
Void initCtu (TComPic *pcPic, UInt ctuRsAddr)
 
Void initEstData (const UInt uiDepth, const Int qp, const Bool bTransquantBypass)
 
Void initSubCU (TComDataCU *pcCU, UInt uiPartUnitIdx, UInt uiDepth, Int qp)
 
Void setOutsideCUPart (UInt uiAbsPartIdx, UInt uiDepth)
 
Void copySubCU (TComDataCU *pcCU, UInt uiPartUnitIdx, UInt uiDepth)
 
Void copyInterPredInfoFrom (TComDataCU *pcCU, UInt uiAbsPartIdx, RefPicList eRefPicList)
 
Void copyPartFrom (TComDataCU *pcCU, UInt uiPartUnitIdx, UInt uiDepth)
 
Void copyToPic (UChar uiDepth)
 
Void setDepthSubParts (UInt uiDepth, UInt uiAbsPartIdx)
 
Void setPartSizeSubParts (PartSize eMode, UInt uiAbsPartIdx, UInt uiDepth)
 
Void setCUTransquantBypassSubParts (Bool flag, UInt uiAbsPartIdx, UInt uiDepth)
 
Void setSkipFlagSubParts (Bool skip, UInt absPartIdx, UInt depth)
 
Void setPredModeSubParts (PredMode eMode, UInt uiAbsPartIdx, UInt uiDepth)
 
Void setSizeSubParts (UInt uiWidth, UInt uiHeight, UInt uiAbsPartIdx, UInt uiDepth)
 
Void setQPSubParts (Int qp, UInt uiAbsPartIdx, UInt uiDepth)
 
Int getLastValidPartIdx (Int iAbsPartIdx)
 
Char getLastCodedQP (UInt uiAbsPartIdx)
 
Void setQPSubCUs (Int qp, UInt absPartIdx, UInt depth, Bool &foundNonZeroCbf)
 
Void setChromaQpAdjSubParts (UChar val, Int absPartIdx, Int depth)
 
Bool isLosslessCoded (UInt absPartIdx)
 
Void setTrIdxSubParts (UInt uiTrIdx, UInt uiAbsPartIdx, UInt uiDepth)
 
Void setTransformSkipSubParts (UInt useTransformSkip, ComponentID compID, UInt uiAbsPartIdx, UInt uiDepth)
 
Void setTransformSkipSubParts (const UInt useTransformSkip[MAX_NUM_COMPONENT], UInt uiAbsPartIdx, UInt uiDepth)
 
Void setExplicitRdpcmModePartRange (UInt rdpcmMode, ComponentID compID, UInt uiAbsPartIdx, UInt uiCoveredPartIdxes)
 
Void setCrossComponentPredictionAlphaPartRange (Char alphaValue, ComponentID compID, UInt uiAbsPartIdx, UInt uiCoveredPartIdxes)
 
Void setTransformSkipPartRange (UInt useTransformSkip, ComponentID compID, UInt uiAbsPartIdx, UInt uiCoveredPartIdxes)
 
UInt getQuadtreeTULog2MinSizeInCU (UInt uiIdx)
 
Void clearCbf (UInt uiIdx, ComponentID eType, UInt uiNumParts)
 
UChar getQtRootCbf (UInt uiIdx)
 
Void setCbfSubParts (const UInt uiCbf[MAX_NUM_COMPONENT], UInt uiAbsPartIdx, UInt uiDepth)
 
Void setCbfSubParts (UInt uiCbf, ComponentID compID, UInt uiAbsPartIdx, UInt uiDepth)
 
Void setCbfSubParts (UInt uiCbf, ComponentID compID, UInt uiAbsPartIdx, UInt uiPartIdx, UInt uiDepth)
 
Void setCbfPartRange (UInt uiCbf, ComponentID compID, UInt uiAbsPartIdx, UInt uiCoveredPartIdxes)
 
Void bitwiseOrCbfPartRange (UInt uiCbf, ComponentID compID, UInt uiAbsPartIdx, UInt uiCoveredPartIdxes)
 
Void setMergeFlagSubParts (Bool bMergeFlag, UInt uiAbsPartIdx, UInt uiPartIdx, UInt uiDepth)
 
Void setMergeIndexSubParts (UInt uiMergeIndex, UInt uiAbsPartIdx, UInt uiPartIdx, UInt uiDepth)
 
template<typename T >
Void setSubPart (T bParameter, T *pbBaseCtu, UInt uiCUAddr, UInt uiCUDepth, UInt uiPUIdx)
 
Void setIntraDirSubParts (const ChannelType channelType, const UInt uiDir, const UInt uiAbsPartIdx, const UInt uiDepth)
 
Void setInterDirSubParts (UInt uiDir, UInt uiAbsPartIdx, UInt uiPartIdx, UInt uiDepth)
 
Void setIPCMFlagSubParts (Bool bIpcmFlag, UInt uiAbsPartIdx, UInt uiDepth)
 
Void getPartIndexAndSize (UInt uiPartIdx, UInt &ruiPartAddr, Int &riWidth, Int &riHeight)
 
UChar getNumPartitions (const UInt uiAbsPartIdx=0)
 
Bool isFirstAbsZorderIdxInDepth (UInt uiAbsPartIdx, UInt uiDepth)
 
Void getMvField (TComDataCU *pcCU, UInt uiAbsPartIdx, RefPicList eRefPicList, TComMvField &rcMvField)
 
Void fillMvpCand (UInt uiPartIdx, UInt uiPartAddr, RefPicList eRefPicList, Int iRefIdx, AMVPInfo *pInfo)
 
Bool isDiffMER (Int xN, Int yN, Int xP, Int yP)
 
Void getPartPosition (UInt partIdx, Int &xP, Int &yP, Int &nPSW, Int &nPSH)
 
Void setMVPIdxSubParts (Int iMVPIdx, RefPicList eRefPicList, UInt uiAbsPartIdx, UInt uiPartIdx, UInt uiDepth)
 
Void setMVPNumSubParts (Int iMVPNum, RefPicList eRefPicList, UInt uiAbsPartIdx, UInt uiPartIdx, UInt uiDepth)
 
Void clipMv (TComMv &rcMv)
 
Void compressMV ()
 
Bool CUIsFromSameTile (const TComDataCU *pCU) const
 
Bool CUIsFromSameSliceAndTile (const TComDataCU *pCU) const
 
Bool CUIsFromSameSliceTileAndWavefrontRow (const TComDataCU *pCU) const
 
Bool isLastSubCUOfCtu (const UInt absPartIdx)
 
TComDataCUgetPULeft (UInt &uiLPartUnitIdx, UInt uiCurrPartUnitIdx, Bool bEnforceSliceRestriction=true, Bool bEnforceTileRestriction=true)
 
TComDataCUgetPUAbove (UInt &uiAPartUnitIdx, UInt uiCurrPartUnitIdx, Bool bEnforceSliceRestriction=true, Bool planarAtCTUBoundary=false, Bool bEnforceTileRestriction=true)
 
TComDataCUgetPUAboveLeft (UInt &uiALPartUnitIdx, UInt uiCurrPartUnitIdx, Bool bEnforceSliceRestriction=true)
 
TComDataCUgetPUAboveRight (UInt &uiARPartUnitIdx, UInt uiCurrPartUnitIdx, Bool bEnforceSliceRestriction=true)
 
TComDataCUgetPUBelowLeft (UInt &uiBLPartUnitIdx, UInt uiCurrPartUnitIdx, Bool bEnforceSliceRestriction=true)
 
TComDataCUgetQpMinCuLeft (UInt &uiLPartUnitIdx, UInt uiCurrAbsIdxInCtu)
 
TComDataCUgetQpMinCuAbove (UInt &uiAPartUnitIdx, UInt uiCurrAbsIdxInCtu)
 
Char getRefQP (UInt uiCurrAbsIdxInCtu)
 
TComDataCUgetPUAboveRightAdi (UInt &uiARPartUnitIdx, UInt uiCurrPartUnitIdx, UInt uiPartUnitOffset=1, Bool bEnforceSliceRestriction=true)
 
TComDataCUgetPUBelowLeftAdi (UInt &uiBLPartUnitIdx, UInt uiCurrPartUnitIdx, UInt uiPartUnitOffset=1, Bool bEnforceSliceRestriction=true)
 
Void deriveLeftRightTopIdx (UInt uiPartIdx, UInt &ruiPartIdxLT, UInt &ruiPartIdxRT)
 
Void deriveLeftBottomIdx (UInt uiPartIdx, UInt &ruiPartIdxLB)
 
Void deriveLeftRightTopIdxAdi (UInt &ruiPartIdxLT, UInt &ruiPartIdxRT, UInt uiPartOffset, UInt uiPartDepth)
 
Void deriveLeftBottomIdxAdi (UInt &ruiPartIdxLB, UInt uiPartOffset, UInt uiPartDepth)
 
Bool hasEqualMotion (UInt uiAbsPartIdx, TComDataCU *pcCandCU, UInt uiCandAbsPartIdx)
 
Void getInterMergeCandidates (UInt uiAbsPartIdx, UInt uiPUIdx, TComMvField *pcMFieldNeighbours, UChar *puhInterDirNeighbours, Int &numValidMergeCand, Int mrgCandIdx=-1)
 Construct a list of merging candidates. More...
 
Void deriveLeftRightTopIdxGeneral (UInt uiAbsPartIdx, UInt uiPartIdx, UInt &ruiPartIdxLT, UInt &ruiPartIdxRT)
 
Void deriveLeftBottomIdxGeneral (UInt uiAbsPartIdx, UInt uiPartIdx, UInt &ruiPartIdxLB)
 
Bool isSkipped (UInt uiPartIdx)
 returns true, if the partiton is skipped More...
 
Bool isBipredRestriction (UInt puIdx)
 
UInt getIntraSizeIdx (UInt uiAbsPartIdx)
 
Void getAllowedChromaDir (UInt uiAbsPartIdx, UInt *uiModeList)
 
Void getIntraDirPredictor (UInt uiAbsPartIdx, Int uiIntraDirPred[NUM_MOST_PROBABLE_MODES], const ComponentID compID, Int *piMode=0)
 
UInt getCtxSplitFlag (UInt uiAbsPartIdx, UInt uiDepth)
 
UInt getCtxQtCbf (TComTU &rTu, const ChannelType chType)
 
UInt getCtxSkipFlag (UInt uiAbsPartIdx)
 
UInt getCtxInterDir (UInt uiAbsPartIdx)
 
UInt getCoefScanIdx (const UInt uiAbsPartIdx, const UInt uiWidth, const UInt uiHeight, const ComponentID compID) const
 

Detailed Description

CU data structure class.

Definition at line 64 of file TComDataCU.h.

Member Function Documentation

Bool TComDataCU::CUIsFromSameSlice ( const TComDataCU pCU) const
inline

Definition at line 400 of file TComDataCU.h.

TCoeff* TComDataCU::getArlCoeff ( ComponentID  component)
inline

Definition at line 299 of file TComDataCU.h.

UChar TComDataCU::getCbf ( UInt  uiIdx,
ComponentID  eType 
)
inline

Definition at line 303 of file TComDataCU.h.

UChar* TComDataCU::getCbf ( ComponentID  eType)
inline

Definition at line 304 of file TComDataCU.h.

UChar TComDataCU::getCbf ( UInt  uiIdx,
ComponentID  eType,
UInt  uiTrDepth 
)
inline

Definition at line 305 of file TComDataCU.h.

UChar* TComDataCU::getChromaQpAdj ( )
inline

array of chroma QP adjustments (indexed). when value = 0, cu_chroma_qp_offset_flag=0; when value>0, indicates cu_chroma_qp_offset_flag=1 and cu_chroma_qp_offset_idx=value-1

Definition at line 265 of file TComDataCU.h.

UChar TComDataCU::getChromaQpAdj ( Int  idx) const
inline

When value = 0, cu_chroma_qp_offset_flag=0; when value>0, indicates cu_chroma_qp_offset_flag=1 and cu_chroma_qp_offset_idx=value-1.

Definition at line 266 of file TComDataCU.h.

Char TComDataCU::getCodedChromaQpAdj ( )
inline

Definition at line 270 of file TComDataCU.h.

Char TComDataCU::getCodedQP ( )
inline

Definition at line 263 of file TComDataCU.h.

TCoeff* TComDataCU::getCoeff ( ComponentID  component)
inline

Definition at line 296 of file TComDataCU.h.

Char* TComDataCU::getCrossComponentPredictionAlpha ( ComponentID  compID)
inline

Definition at line 239 of file TComDataCU.h.

Char TComDataCU::getCrossComponentPredictionAlpha ( UInt  uiIdx,
ComponentID  compID 
)
inline

Definition at line 240 of file TComDataCU.h.

TComDataCU* TComDataCU::getCtuAbove ( )
inline

Definition at line 396 of file TComDataCU.h.

TComDataCU* TComDataCU::getCtuAboveLeft ( )
inline

Definition at line 397 of file TComDataCU.h.

TComDataCU* TComDataCU::getCtuAboveRight ( )
inline

Definition at line 398 of file TComDataCU.h.

TComDataCU* TComDataCU::getCtuLeft ( )
inline

Definition at line 395 of file TComDataCU.h.

UInt& TComDataCU::getCtuRsAddr ( )
inline

Definition at line 207 of file TComDataCU.h.

UInt TComDataCU::getCtuRsAddr ( ) const
inline

Definition at line 208 of file TComDataCU.h.

TComDataCU* TComDataCU::getCUColocated ( RefPicList  eRefPicList)
inline

Definition at line 399 of file TComDataCU.h.

TComCUMvField* TComDataCU::getCUMvField ( RefPicList  e)
inline

Definition at line 294 of file TComDataCU.h.

UInt TComDataCU::getCUPelX ( ) const
inline

Definition at line 210 of file TComDataCU.h.

UInt TComDataCU::getCUPelY ( ) const
inline

Definition at line 211 of file TComDataCU.h.

Bool* TComDataCU::getCUTransquantBypass ( )
inline

Definition at line 242 of file TComDataCU.h.

Bool TComDataCU::getCUTransquantBypass ( UInt  uiIdx)
inline

Definition at line 243 of file TComDataCU.h.

UChar* TComDataCU::getDepth ( )
inline

Definition at line 213 of file TComDataCU.h.

UChar TComDataCU::getDepth ( UInt  uiIdx) const
inline

Definition at line 214 of file TComDataCU.h.

UChar* TComDataCU::getExplicitRdpcmMode ( ComponentID  component)
inline

Definition at line 283 of file TComDataCU.h.

UChar TComDataCU::getExplicitRdpcmMode ( ComponentID  component,
UInt  partIdx 
)
inline

Definition at line 284 of file TComDataCU.h.

UChar* TComDataCU::getHeight ( )
inline

Definition at line 249 of file TComDataCU.h.

UChar TComDataCU::getHeight ( UInt  uiIdx)
inline

Definition at line 250 of file TComDataCU.h.

UChar* TComDataCU::getInterDir ( )
inline

Definition at line 346 of file TComDataCU.h.

UChar TComDataCU::getInterDir ( UInt  uiIdx)
inline

Definition at line 347 of file TComDataCU.h.

UChar* TComDataCU::getIntraDir ( const ChannelType  channelType) const
inline

Definition at line 338 of file TComDataCU.h.

UChar TComDataCU::getIntraDir ( const ChannelType  channelType,
const UInt  uiIdx 
) const
inline

Definition at line 339 of file TComDataCU.h.

Bool* TComDataCU::getIPCMFlag ( )
inline

Definition at line 350 of file TComDataCU.h.

Bool TComDataCU::getIPCMFlag ( UInt  uiIdx)
inline

Definition at line 351 of file TComDataCU.h.

Bool TComDataCU::getMergeAMP ( )
inline

Definition at line 335 of file TComDataCU.h.

Bool* TComDataCU::getMergeFlag ( )
inline

Definition at line 321 of file TComDataCU.h.

Bool TComDataCU::getMergeFlag ( UInt  uiIdx)
inline

Definition at line 322 of file TComDataCU.h.

UChar* TComDataCU::getMergeIndex ( )
inline

Definition at line 326 of file TComDataCU.h.

UChar TComDataCU::getMergeIndex ( UInt  uiIdx)
inline

Definition at line 327 of file TComDataCU.h.

Int TComDataCU::getMVPIdx ( RefPicList  eRefPicList,
UInt  uiIdx 
)
inline

Definition at line 374 of file TComDataCU.h.

Char* TComDataCU::getMVPIdx ( RefPicList  eRefPicList)
inline

Definition at line 375 of file TComDataCU.h.

Int TComDataCU::getMVPNum ( RefPicList  eRefPicList,
UInt  uiIdx 
)
inline

Definition at line 378 of file TComDataCU.h.

Char* TComDataCU::getMVPNum ( RefPicList  eRefPicList)
inline

Definition at line 379 of file TComDataCU.h.

Void TComDataCU::getMvPredAbove ( TComMv rcMvPred)
inline

Definition at line 386 of file TComDataCU.h.

Void TComDataCU::getMvPredAboveRight ( TComMv rcMvPred)
inline

Definition at line 387 of file TComDataCU.h.

Void TComDataCU::getMvPredLeft ( TComMv rcMvPred)
inline

Definition at line 385 of file TComDataCU.h.

Char* TComDataCU::getPartitionSize ( )
inline

Definition at line 223 of file TComDataCU.h.

PartSize TComDataCU::getPartitionSize ( UInt  uiIdx)
inline

Definition at line 224 of file TComDataCU.h.

Pel* TComDataCU::getPCMSample ( ComponentID  component)
inline

Definition at line 301 of file TComDataCU.h.

TComPic* TComDataCU::getPic ( )
inline

Definition at line 203 of file TComDataCU.h.

const TComPic* TComDataCU::getPic ( ) const
inline

Definition at line 204 of file TComDataCU.h.

Char* TComDataCU::getPredictionMode ( )
inline

Definition at line 234 of file TComDataCU.h.

PredMode TComDataCU::getPredictionMode ( UInt  uiIdx)
inline

Definition at line 235 of file TComDataCU.h.

Char* TComDataCU::getQP ( )
inline

Definition at line 255 of file TComDataCU.h.

Char TComDataCU::getQP ( UInt  uiIdx) const
inline

Definition at line 256 of file TComDataCU.h.

Bool* TComDataCU::getSkipFlag ( )
inline

Definition at line 229 of file TComDataCU.h.

Bool TComDataCU::getSkipFlag ( UInt  idx)
inline

Definition at line 230 of file TComDataCU.h.

TComSlice* TComDataCU::getSlice ( )
inline

Definition at line 205 of file TComDataCU.h.

const TComSlice* TComDataCU::getSlice ( ) const
inline

Definition at line 206 of file TComDataCU.h.

UInt& TComDataCU::getTotalBins ( )
inline

Definition at line 467 of file TComDataCU.h.

UInt& TComDataCU::getTotalBits ( )
inline

Definition at line 474 of file TComDataCU.h.

Double& TComDataCU::getTotalCost ( )
inline

Definition at line 472 of file TComDataCU.h.

Distortion& TComDataCU::getTotalDistortion ( )
inline

Definition at line 473 of file TComDataCU.h.

UInt& TComDataCU::getTotalNumPart ( )
inline

Definition at line 475 of file TComDataCU.h.

UChar* TComDataCU::getTransformIdx ( )
inline

Definition at line 274 of file TComDataCU.h.

UChar TComDataCU::getTransformIdx ( UInt  uiIdx)
inline

Definition at line 275 of file TComDataCU.h.

UChar* TComDataCU::getTransformSkip ( ComponentID  compID)
inline

Definition at line 278 of file TComDataCU.h.

UChar TComDataCU::getTransformSkip ( UInt  uiIdx,
ComponentID  compID 
)
inline

Definition at line 279 of file TComDataCU.h.

UChar* TComDataCU::getWidth ( )
inline

Definition at line 245 of file TComDataCU.h.

UChar TComDataCU::getWidth ( UInt  uiIdx)
inline

Definition at line 246 of file TComDataCU.h.

UInt TComDataCU::getZorderIdxInCtu ( ) const
inline

Definition at line 209 of file TComDataCU.h.

Bool TComDataCU::isInter ( UInt  uiPartIdx) const
inline

Definition at line 444 of file TComDataCU.h.

Bool TComDataCU::isIntra ( UInt  uiPartIdx) const
inline

Definition at line 443 of file TComDataCU.h.

Bool TComDataCU::isRDPCMEnabled ( UInt  uiAbsPartIdx)
inline

Definition at line 287 of file TComDataCU.h.

Void TComDataCU::setCbf ( UInt  uiIdx,
ComponentID  eType,
UChar  uh 
)
inline

Definition at line 306 of file TComDataCU.h.

Void TComDataCU::setChromaQpAdj ( Int  idx,
UChar  val 
)
inline

When val = 0, cu_chroma_qp_offset_flag=0; when val>0, indicates cu_chroma_qp_offset_flag=1 and cu_chroma_qp_offset_idx=val-1.

Definition at line 267 of file TComDataCU.h.

Void TComDataCU::setCodedChromaQpAdj ( Char  qp)
inline

Definition at line 269 of file TComDataCU.h.

Void TComDataCU::setCodedQP ( Char  qp)
inline

Definition at line 262 of file TComDataCU.h.

Void TComDataCU::setDepth ( UInt  uiIdx,
UChar  uh 
)
inline

Definition at line 215 of file TComDataCU.h.

Void TComDataCU::setHeight ( UInt  uiIdx,
UChar  uh 
)
inline

Definition at line 251 of file TComDataCU.h.

Void TComDataCU::setInterDir ( UInt  uiIdx,
UChar  uh 
)
inline

Definition at line 348 of file TComDataCU.h.

Void TComDataCU::setIPCMFlag ( UInt  uiIdx,
Bool  b 
)
inline

Definition at line 352 of file TComDataCU.h.

Void TComDataCU::setMergeAMP ( Bool  b)
inline

Definition at line 334 of file TComDataCU.h.

Void TComDataCU::setMergeFlag ( UInt  uiIdx,
Bool  b 
)
inline

Definition at line 323 of file TComDataCU.h.

Void TComDataCU::setMergeIndex ( UInt  uiIdx,
UInt  uiMergeIndex 
)
inline

Definition at line 328 of file TComDataCU.h.

Void TComDataCU::setMVPIdx ( RefPicList  eRefPicList,
UInt  uiIdx,
Int  iMVPIdx 
)
inline

Definition at line 373 of file TComDataCU.h.

Void TComDataCU::setMVPNum ( RefPicList  eRefPicList,
UInt  uiIdx,
Int  iMVPNum 
)
inline

Definition at line 377 of file TComDataCU.h.

Void TComDataCU::setPartitionSize ( UInt  uiIdx,
PartSize  uh 
)
inline

Definition at line 225 of file TComDataCU.h.

Void TComDataCU::setPredictionMode ( UInt  uiIdx,
PredMode  uh 
)
inline

Definition at line 236 of file TComDataCU.h.

Void TComDataCU::setQP ( UInt  uiIdx,
Char  value 
)
inline

Definition at line 257 of file TComDataCU.h.

Void TComDataCU::setSkipFlag ( UInt  idx,
Bool  skip 
)
inline

Definition at line 231 of file TComDataCU.h.

Void TComDataCU::setWidth ( UInt  uiIdx,
UChar  uh 
)
inline

Definition at line 247 of file TComDataCU.h.

Member Data Documentation

UInt TComDataCU::m_absZIdxInCtu
private

absolute address in a CTU. It's Z scan order

Definition at line 80 of file TComDataCU.h.

TComCUMvField TComDataCU::m_acCUMvField[NUM_REF_PIC_LIST_01]
private

array of motion vectors.

Definition at line 104 of file TComDataCU.h.

TComDataCU* TComDataCU::m_apcCUColocated[NUM_REF_PIC_LIST_01]
private

pointer of temporally colocated CU's for both directions

Definition at line 122 of file TComDataCU.h.

Char* TComDataCU::m_apiMVPIdx[NUM_REF_PIC_LIST_01]
private

array of motion vector predictor candidates

Definition at line 139 of file TComDataCU.h.

Char* TComDataCU::m_apiMVPNum[NUM_REF_PIC_LIST_01]
private

array of number of possible motion vectors predictors

Definition at line 140 of file TComDataCU.h.

Bool TComDataCU::m_ArlCoeffIsAliasedAllocation
private

ARL coefficient buffer is an alias of the global buffer and must not be free()'d.

Definition at line 109 of file TComDataCU.h.

Bool TComDataCU::m_bDecSubCu
private

indicates decoder-mode

Definition at line 147 of file TComDataCU.h.

Bool TComDataCU::m_bIsMergeAMP
private

Definition at line 135 of file TComDataCU.h.

UChar* TComDataCU::m_ChromaQpAdj
private

array of chroma QP adjustments (indexed). when value = 0, cu_chroma_qp_offset_flag=0; when value>0, indicates cu_chroma_qp_offset_flag=1 and cu_chroma_qp_offset_idx=value-1

Definition at line 99 of file TComDataCU.h.

TComMvField TComDataCU::m_cMvFieldA
private

motion vector of position A

Definition at line 123 of file TComDataCU.h.

TComMvField TComDataCU::m_cMvFieldB
private

motion vector of position B

Definition at line 124 of file TComDataCU.h.

TComMvField TComDataCU::m_cMvFieldC
private

motion vector of position C

Definition at line 125 of file TComDataCU.h.

TComMv TComDataCU::m_cMvPred
private

motion vector predictor

Definition at line 126 of file TComDataCU.h.

UInt TComDataCU::m_codedChromaQpAdj
private

Definition at line 100 of file TComDataCU.h.

Char TComDataCU::m_codedQP
private

Definition at line 152 of file TComDataCU.h.

Char* TComDataCU::m_crossComponentPredictionAlpha[MAX_NUM_COMPONENT]
private

array of cross-component prediction alpha values

Definition at line 96 of file TComDataCU.h.

UInt TComDataCU::m_ctuRsAddr
private

CTU (also known as LCU) address in a slice (Raster-scan address, as opposed to tile-scan/encoding order).

Definition at line 79 of file TComDataCU.h.

Bool* TComDataCU::m_CUTransquantBypass
private

array of cu_transquant_bypass flags

Definition at line 97 of file TComDataCU.h.

Double TComDataCU::m_dTotalCost
private

sum of partition RD costs

Definition at line 148 of file TComDataCU.h.

UChar* TComDataCU::m_explicitRdpcmMode[MAX_NUM_COMPONENT]
private

Stores the explicit RDPCM mode for all TUs belonging to this CU.

Definition at line 153 of file TComDataCU.h.

Bool* TComDataCU::m_pbIPCMFlag
private

array of intra_pcm flags

Definition at line 141 of file TComDataCU.h.

Bool* TComDataCU::m_pbMergeFlag
private

array of merge flags

Definition at line 132 of file TComDataCU.h.

TCoeff* TComDataCU::m_pcArlCoeff[MAX_NUM_COMPONENT]
private

Definition at line 107 of file TComDataCU.h.

Pel* TComDataCU::m_pcIPCMSample[MAX_NUM_COMPONENT]
private

PCM sample buffer (0->Y, 1->Cb, 2->Cr)

Definition at line 112 of file TComDataCU.h.

TComPic* TComDataCU::m_pcPic
private

picture class pointer

Definition at line 72 of file TComDataCU.h.

TComSlice* TComDataCU::m_pcSlice
private

slice header pointer

Definition at line 73 of file TComDataCU.h.

TCoeff* TComDataCU::m_pcTrCoeff[MAX_NUM_COMPONENT]
private

array of transform coefficient buffers (0->Y, 1->Cb, 2->Cr)

Definition at line 105 of file TComDataCU.h.

TComDataCU* TComDataCU::m_pCtuAbove
private

pointer of above CTU.

Definition at line 120 of file TComDataCU.h.

TComDataCU* TComDataCU::m_pCtuAboveLeft
private

pointer of above-left CTU.

Definition at line 118 of file TComDataCU.h.

TComDataCU* TComDataCU::m_pCtuAboveRight
private

pointer of above-right CTU.

Definition at line 119 of file TComDataCU.h.

TComDataCU* TComDataCU::m_pCtuLeft
private

pointer of left CTU

Definition at line 121 of file TComDataCU.h.

Char* TComDataCU::m_pePartSize
private

array of partition sizes

Definition at line 94 of file TComDataCU.h.

Char* TComDataCU::m_pePredMode
private

array of prediction modes

Definition at line 95 of file TComDataCU.h.

Char* TComDataCU::m_phQP
private

array of QP values

Definition at line 98 of file TComDataCU.h.

UChar* TComDataCU::m_puhCbf[MAX_NUM_COMPONENT]
private

array of coded block flags (CBF)

Definition at line 103 of file TComDataCU.h.

UChar* TComDataCU::m_puhDepth
private

array of depths

Definition at line 86 of file TComDataCU.h.

UChar* TComDataCU::m_puhHeight
private

array of heights

Definition at line 85 of file TComDataCU.h.

UChar* TComDataCU::m_puhInterDir
private

array of inter directions

Definition at line 138 of file TComDataCU.h.

UChar* TComDataCU::m_puhIntraDir[MAX_NUM_CHANNEL_TYPE]
private

Definition at line 137 of file TComDataCU.h.

UChar* TComDataCU::m_puhMergeIndex
private

array of merge candidate indices

Definition at line 133 of file TComDataCU.h.

UChar* TComDataCU::m_puhTransformSkip[MAX_NUM_COMPONENT]
private

array of transform skipping flags

Definition at line 102 of file TComDataCU.h.

UChar* TComDataCU::m_puhTrIdx
private

array of transform indices

Definition at line 101 of file TComDataCU.h.

UChar* TComDataCU::m_puhWidth
private

array of widths

Definition at line 84 of file TComDataCU.h.

Bool* TComDataCU::m_skipFlag
private

array of skip flags

Definition at line 93 of file TComDataCU.h.

UInt TComDataCU::m_uiCUPelX
private

CU position in a pixel (X)

Definition at line 81 of file TComDataCU.h.

UInt TComDataCU::m_uiCUPelY
private

CU position in a pixel (Y)

Definition at line 82 of file TComDataCU.h.

UInt TComDataCU::m_uiNumPartition
private

total number of minimum partitions in a CU

Definition at line 83 of file TComDataCU.h.

UInt TComDataCU::m_uiTotalBins
private

sum of partition bins

Definition at line 151 of file TComDataCU.h.

UInt TComDataCU::m_uiTotalBits
private

sum of partition bits

Definition at line 150 of file TComDataCU.h.

Distortion TComDataCU::m_uiTotalDistortion
private

sum of partition distortion

Definition at line 149 of file TComDataCU.h.

Int TComDataCU::m_unitSize
private

size of a "minimum partition"

Definition at line 87 of file TComDataCU.h.


The documentation for this class was generated from the following files: