HEVC Test Model (HM)
HM-16.18
|
weighting prediction class More...
#include <TComWeightPrediction.h>
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... | |
weighting prediction class
Definition at line 52 of file TComWeightPrediction.h.
TComWeightPrediction::TComWeightPrediction | ( | ) |
Definition at line 72 of file TComWeightPrediction.cpp.
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.