HEVC Test Model (HM)  HM-16.18
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 BitDepths &bitDepths, 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 BitDepths &bitDepths, 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 [LUMA_INTERPOLATION_FILTER_SUB_SAMPLE_POSITIONS][LUMA_INTERPOLATION_FILTER_SUB_SAMPLE_POSITIONS]
 
TComYuv m_filteredBlockTmp [LUMA_INTERPOLATION_FILTER_SUB_SAMPLE_POSITIONS]
 
TComInterpolationFilter m_if
 
Pelm_pLumaRecBuffer
 array for downsampled reconstructed luma sample More...
 
Int m_iLumaRecStride
 stride of m_pLumaRecBuffer array More...
 
Void initIntraPatternChType (TComTU &rTu, const ComponentID compID, const Bool bFilterRefSamples)
 set parameters from CU data for accessing intra 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, UInt dirMode, const Bool bEnableEdgeFilters)
 
Void xPredIntraPlanar (const Pel *pSrc, Int srcStride, Pel *rpDst, Int dstStride, UInt width, UInt height)
 
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, const Int bitDepth)
 Generate motion-compensated block. More...
 
Void xWeightedAverage (TComYuv *pcYuvSrc0, TComYuv *pcYuvSrc1, Int iRefIdx0, Int iRefIdx1, UInt uiPartAddr, Int iWidth, Int iHeight, TComYuv *pcYuvDst, const BitDepths &clipBitDepths)
 
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, const Bool bUseFilteredPredSamples, const Bool bUseLosslessDPCM=false)
 
Pel predIntraGetPredValDC (const Pel *pSrc, Int iSrcStride, UInt iWidth, UInt iHeight)
 
Bool checkTMctsMvp (TComDataCU *pcCU, Int partIdx=-1)
 
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 545 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::initIntraPatternChType ( TComTU rTu,
const ComponentID  compID,
const Bool  bFilterRefSamples 
)

set parameters from CU data for accessing intra data

Definition at line 119 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.

Definition at line 79 of file TComPrediction.h.

TComYuv TComPrediction::m_filteredBlockTmp[LUMA_INTERPOLATION_FILTER_SUB_SAMPLE_POSITIONS]
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: