Ignore:
Timestamp:
15 Jul 2015, 14:57:32 (9 years ago)
Author:
tech
Message:

Merged 14.1-update-dev2@1277.

Location:
branches/HTM-14.1-update-dev1
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-14.1-update-dev1

  • branches/HTM-14.1-update-dev1/source/Lib/TLibCommon/TComPrediction.h

    r1243 r1279  
    4545#include "TComWeightPrediction.h"
    4646
     47#if NH_3D_ARP
     48#include "TComPic.h"
     49#endif
    4750// forward declaration
    4851class TComMv;
     
    7780  TComYuv   m_acYuvPred[NUM_REF_PIC_LIST_01];
    7881  TComYuv   m_cYuvPredTemp;
    79 #if H_3D_ARP
     82#if NH_3D_ARP
    8083  TComYuv   m_acYuvPredBase[2];
    8184#endif
     
    8790  Pel*   m_pLumaRecBuffer;       ///< array for downsampled reconstructed luma sample
    8891  Int    m_iLumaRecStride;       ///< stride of #m_pLumaRecBuffer array
    89 #if H_3D_IC
     92#if NH_3D_IC
    9093  UInt   m_uiaShift[ 64 ];       // Table for multiplication to substitue of division operation
    9194#endif
    9295
    93 #if H_3D_VSP
     96#if NH_3D_VSP
    9497  Int*    m_pDepthBlock;         ///< Store a depth block, local variable, to prevent memory allocation every time
    9598  TComYuv m_cYuvDepthOnVsp;
     
    100103
    101104  // motion compensation functions
    102 #if H_3D_ARP
    103   Void xPredInterUniARP         ( TComDataCU* pcCU,                          UInt uiPartAddr,               Int iWidth, Int iHeight, RefPicList eRefPicList, TComYuv*& rpcYuvPred, Bool bi=false, TComMvField * pNewMvFiled = NULL );
     105#if NH_3D_ARP
     106  Void xPredInterUniARP         ( TComDataCU* pcCU,                          UInt uiPartAddr,               Int iWidth, Int iHeight, RefPicList eRefPicList, TComYuv*& rpcYuvPred, Bool bi );
     107  Void xPredInterUniARPviewRef  ( TComDataCU* pcCU,                          UInt uiPartAddr,               Int iWidth, Int iHeight, RefPicList eRefPicList, TComYuv*& rpcYuvPred, Bool bi );
    104108  Bool xCheckBiInterviewARP     ( TComDataCU* pcCU, UInt uiPartAddr, Int iWidth, Int iHeight, RefPicList eBaseRefPicList, TComPic*& pcPicYuvCurrTRef, TComMv& cBaseTMV, Int& iCurrTRefPoc );
    105   Void xPredInterUniARPviewRef( TComDataCU* pcCU, UInt uiPartAddr, Int iWidth, Int iHeight, RefPicList eRefPicList, TComYuv*& rpcYuvPred, Bool bi, TComMvField * pNewMvFiled = NULL );
    106109#endif
    107110
    108111  Void xPredInterUni            ( TComDataCU* pcCU,                          UInt uiPartAddr,               Int iWidth, Int iHeight, RefPicList eRefPicList, TComYuv* pcYuvPred, Bool bi=false          );
    109112  Void xPredInterBi             ( TComDataCU* pcCU,                          UInt uiPartAddr,               Int iWidth, Int iHeight,                         TComYuv* pcYuvPred          );
    110 #if H_3D_VSP
     113#if NH_3D_VSP
    111114  Void xPredInterUniVSP         ( TComDataCU* pcCU,                          UInt uiPartAddr,               Int iWidth, Int iHeight, RefPicList eRefPicList, TComYuv*& rpcYuvPred, Bool bi=false          );
    112115  Void xPredInterBiVSP          ( TComDataCU* pcCU,                          UInt uiPartAddr,               Int iWidth, Int iHeight,                         TComYuv*& rpcYuvPred );
     
    114117
    115118  Void xPredInterBlk(const ComponentID compID, TComDataCU *cu, TComPicYuv *refPic, UInt partAddr, TComMv *mv, Int width, Int height, TComYuv *dstPic, Bool bi, const Int bitDepth
    116 #if H_3D_ARP
     119#if NH_3D_ARP
    117120    , Bool filterType = false
    118121#endif
    119 #if H_3D_IC
     122#if NH_3D_IC
    120123    , Bool bICFlag    = false
    121124#endif
    122125 );
    123126
    124 #if H_3D_ARP
    125     , Bool filterType = false
    126 #endif
    127 #if H_3D_IC
    128     , Bool bICFlag    = false
    129 #endif
    130 #if H_3D_VSP
     127#if NH_3D_VSP
    131128  Void xPredInterUniSubPU        ( TComDataCU *cu, UInt uiPartAddr, Int iWidth, Int iHeight, RefPicList eRefPicList, TComYuv*& rpcYuvPred, Bool bi, Int widthSubPU=4, Int heightSubPU=4 );
    132129#endif
     
    135132
    136133  Void xGetLLSPrediction ( const Pel* pSrc0, Int iSrcStride, Pel* pDst0, Int iDstStride, UInt uiWidth, UInt uiHeight, UInt uiExt0, const ChromaFormat chFmt  DEBUG_STRING_FN_DECLARE(sDebug) );
    137 #if H_3D_IC
    138   Void xGetLLSICPrediction( TComDataCU* pcCU, TComMv *pMv, TComPicYuv *pRefPic, Int &a, Int &b, TextType eType );
     134#if NH_3D_IC
     135  Void xGetLLSICPrediction( const ComponentID compID, TComDataCU* pcCU, TComMv *pMv, TComPicYuv *pRefPic, Int &a, Int &b, const Int bitDepth);
    139136#endif
    140137  Void xDCPredFiltering( const Pel* pSrc, Int iSrcStride, Pel* pDst, Int iDstStride, Int iWidth, Int iHeight, ChannelType channelType );
    141138  Bool xCheckIdenticalMotion    ( TComDataCU* pcCU, UInt PartAddr);
    142 #if H_3D_SPIVMP
     139#if NH_3D_SPIVMP
    143140  Bool xCheckTwoSPMotion ( TComDataCU* pcCU, UInt PartAddr0, UInt PartAddr1 );
    144141  Void xGetSubPUAddrAndMerge(TComDataCU* pcCU, UInt uiPartAddr, Int iSPWidth, Int iSPHeight, Int iNumSPInOneLine, Int iNumSP, UInt* uiMergedSPW, UInt* uiMergedSPH, UInt* uiSPAddr );
     
    174171#endif
    175172 
    176 #if H_3D_DBBP
     173#if NH_3D_DBBP
    177174  PartSize      getPartitionSizeFromDepth(Pel* pDepthPels, UInt uiDepthStride, UInt uiSize, TComDataCU*& pcCU);
    178175  Bool          getSegmentMaskFromDepth( Pel* pDepthPels, UInt uiDepthStride, UInt uiWidth, UInt uiHeight, Bool* pMask, TComDataCU*& pcCU);
    179   Void          combineSegmentsWithMask( TComYuv* pInYuv[2], TComYuv* pOutYuv, Bool* pMask, UInt uiWidth, UInt uiHeight, UInt uiPartAddr, UInt partSize );
     176  Void          combineSegmentsWithMask( TComYuv* pInYuv[2], TComYuv* pOutYuv, Bool* pMask, UInt uiWidth, UInt uiHeight, UInt uiPartAddr, UInt partSize, Int bitDepthY );
    180177#endif
    181178
Note: See TracChangeset for help on using the changeset viewer.