HEVC Test Model (HM)  HM-16.18
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
TComWeightPrediction Class Reference

weighting prediction class More...

#include <TComWeightPrediction.h>

Inheritance diagram for TComWeightPrediction:
Inheritance graph
[legend]

Public Member Functions

 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...
 

Detailed Description

weighting prediction class

Definition at line 52 of file TComWeightPrediction.h.

Constructor & Destructor Documentation

TComWeightPrediction::TComWeightPrediction ( )

Definition at line 72 of file TComWeightPrediction.cpp.

Member Function Documentation

Void TComWeightPrediction::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

Definition at line 78 of file TComWeightPrediction.cpp.

Void TComWeightPrediction::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

Definition at line 144 of file TComWeightPrediction.cpp.

Void TComWeightPrediction::getWpScaling ( TComDataCU *const  pcCU,
const Int  iRefIdx0,
const Int  iRefIdx1,
WPScalingParam *&  wp0,
WPScalingParam *&  wp1 
)

derivation of wp tables

Definition at line 247 of file TComWeightPrediction.cpp.

Void TComWeightPrediction::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

Definition at line 326 of file TComWeightPrediction.cpp.

Void TComWeightPrediction::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

Definition at line 363 of file TComWeightPrediction.cpp.


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