Changeset 1313 in 3DVCSoftware for trunk/source/Lib/TLibCommon/TComWeightPrediction.h
- Timestamp:
- 13 Aug 2015, 17:38:13 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibCommon/TComWeightPrediction.h
r1179 r1313 2 2 * License, included below. This software may be subject to other third party 3 3 * and contributor rights, including patent rights, and no such rights are 4 * granted under this license. 4 * granted under this license. 5 5 * 6 * Copyright (c) 2010-2015, ITU/ISO/IEC6 * Copyright (c) 2010-2015, ITU/ISO/IEC 7 7 * All rights reserved. 8 8 * … … 39 39 #define __TCOMWEIGHTPREDICTION__ 40 40 41 #include "CommonDef.h" 41 42 42 // Include files 43 #include "TComPic.h" 44 #include "TComMotionInfo.h" 45 #include "TComPattern.h" 46 #include "TComTrQuant.h" 47 #include "TComInterpolationFilter.h" 43 // forward declarations 44 class TComDataCU; 45 class TComYuv; 46 struct WPScalingParam; 48 47 49 48 // ==================================================================================================================== … … 56 55 TComWeightPrediction(); 57 56 58 Void getWpScaling( TComDataCU* pcCU, Int iRefIdx0, Int iRefIdx1, wpScalingParam *&wp0 , wpScalingParam *&wp1); 57 Void getWpScaling( TComDataCU *const pcCU, 58 const Int iRefIdx0, 59 const Int iRefIdx1, 60 WPScalingParam *&wp0, 61 WPScalingParam *&wp1); 59 62 60 Void addWeightBi( TComYuv* pcYuvSrc0, TComYuv* pcYuvSrc1, UInt iPartUnitIdx, UInt iWidth, UInt iHeight, wpScalingParam *wp0, wpScalingParam *wp1, TComYuv* rpcYuvDst, Bool bRound=true ); 61 Void addWeightUni( TComYuv* pcYuvSrc0, UInt iPartUnitIdx, UInt iWidth, UInt iHeight, wpScalingParam *wp0, TComYuv* rpcYuvDst ); 63 Void addWeightBi( const TComYuv *pcYuvSrc0, 64 const TComYuv *pcYuvSrc1, 65 const BitDepths &bitDepths, 66 const UInt iPartUnitIdx, 67 const UInt uiWidth, 68 const UInt uiHeight, 69 const WPScalingParam *const wp0, 70 const WPScalingParam *const wp1, 71 TComYuv *const rpcYuvDst, 72 const Bool bRoundLuma=true ); 62 73 63 Void xWeightedPredictionUni( TComDataCU* pcCU, TComYuv* pcYuvSrc, UInt uiPartAddr, Int iWidth, Int iHeight, RefPicList eRefPicList, TComYuv*& rpcYuvPred, Int iRefIdx=-1 ); 64 Void xWeightedPredictionBi( TComDataCU* pcCU, TComYuv* pcYuvSrc0, TComYuv* pcYuvSrc1, Int iRefIdx0, Int iRefIdx1, UInt uiPartIdx, Int iWidth, Int iHeight, TComYuv* rpcYuvDst ); 74 Void addWeightUni( const TComYuv *const pcYuvSrc0, 75 const BitDepths &bitDepths, 76 const UInt iPartUnitIdx, 77 const UInt uiWidth, 78 const UInt uiHeight, 79 const WPScalingParam *const wp0, 80 TComYuv *const rpcYuvDst ); 81 82 Void xWeightedPredictionUni( TComDataCU *const pcCU, 83 const TComYuv *const pcYuvSrc, 84 const UInt uiPartAddr, 85 const Int iWidth, 86 const Int iHeight, 87 const RefPicList eRefPicList, 88 TComYuv *pcYuvPred, 89 const Int iRefIdx=-1 ); 90 91 Void xWeightedPredictionBi( TComDataCU *const pcCU, 92 const TComYuv *const pcYuvSrc0, 93 const TComYuv *const pcYuvSrc1, 94 const Int iRefIdx0, 95 const Int iRefIdx1, 96 const UInt uiPartIdx, 97 const Int iWidth, 98 const Int iHeight, 99 TComYuv *pcYuvDst ); 65 100 }; 66 101 67 #endif 102 #endif
Note: See TracChangeset for help on using the changeset viewer.