HEVC Test Model (HM)  HM-16.18
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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, const WeightedPredictionMethod method)
 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 xSelectWPHistExtClip (TComSlice *const slice, const Int log2Denom, const Bool bDoEnhancement, const Bool bClipInitialSADWP, const Bool bUseHistogram)
 
Bool xUpdatingWPParameters (TComSlice *const slice, const Int log2Denom)
 update wp tables for explicit wp w.r.t range limitation More...
 

Private Attributes

WPScalingParam m_wp [NUM_REF_PIC_LIST_01][MAX_NUM_REF][MAX_NUM_COMPONENT]
 

Detailed Description

Definition at line 44 of file WeightPredAnalysis.h.

Constructor & Destructor Documentation

WeightPredAnalysis::WeightPredAnalysis ( )

Definition at line 226 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 246 of file WeightPredAnalysis.cpp.

Void WeightPredAnalysis::xCheckWPEnable ( TComSlice *const  slice)

check weighted pred or non-weighted pred

Definition at line 303 of file WeightPredAnalysis.cpp.

Void WeightPredAnalysis::xEstimateWPParamSlice ( TComSlice *const  slice,
const WeightedPredictionMethod  method 
)

estimate wp tables for explicit wp

Definition at line 351 of file WeightPredAnalysis.cpp.

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

select whether weighted pred enables or not.

Definition at line 593 of file WeightPredAnalysis.cpp.

Bool WeightPredAnalysis::xSelectWPHistExtClip ( TComSlice *const  slice,
const Int  log2Denom,
const Bool  bDoEnhancement,
const Bool  bClipInitialSADWP,
const Bool  bUseHistogram 
)
private

select whether weighted pred enables or not.

Parameters
TComSlice*slice
log2Denom
Returns
Bool

Definition at line 475 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 399 of file WeightPredAnalysis.cpp.

Member Data Documentation

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

Definition at line 49 of file WeightPredAnalysis.h.


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