Changeset 608 in 3DVCSoftware for trunk/source/Lib/TLibEncoder/WeightPredAnalysis.h
- Timestamp:
- 1 Sep 2013, 22:47:26 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibEncoder/WeightPredAnalysis.h
r56 r608 4 4 * granted under this license. 5 5 * 6 * Copyright (c) 2010-201 2, ITU/ISO/IEC6 * Copyright (c) 2010-2013, ITU/ISO/IEC 7 7 * All rights reserved. 8 8 * … … 32 32 */ 33 33 34 /** \file Weight edPredAnalysis.h35 \brief encoder class34 /** \file WeightPredAnalysis.h 35 \brief weighted prediction encoder class 36 36 */ 37 37 #ifndef __WEIGHTPREDANALYSIS__ … … 45 45 { 46 46 Bool m_weighted_pred_flag; 47 Int m_weighted_bipred_idc;47 Bool m_weighted_bipred_flag; 48 48 wpScalingParam m_wp[2][MAX_NUM_REF][3]; 49 49 … … 56 56 Int64 xCalcDCValue(Pel *pPel, Int iWidth, Int iHeight, Int iStride); 57 57 Int64 xCalcACValue(Pel *pPel, Int iWidth, Int iHeight, Int iStride, Int64 iDC); 58 Int64 xCalcSADvalueWP( Pel *pOrgPel, Pel *pRefPel, Int iWidth, Int iHeight, Int iOrgStride, Int iRefStride, Int iDenom, Int iWeight, Int iOffset);58 Int64 xCalcSADvalueWP(Int bitDepth, Pel *pOrgPel, Pel *pRefPel, Int iWidth, Int iHeight, Int iOrgStride, Int iRefStride, Int iDenom, Int iWeight, Int iOffset); 59 59 Bool xSelectWP(TComSlice *slice, wpScalingParam weightPredTable[2][MAX_NUM_REF][3], Int iDenom); 60 Bool xUpdatingWPParameters(TComSlice *slice, wpScalingParam weightPredTable[2][MAX_NUM_REF][3], Int log2Denom); 60 61 61 62 public: … … 66 67 Bool xCalcACDCParamSlice(TComSlice *slice); 67 68 Bool xEstimateWPParamSlice(TComSlice *slice); 68 69 Void xStoreWPparam(Bool weighted_pred_flag, Int weighted_bipred_idc); 69 Void xStoreWPparam(Bool weighted_pred_flag, Bool weighted_bipred_flag); 70 70 Void xRestoreWPparam(TComSlice *slice); 71 71 Void xCheckWPEnable(TComSlice *slice);
Note: See TracChangeset for help on using the changeset viewer.