HEVC Test Model (HM)  HM-16.18
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
TComRdCostWeightPrediction.cpp File Reference

RD cost computation class with Weighted-Prediction. More...

#include <math.h>
#include <assert.h>
#include "TComRdCost.h"
#include "TComRdCostWeightPrediction.h"
Include dependency graph for TComRdCostWeightPrediction.cpp:

Go to the source code of this file.

Functions

static Distortion xCalcHADs2x2w (const WPScalingParam &wpCur, const Pel *piOrg, const Pel *piCur, Int iStrideOrg, Int iStrideCur, Int iStep)
 get weighted Hadamard cost for 2x2 block More...
 
static Distortion xCalcHADs4x4w (const WPScalingParam &wpCur, const Pel *piOrg, const Pel *piCur, Int iStrideOrg, Int iStrideCur, Int iStep)
 get weighted Hadamard cost for 4x4 block More...
 
static Distortion xCalcHADs8x8w (const WPScalingParam &wpCur, const Pel *piOrg, const Pel *piCur, Int iStrideOrg, Int iStrideCur, Int iStep)
 get weighted Hadamard cost for 8x8 block More...
 

Detailed Description

RD cost computation class with Weighted-Prediction.

Definition in file TComRdCostWeightPrediction.cpp.

Function Documentation

Distortion xCalcHADs2x2w ( const WPScalingParam wpCur,
const Pel piOrg,
const Pel piCurr,
Int  iStrideOrg,
Int  iStrideCur,
Int  iStep 
)
static

get weighted Hadamard cost for 2x2 block

Definition at line 279 of file TComRdCostWeightPrediction.cpp.

Distortion xCalcHADs4x4w ( const WPScalingParam wpCur,
const Pel piOrg,
const Pel piCurr,
Int  iStrideOrg,
Int  iStrideCur,
Int  iStep 
)
static

get weighted Hadamard cost for 4x4 block

Definition at line 316 of file TComRdCostWeightPrediction.cpp.

Distortion xCalcHADs8x8w ( const WPScalingParam wpCur,
const Pel piOrg,
const Pel piCurr,
Int  iStrideOrg,
Int  iStrideCur,
Int  iStep 
)
static

get weighted Hadamard cost for 8x8 block

Definition at line 425 of file TComRdCostWeightPrediction.cpp.