Changeset 1279 in 3DVCSoftware for branches/HTM-14.1-update-dev1/source/Lib/TLibCommon/TComPrediction.h
- Timestamp:
- 15 Jul 2015, 14:57:32 (9 years ago)
- 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 45 45 #include "TComWeightPrediction.h" 46 46 47 #if NH_3D_ARP 48 #include "TComPic.h" 49 #endif 47 50 // forward declaration 48 51 class TComMv; … … 77 80 TComYuv m_acYuvPred[NUM_REF_PIC_LIST_01]; 78 81 TComYuv m_cYuvPredTemp; 79 #if H_3D_ARP82 #if NH_3D_ARP 80 83 TComYuv m_acYuvPredBase[2]; 81 84 #endif … … 87 90 Pel* m_pLumaRecBuffer; ///< array for downsampled reconstructed luma sample 88 91 Int m_iLumaRecStride; ///< stride of #m_pLumaRecBuffer array 89 #if H_3D_IC92 #if NH_3D_IC 90 93 UInt m_uiaShift[ 64 ]; // Table for multiplication to substitue of division operation 91 94 #endif 92 95 93 #if H_3D_VSP96 #if NH_3D_VSP 94 97 Int* m_pDepthBlock; ///< Store a depth block, local variable, to prevent memory allocation every time 95 98 TComYuv m_cYuvDepthOnVsp; … … 100 103 101 104 // 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 ); 104 108 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 );106 109 #endif 107 110 108 111 Void xPredInterUni ( TComDataCU* pcCU, UInt uiPartAddr, Int iWidth, Int iHeight, RefPicList eRefPicList, TComYuv* pcYuvPred, Bool bi=false ); 109 112 Void xPredInterBi ( TComDataCU* pcCU, UInt uiPartAddr, Int iWidth, Int iHeight, TComYuv* pcYuvPred ); 110 #if H_3D_VSP113 #if NH_3D_VSP 111 114 Void xPredInterUniVSP ( TComDataCU* pcCU, UInt uiPartAddr, Int iWidth, Int iHeight, RefPicList eRefPicList, TComYuv*& rpcYuvPred, Bool bi=false ); 112 115 Void xPredInterBiVSP ( TComDataCU* pcCU, UInt uiPartAddr, Int iWidth, Int iHeight, TComYuv*& rpcYuvPred ); … … 114 117 115 118 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_ARP119 #if NH_3D_ARP 117 120 , Bool filterType = false 118 121 #endif 119 #if H_3D_IC122 #if NH_3D_IC 120 123 , Bool bICFlag = false 121 124 #endif 122 125 ); 123 126 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 131 128 Void xPredInterUniSubPU ( TComDataCU *cu, UInt uiPartAddr, Int iWidth, Int iHeight, RefPicList eRefPicList, TComYuv*& rpcYuvPred, Bool bi, Int widthSubPU=4, Int heightSubPU=4 ); 132 129 #endif … … 135 132 136 133 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_IC138 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); 139 136 #endif 140 137 Void xDCPredFiltering( const Pel* pSrc, Int iSrcStride, Pel* pDst, Int iDstStride, Int iWidth, Int iHeight, ChannelType channelType ); 141 138 Bool xCheckIdenticalMotion ( TComDataCU* pcCU, UInt PartAddr); 142 #if H_3D_SPIVMP139 #if NH_3D_SPIVMP 143 140 Bool xCheckTwoSPMotion ( TComDataCU* pcCU, UInt PartAddr0, UInt PartAddr1 ); 144 141 Void xGetSubPUAddrAndMerge(TComDataCU* pcCU, UInt uiPartAddr, Int iSPWidth, Int iSPHeight, Int iNumSPInOneLine, Int iNumSP, UInt* uiMergedSPW, UInt* uiMergedSPH, UInt* uiSPAddr ); … … 174 171 #endif 175 172 176 #if H_3D_DBBP173 #if NH_3D_DBBP 177 174 PartSize getPartitionSizeFromDepth(Pel* pDepthPels, UInt uiDepthStride, UInt uiSize, TComDataCU*& pcCU); 178 175 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 ); 180 177 #endif 181 178
Note: See TracChangeset for help on using the changeset viewer.