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

#include <TComPrediction.h>

Inheritance diagram for TComPrediction:
Inheritance graph
[legend]
Collaboration diagram for TComPrediction:
Collaboration graph
[legend]

Public Member Functions

ChromaFormat getChromaFormat () const
 
PelgetPredictorPtr (const ComponentID compID, const Bool bUseFilteredPredictions)
 
- Public Member Functions inherited from TComWeightPrediction
 TComWeightPrediction ()
 
Void getWpScaling (TComDataCU *const pcCU, const Int iRefIdx0, const Int iRefIdx1, WPScalingParam *&wp0, WPScalingParam *&wp1)
 derivation of wp tables More...
 
Void addWeightBi (const TComYuv *pcYuvSrc0, const TComYuv *pcYuvSrc1, const UInt iPartUnitIdx, const UInt uiWidth, const UInt uiHeight, const WPScalingParam *const wp0, const WPScalingParam *const wp1, TComYuv *const rpcYuvDst, const Bool bRoundLuma=true)
 weighted averaging for bi-pred More...
 
Void addWeightUni (const TComYuv *const pcYuvSrc0, const UInt iPartUnitIdx, const UInt uiWidth, const UInt uiHeight, const WPScalingParam *const wp0, TComYuv *const rpcYuvDst)
 weighted averaging for uni-pred More...
 
Void xWeightedPredictionUni (TComDataCU *const pcCU, const TComYuv *const pcYuvSrc, const UInt uiPartAddr, const Int iWidth, const Int iHeight, const RefPicList eRefPicList, TComYuv *pcYuvPred, const Int iRefIdx=-1)
 weighted prediction for uni-pred More...
 
Void xWeightedPredictionBi (TComDataCU *const pcCU, const TComYuv *const pcYuvSrc0, const TComYuv *const pcYuvSrc1, const Int iRefIdx0, const Int iRefIdx1, const UInt uiPartIdx, const Int iWidth, const Int iHeight, TComYuv *pcYuvDst)
 weighted prediction for bi-pred More...
 

Protected Member Functions

Void xGetLLSPrediction (const Pel *pSrc0, Int iSrcStride, Pel *pDst0, Int iDstStride, UInt uiWidth, UInt uiHeight, UInt uiExt0, const ChromaFormat chFmt)
 

Protected Attributes

Pelm_piYuvExt [MAX_NUM_COMPONENT][NUM_PRED_BUF]
 
Int m_iYuvExtSize
 
TComYuv m_acYuvPred [NUM_REF_PIC_LIST_01]
 
TComYuv m_cYuvPredTemp
 
TComYuv m_filteredBlock [4][4]
 
TComYuv m_filteredBlockTmp [4]
 
TComInterpolationFilter m_if
 
Pelm_pLumaRecBuffer
 array for downsampled reconstructed luma sample More...
 
Int m_iLumaRecStride
 stride of m_pLumaRecBuffer array More...
 
Void initAdiPatternChType (TComTU &rTu, Bool &bAbove, Bool &bLeft, const ComponentID compID, const Bool bFilterRefSamples)
 set parameters from CU data for accessing ADI data More...
 
static Bool filteringIntraReferenceSamples (const ComponentID compID, UInt uiDirMode, UInt uiTuChWidth, UInt uiTuChHeight, const ChromaFormat chFmt, const Bool intraReferenceSmoothingDisabled)
 
static const UChar m_aucIntraFilter [MAX_NUM_CHANNEL_TYPE][MAX_INTRA_FILTER_DEPTHS]
 
Void xPredIntraAng (Int bitDepth, const Pel *pSrc, Int srcStride, Pel *pDst, Int dstStride, UInt width, UInt height, ChannelType channelType, ChromaFormat format, UInt dirMode, Bool blkAboveAvailable, Bool blkLeftAvailable, const Bool bEnableEdgeFilters)
 
Void xPredIntraPlanar (const Pel *pSrc, Int srcStride, Pel *rpDst, Int dstStride, UInt width, UInt height, ChannelType channelType, ChromaFormat format)
 
Void xPredInterUni (TComDataCU *pcCU, UInt uiPartAddr, Int iWidth, Int iHeight, RefPicList eRefPicList, TComYuv *pcYuvPred, Bool bi=false)
 
Void xPredInterBi (TComDataCU *pcCU, UInt uiPartAddr, Int iWidth, Int iHeight, TComYuv *pcYuvPred)
 
