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

#include <WeightPredAnalysis.h>

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

Public Member Functions

 WeightPredAnalysis ()
 
Void xCalcACDCParamSlice (TComSlice *const slice)
 calculate AC and DC values for current original image More...
 
Void xEstimateWPParamSlice (TComSlice *const slice)
 estimate wp tables for explicit wp More...
 
Void xCheckWPEnable (TComSlice *const slice)
 check weighted pred or non-weighted pred More...
 

Private Member Functions

Bool xSelectWP (TComSlice *const slice, const Int log2Denom)
 select whether weighted pred enables or not. More...
 
Bool xUpdatingWPParameters (TComSlice *const slice, const Int log2Denom)
 update wp tables for explicit wp w.r.t range limitation More...
 
Int64 xCalcSADvalueWP (const Int bitDepth, const Pel *pOrgPel, const Pel *pRefPel, const Int iWidth, const Int iHeight, const Int iOrgStride, const Int iRefStride, const Int iLog2Denom, const Int iWeight, const Int iOffset, const Bool useHighPrecisionPredictionWeighting)
 calculate SAD values for both WP version and non-WP version. More...
 

Private Attributes

WPScalingParam m_wp [NUM_REF_PIC_LIST_01][16][MAX_NUM_COMPONENT]
 

Detailed Description

Definition at line 44 of file WeightPredAnalysis.h.

Constructor & Destructor Documentation

WeightPredAnalysis::WeightPredAnalysis ( )

Definition at line 47 of file WeightPredAnalysis.cpp.

Member Function Documentation

Void WeightPredAnalysis::xCalcACDCParamSlice ( TComSlice *const  slice)

calculate AC and DC values for current original image

Definition at line 67 of file WeightPredAnalysis.cpp.

Int64 WeightPredAnalysis::xCalcSADvalueWP ( const Int  bitDepth,
const Pel pOrgPel,
const Pel pRefPel,
const Int  iWidth,
const Int  iHeight,
const Int  iOrgStride,
const Int  iRefStride,
const Int  iLog2Denom,
const Int  iWeight,
const Int  iOffset,
const Bool  useHighPrecisionPredictionWeighting 
)
private

calculate SAD values for both WP version and non-WP version.

Definition at line 323 of file WeightPredAnalysis.cpp.

Void WeightPredAnalysis::xCheckWPEnable ( TComSlice *const  slice)

check weighted pred or non-weighted pred

Definition at line 124 of file WeightPredAnalysis.cpp.

Void WeightPredAnalysis::xEstimateWPParamSlice ( TComSlice *const  slice)

estimate wp tables for explicit wp

Definition at line 172 of file WeightPredAnalysis.cpp.

Bool WeightPredAnalysis::xSelectWP ( TComSlice *const  slice,
const Int  log2Denom 
)
private

select whether weighted pred enables or not.

Definition at line 271 of file WeightPredAnalysis.cpp.

Bool WeightPredAnalysis::xUpdatingWPParameters ( TComSlice *const  slice,
const Int  log2Denom 
)
private

update wp tables for explicit wp w.r.t range limitation

Definition at line 200 of file WeightPredAnalysis.cpp.

Member Data Documentation

WPScalingParam WeightPredAnalysis::m_wp[NUM_REF_PIC_LIST_01][16][MAX_NUM_COMPONENT]
private

Definition at line 49 of file WeightPredAnalysis.h.


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