Changeset 1412 in 3DVCSoftware for branches/HTM-16.2-dev/source/Lib/TLibCommon/TComPrediction.h
- Timestamp:
- 12 Apr 2018, 11:12:21 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-16.2-dev/source/Lib/TLibCommon/TComPrediction.h
r1405 r1412 4 4 * granted under this license. 5 5 * 6 * Copyright (c) 2010-201 6, ITU/ISO/IEC6 * Copyright (c) 2010-2017, ITU/ISO/IEC 7 7 * All rights reserved. 8 8 * … … 45 45 #include "TComWeightPrediction.h" 46 46 47 #if NH_3D _ARP47 #if NH_3D 48 48 #include "TComPic.h" 49 49 #endif … … 80 80 TComYuv m_acYuvPred[NUM_REF_PIC_LIST_01]; 81 81 TComYuv m_cYuvPredTemp; 82 #if NH_3D _ARP82 #if NH_3D 83 83 TComYuv m_acYuvPredBase[2]; 84 84 #endif … … 90 90 Pel* m_pLumaRecBuffer; ///< array for downsampled reconstructed luma sample 91 91 Int m_iLumaRecStride; ///< stride of #m_pLumaRecBuffer array 92 #if NH_3D _IC92 #if NH_3D 93 93 UInt m_uiaShift[ 64 ]; // Table for multiplication to substitue of division operation 94 #endif95 96 #if NH_3D_VSP97 94 Int* m_pDepthBlock; ///< Store a depth block, local variable, to prevent memory allocation every time 98 95 TComYuv m_cYuvDepthOnVsp; … … 102 99 103 100 // motion compensation functions 104 #if NH_3D _ARP101 #if NH_3D 105 102 Void xPredInterUniARP ( TComDataCU* pcCU, UInt uiPartAddr, Int iWidth, Int iHeight, RefPicList eRefPicList, TComYuv*& rpcYuvPred, Bool bi ); 106 103 Void xPredInterUniARPviewRef ( TComDataCU* pcCU, UInt uiPartAddr, Int iWidth, Int iHeight, RefPicList eRefPicList, TComYuv*& rpcYuvPred, Bool bi ); … … 110 107 Void xPredInterUni ( TComDataCU* pcCU, UInt uiPartAddr, Int iWidth, Int iHeight, RefPicList eRefPicList, TComYuv* pcYuvPred, Bool bi=false ); 111 108 Void xPredInterBi ( TComDataCU* pcCU, UInt uiPartAddr, Int iWidth, Int iHeight, TComYuv* pcYuvPred ); 112 #if NH_3D _VSP109 #if NH_3D 113 110 Void xPredInterUniVSP ( TComDataCU* pcCU, UInt uiPartAddr, Int iWidth, Int iHeight, RefPicList eRefPicList, TComYuv*& rpcYuvPred, Bool bi=false ); 114 111 Void xPredInterBiVSP ( TComDataCU* pcCU, UInt uiPartAddr, Int iWidth, Int iHeight, TComYuv*& rpcYuvPred ); 112 Void xPredInterBlk(const ComponentID compID, TComDataCU *cu, TComPicYuv *refPic, UInt partAddr, TComMv *mv, Int width, Int height, TComYuv *dstPic, Bool bi, const Int bitDepth, Bool filterType = false, Bool bICFlag = false ); 113 #else 114 Void xPredInterBlk(const ComponentID compID, TComDataCU *cu, TComPicYuv *refPic, UInt partAddr, TComMv *mv, Int width, Int height, TComYuv *dstPic, Bool bi, const Int bitDepth ); 115 115 #endif 116 116 117 117 #if NH_3D 118 Void xPredInterBlk(const ComponentID compID, TComDataCU *cu, TComPicYuv *refPic, UInt partAddr, TComMv *mv, Int width, Int height, TComYuv *dstPic, Bool bi, const Int bitDepth119 #if NH_3D_ARP120 , Bool filterType = false121 #endif122 #if NH_3D_IC123 , Bool bICFlag = false124 #endif125 );126 #else127 Void xPredInterBlk(const ComponentID compID, TComDataCU *cu, TComPicYuv *refPic, UInt partAddr, TComMv *mv, Int width, Int height, TComYuv *dstPic, Bool bi, const Int bitDepth );128 #endif129 #if NH_3D_VSP130 118 Void xPredInterUniSubPU ( TComDataCU *cu, UInt uiPartAddr, Int iWidth, Int iHeight, RefPicList eRefPicList, TComYuv*& rpcYuvPred, Bool bi, Int widthSubPU=4, Int heightSubPU=4 ); 131 119 #endif … … 134 122 135 123 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) ); 136 #if NH_3D _IC124 #if NH_3D 137 125 Void xGetLLSICPrediction( const ComponentID compID, TComDataCU* pcCU, TComMv *pMv, TComPicYuv *pRefPic, Int &a, Int &b, const Int bitDepth); 138 126 #endif 139 127 Void xDCPredFiltering( const Pel* pSrc, Int iSrcStride, Pel* pDst, Int iDstStride, Int iWidth, Int iHeight, ChannelType channelType ); 140 128 Bool xCheckIdenticalMotion ( TComDataCU* pcCU, UInt PartAddr); 141 #if NH_3D _SPIVMP129 #if NH_3D 142 130 Bool xCheckTwoSPMotion ( TComDataCU* pcCU, UInt PartAddr0, UInt PartAddr1 ); 143 131 Void xGetSubPUAddrAndMerge(TComDataCU* pcCU, UInt uiPartAddr, Int iSPWidth, Int iSPHeight, Int iNumSPInOneLine, Int iNumSP, UInt* uiMergedSPW, UInt* uiMergedSPH, UInt* uiSPAddr ); … … 164 152 165 153 Pel predIntraGetPredValDC ( const Pel* pSrc, Int iSrcStride, UInt iWidth, UInt iHeight); 166 #if NH_3D _DMM154 #if NH_3D 167 155 Void predIntraLumaDmm ( TComDataCU* pcCU, UInt uiAbsPartIdx, DmmID dmmType, Pel* piPred, UInt uiStride, Int iWidth, Int iHeight ); 168 156 Void predContourFromTex ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiWidth, UInt uiHeight, Bool* segPattern ); 169 157 Void predBiSegDCs ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiWidth, UInt uiHeight, Bool* biSegPattern, Int patternStride, Pel& predDC1, Pel& predDC2 ); 170 158 Void assignBiSegDCs ( Pel* ptrDst, UInt dstStride, Bool* biSegPattern, Int patternStride, Pel valDC1, Pel valDC2 ); 171 #endif172 #if NH_3D_SDC_INTRA173 159 Void predConstantSDC ( Pel* ptrSrc, UInt srcStride, UInt uiSize, Pel& predDC ); 174 #endif175 176 #if NH_3D_DBBP177 160 PartSize getPartitionSizeFromDepth(Pel* pDepthPels, UInt uiDepthStride, UInt uiSize, TComDataCU*& pcCU); 178 161 Bool getSegmentMaskFromDepth( Pel* pDepthPels, UInt uiDepthStride, UInt uiWidth, UInt uiHeight, Bool* pMask, TComDataCU*& pcCU); 179 162 Void combineSegmentsWithMask( TComYuv* pInYuv[2], TComYuv* pOutYuv, Bool* pMask, UInt uiWidth, UInt uiHeight, UInt uiPartAddr, UInt partSize, Int bitDepthY ); 180 #endif181 #if NH_3D182 163 Pel predIntraGetPredValDC ( const Pel* pSrc, Int iSrcStride, UInt iWidth, UInt iHeight, Bool bAbove, Bool bLeft ); 183 164 #endif … … 197 178 198 179 static Bool UseDPCMForFirstPassIntraEstimation(TComTU &rTu, const UInt uiDirMode); 180 181 #if MCTS_ENC_CHECK 182 Bool checkTMctsMvp(TComDataCU* pcCU, Int partIdx = -1); 183 #endif 199 184 }; 200 185
Note: See TracChangeset for help on using the changeset viewer.