Void xPredInterBlk (const ComponentID compID, TComDataCU *cu, TComPicYuv *refPic, UInt partAddr, TComMv *mv, Int width, Int height, TComYuv *dstPic, Bool bi)
 Generate motion-compensated block. More...
 
Void xWeightedAverage (TComYuv *pcYuvSrc0, TComYuv *pcYuvSrc1, Int iRefIdx0, Int iRefIdx1, UInt uiPartAddr, Int iWidth, Int iHeight, TComYuv *pcYuvDst)
 
Void xDCPredFiltering (const Pel *pSrc, Int iSrcStride, Pel *pDst, Int iDstStride, Int iWidth, Int iHeight, ChannelType channelType)
 
Bool xCheckIdenticalMotion (TComDataCU *pcCU, UInt PartAddr)
 
Void destroy ()
 
 TComPrediction ()
 
virtual ~TComPrediction ()
 
Void initTempBuff (ChromaFormat chromaFormatIDC)
 
Void motionCompensation (TComDataCU *pcCU, TComYuv *pcYuvPred, RefPicList eRefPicList=REF_PIC_LIST_X, Int iPartIdx=-1)
 
Void getMvPredAMVP (TComDataCU *pcCU, UInt uiPartIdx, UInt uiPartAddr, RefPicList eRefPicList, TComMv &rcMvPred)
 
Void predIntraAng (const ComponentID compID, UInt uiDirMode, Pel *piOrg, UInt uiOrgStride, Pel *piPred, UInt uiStride, TComTU &rTu, Bool bAbove, Bool bLeft, const Bool bUseFilteredPredSamples, const Bool bUseLosslessDPCM=false)
 
Pel predIntraGetPredValDC (const Pel *pSrc, Int iSrcStride, UInt iWidth, UInt iHeight, ChannelType channelType, ChromaFormat format, Bool bAbove, Bool bLeft)
 
static Bool UseDPCMForFirstPassIntraEstimation (TComTU &rTu, const UInt uiDirMode)
 

Detailed Description

Definition at line 68 of file TComPrediction.h.

Member Function Documentation

Bool TComPrediction::filteringIntraReferenceSamples ( const ComponentID  compID,
UInt  uiDirMode,
UInt  uiTuChWidth,
UInt  uiTuChHeight,
const ChromaFormat  chFmt,
const Bool  intraReferenceSmoothingDisabled 
)
static

Definition at line 523 of file TComPattern.cpp.

ChromaFormat TComPrediction::getChromaFormat ( ) const
inline

Definition at line 108 of file TComPrediction.h.

Pel* TComPrediction::getPredictorPtr ( const ComponentID  compID,
const Bool  bUseFilteredPredictions 
)
inline

Definition at line 121 of file TComPrediction.h.

Void TComPrediction::initAdiPatternChType ( TComTU rTu,
Bool bAbove,
Bool bLeft,
const ComponentID  compID,
const Bool  bFilterRefSamples 
)

set parameters from CU data for accessing ADI data

Definition at line 104 of file TComPattern.cpp.

Void TComPrediction::xGetLLSPrediction ( const Pel pSrc0,
Int  iSrcStride,
Pel pDst0,
Int  iDstStride,
UInt  uiWidth,
UInt  uiHeight,
UInt  uiExt0,
const ChromaFormat  chFmt 
)
protected

Member Data Documentation

TComYuv TComPrediction::m_acYuvPred[NUM_REF_PIC_LIST_01]
protected

Definition at line 77 of file TComPrediction.h.

TComYuv TComPrediction::m_cYuvPredTemp
protected

Definition at line 78 of file TComPrediction.h.

TComYuv TComPrediction::m_filteredBlock[4][4]
protected

Definition at line 79 of file TComPrediction.h.

TComYuv TComPrediction::m_filteredBlockTmp[4]
protected

Definition at line 80 of file TComPrediction.h.

TComInterpolationFilter TComPrediction::m_if
protected

Definition at line 82 of file TComPrediction.h.

Int TComPrediction::m_iLumaRecStride
protected

stride of m_pLumaRecBuffer array

Definition at line 85 of file TComPrediction.h.

Int TComPrediction::m_iYuvExtSize
protected

Definition at line 75 of file TComPrediction.h.

Pel* TComPrediction::m_piYuvExt[MAX_NUM_COMPONENT][NUM_PRED_BUF]
protected

Definition at line 74 of file TComPrediction.h.

Pel* TComPrediction::m_pLumaRecBuffer
protected

array for downsampled reconstructed luma sample

Definition at line 84 of file TComPrediction.h.


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