Ignore:
Timestamp:
13 Aug 2015, 17:38:13 (9 years ago)
Author:
tech
Message:

Merged 14.1-update-dev1@1312.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/Lib/TLibCommon/TComWeightPrediction.h

    r1179 r1313  
    22 * License, included below. This software may be subject to other third party
    33 * and contributor rights, including patent rights, and no such rights are
    4  * granted under this license. 
     4 * granted under this license.
    55 *
    6 * Copyright (c) 2010-2015, ITU/ISO/IEC
     6 * Copyright (c) 2010-2015, ITU/ISO/IEC
    77 * All rights reserved.
    88 *
     
    3939#define __TCOMWEIGHTPREDICTION__
    4040
     41#include "CommonDef.h"
    4142
    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
     44class  TComDataCU;
     45class  TComYuv;
     46struct WPScalingParam;
    4847
    4948// ====================================================================================================================
     
    5655  TComWeightPrediction();
    5756
    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);
    5962
    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 );
    6273
    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 );
    65100};
    66101
    67 #endif 
     102#endif
Note: See TracChangeset for help on using the changeset viewer.