[5] | 1 | /* The copyright in this software is being made available under the BSD |
---|
| 2 | * License, included below. This software may be subject to other third party |
---|
| 3 | * and contributor rights, including patent rights, and no such rights are |
---|
[56] | 4 | * granted under this license. |
---|
[5] | 5 | * |
---|
[56] | 6 | * Copyright (c) 2010-2012, ITU/ISO/IEC |
---|
[5] | 7 | * All rights reserved. |
---|
| 8 | * |
---|
| 9 | * Redistribution and use in source and binary forms, with or without |
---|
| 10 | * modification, are permitted provided that the following conditions are met: |
---|
| 11 | * |
---|
| 12 | * * Redistributions of source code must retain the above copyright notice, |
---|
| 13 | * this list of conditions and the following disclaimer. |
---|
| 14 | * * Redistributions in binary form must reproduce the above copyright notice, |
---|
| 15 | * this list of conditions and the following disclaimer in the documentation |
---|
| 16 | * and/or other materials provided with the distribution. |
---|
[56] | 17 | * * Neither the name of the ITU/ISO/IEC nor the names of its contributors may |
---|
[5] | 18 | * be used to endorse or promote products derived from this software without |
---|
| 19 | * specific prior written permission. |
---|
| 20 | * |
---|
| 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
---|
| 22 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
---|
| 23 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
---|
| 24 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS |
---|
| 25 | * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
---|
| 26 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
---|
| 27 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
---|
| 28 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
---|
| 29 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
---|
| 30 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF |
---|
| 31 | * THE POSSIBILITY OF SUCH DAMAGE. |
---|
| 32 | */ |
---|
[2] | 33 | |
---|
| 34 | /** \file TComPrediction.h |
---|
| 35 | \brief prediction class (header) |
---|
| 36 | */ |
---|
| 37 | |
---|
| 38 | #ifndef __TCOMPREDICTION__ |
---|
| 39 | #define __TCOMPREDICTION__ |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | // Include files |
---|
| 43 | #include "TComPic.h" |
---|
| 44 | #include "TComMotionInfo.h" |
---|
| 45 | #include "TComPattern.h" |
---|
| 46 | #include "TComTrQuant.h" |
---|
[56] | 47 | #include "TComInterpolationFilter.h" |
---|
| 48 | #include "TComWeightPrediction.h" |
---|
| 49 | |
---|
| 50 | #if HHI_DMM_WEDGE_INTRA || HHI_DMM_PRED_TEX |
---|
| 51 | #include <math.h> |
---|
[2] | 52 | #endif |
---|
| 53 | |
---|
[56] | 54 | //! \ingroup TLibCommon |
---|
| 55 | //! \{ |
---|
| 56 | |
---|
[2] | 57 | // ==================================================================================================================== |
---|
| 58 | // Class definition |
---|
| 59 | // ==================================================================================================================== |
---|
| 60 | |
---|
| 61 | /// prediction class |
---|
[56] | 62 | class TComPrediction : public TComWeightPrediction |
---|
[2] | 63 | { |
---|
| 64 | protected: |
---|
| 65 | Int* m_piYuvExt; |
---|
| 66 | Int m_iYuvExtStride; |
---|
| 67 | Int m_iYuvExtHeight; |
---|
| 68 | |
---|
| 69 | TComYuv m_acYuvPred[2]; |
---|
| 70 | TComYuv m_cYuvPredTemp; |
---|
[56] | 71 | TComYuv m_filteredBlock[4][4]; |
---|
| 72 | TComYuv m_filteredBlockTmp[4]; |
---|
[2] | 73 | |
---|
[56] | 74 | TComInterpolationFilter m_if; |
---|
| 75 | |
---|
| 76 | Pel* m_pLumaRecBuffer; ///< array for downsampled reconstructed luma sample |
---|
| 77 | Int m_iLumaRecStride; ///< stride of #m_pLumaRecBuffer array |
---|
| 78 | UInt m_uiaShift[ 63 ]; // Table for multiplication to substitue of division operation |
---|
[2] | 79 | |
---|
[296] | 80 | #if MERL_VSP_C0152 |
---|
| 81 | Int* m_pDepth; ///< Local variable, to store a depth block, just to prevent allocate memory every time |
---|
| 82 | #endif |
---|
| 83 | |
---|
[56] | 84 | Void xPredIntraAng ( Int* pSrc, Int srcStride, Pel*& rpDst, Int dstStride, UInt width, UInt height, UInt dirMode, Bool blkAboveAvailable, Bool blkLeftAvailable, Bool bFilter ); |
---|
| 85 | Void xPredIntraPlanar ( Int* pSrc, Int srcStride, Pel* rpDst, Int dstStride, UInt width, UInt height ); |
---|
[2] | 86 | |
---|
| 87 | // motion compensation functions |
---|
[5] | 88 | #if DEPTH_MAP_GENERATION |
---|
[296] | 89 | #if MERL_VSP_C0152 |
---|
| 90 | Void xPredInterUni ( TComDataCU* pcCU, UInt uiPartAddr, UInt uiAbsPartIdx, Int iWidth, Int iHeight, RefPicList eRefPicList, TComYuv*& rpcYuvPred, Int iPartIdx, Bool bPrdDepthMap, UInt uiSubSampExpX = 0, UInt uiSubSampExpY = 0, Bool bi=false ); |
---|
| 91 | #else |
---|
[21] | 92 | Void xPredInterUni ( TComDataCU* pcCU, UInt uiPartAddr, Int iWidth, Int iHeight, RefPicList eRefPicList, TComYuv*& rpcYuvPred, Int iPartIdx, Bool bPrdDepthMap, UInt uiSubSampExpX = 0, UInt uiSubSampExpY = 0, Bool bi=false ); |
---|
[296] | 93 | #endif |
---|
[2] | 94 | #else |
---|
[296] | 95 | #if MERL_VSP_C0152 |
---|
| 96 | Void xPredInterUni ( TComDataCU* pcCU, UInt uiPartAddr, UInt uiAbsPartIdx, Int iWidth, Int iHeight, RefPicList eRefPicList, TComYuv*& rpcYuvPred, Int iPartIdx, Bool bi=false ); |
---|
| 97 | #else |
---|
[56] | 98 | Void xPredInterUni ( TComDataCU* pcCU, UInt uiPartAddr, Int iWidth, Int iHeight, RefPicList eRefPicList, TComYuv*& rpcYuvPred, Int iPartIdx, Bool bi=false ); |
---|
[5] | 99 | #endif |
---|
[296] | 100 | #endif |
---|
[56] | 101 | |
---|
[5] | 102 | #if DEPTH_MAP_GENERATION |
---|
[296] | 103 | #if MERL_VSP_C0152 |
---|
| 104 | Void xPredInterBi ( TComDataCU* pcCU, UInt uiPartAddr, UInt uiAbsPartIdx, Int iWidth, Int iHeight, UInt uiSubSampExpX, UInt uiSubSampExpY, TComYuv*& rpcYuvPred, Int iPartIdx, Bool bPrdDepthMap ); |
---|
| 105 | #else |
---|
[21] | 106 | Void xPredInterBi ( TComDataCU* pcCU, UInt uiPartAddr, Int iWidth, Int iHeight, UInt uiSubSampExpX, UInt uiSubSampExpY, TComYuv*& rpcYuvPred, Int iPartIdx, Bool bPrdDepthMap ); |
---|
[296] | 107 | #endif |
---|
| 108 | Void xPredInterPrdDepthMap ( TComDataCU* pcCU, TComPicYuv* pcPicYuvRef, UInt uiPartAddr, TComMv* pcMv, Int iWidth, Int iHeight, UInt uiSubSampExpX, UInt uiSubSampExpY, TComYuv*& rpcYuv, UInt uiRShift, UInt uiOffset |
---|
| 109 | #if LGE_ILLUCOMP_DEPTH_C0046 |
---|
| 110 | , Bool bICFlag = false |
---|
| 111 | #endif |
---|
| 112 | ); |
---|
[21] | 113 | #else |
---|
[296] | 114 | #if MERL_VSP_C0152 |
---|
| 115 | Void xPredInterBi ( TComDataCU* pcCU, UInt uiPartAddr, UInt uiAbsPartIdx, Int iWidth, Int iHeight, TComYuv*& rpcYuvPred, Int iPartIdx ); |
---|
| 116 | #else |
---|
[56] | 117 | Void xPredInterBi ( TComDataCU* pcCU, UInt uiPartAddr, Int iWidth, Int iHeight, TComYuv*& rpcYuvPred, Int iPartIdx ); |
---|
[296] | 118 | #endif |
---|
[56] | 119 | Void xPredInterPrdDepthMap ( TComDataCU* pcCU, TComPicYuv* pcPicYuvRef, UInt uiPartAddr, TComMv* pcMv, Int iWidth, Int iHeight, TComYuv*& rpcYuv, UInt uiRShift, UInt uiOffset ); |
---|
[21] | 120 | #endif |
---|
[296] | 121 | #if MERL_VSP_C0152 |
---|
| 122 | Void xPredInterUniBWVSP ( TComDataCU* pcCU, UInt uiPartAddr, UInt uiAbsPartIdx, Int iWidth, Int iHeight, RefPicList eRefPicList, TComYuv*& rpcYuvPred, Int iPartIdx, Bool bPrdDepthMap, UInt uiSubSampExpX, UInt uiSubSampExpY, Bool bi=false ); |
---|
| 123 | Void xPredInterBiBWVSP ( TComDataCU* pcCU, UInt uiPartAddr, UInt uiAbsPartIdx, Int iWidth, Int iHeight, UInt uiSubSampExpX, UInt uiSubSampExpY, TComYuv*& rpcYuvPred, Int iPartIdx, Bool bPrdDepthMap ); |
---|
| 124 | #endif |
---|
[56] | 125 | |
---|
[21] | 126 | #if DEPTH_MAP_GENERATION |
---|
| 127 | Void xWeightedAveragePdm ( TComDataCU* pcCU, TComYuv* pcYuvSrc0, TComYuv* pcYuvSrc1, Int iRefIdx0, Int iRefIdx1, UInt uiPartAddr, Int iWidth, Int iHeight, TComYuv*& rpcYuvDst, UInt uiSubSampExpX, UInt uiSubSampExpY ); |
---|
| 128 | #endif |
---|
[56] | 129 | |
---|
[189] | 130 | #if LGE_ILLUCOMP_B0045 |
---|
| 131 | Void xPredInterLumaBlk ( TComDataCU *cu, TComPicYuv *refPic, UInt partAddr, TComMv *mv, Int width, Int height, TComYuv *&dstPic, Bool bi, Bool bICFlag = false ); |
---|
| 132 | Void xPredInterChromaBlk( TComDataCU *cu, TComPicYuv *refPic, UInt partAddr, TComMv *mv, Int width, Int height, TComYuv *&dstPic, Bool bi, Bool bICFlag = false ); |
---|
| 133 | #else |
---|
[56] | 134 | Void xPredInterLumaBlk ( TComDataCU *cu, TComPicYuv *refPic, UInt partAddr, TComMv *mv, Int width, Int height, TComYuv *&dstPic, Bool bi ); |
---|
[210] | 135 | Void xPredInterChromaBlk( TComDataCU *cu, TComPicYuv *refPic, UInt partAddr, TComMv *mv, Int width, Int height, TComYuv *&dstPic, Bool bi ); |
---|
[189] | 136 | #endif |
---|
[2] | 137 | Void xWeightedAverage ( TComDataCU* pcCU, TComYuv* pcYuvSrc0, TComYuv* pcYuvSrc1, Int iRefIdx0, Int iRefIdx1, UInt uiPartAddr, Int iWidth, Int iHeight, TComYuv*& rpcYuvDst ); |
---|
[296] | 138 | |
---|
| 139 | #if MERL_VSP_C0152 |
---|
| 140 | Void xPredInterLumaBlkFromDM ( TComPicYuv *refPic, TComPicYuv *pPicBaseDepth, Int* pShiftLUT, Int iShiftPrec, TComMv *mv, UInt partAddr,Int posX, Int posY, Int size_x, Int size_y, Bool isDepth, Int vspIdx |
---|
| 141 | , TComYuv *&dstPic ); |
---|
| 142 | Void xPredInterChromaBlkFromDM ( TComPicYuv *refPic, TComPicYuv *pPicBaseDepth, Int* pShiftLUT, Int iShiftPrec, TComMv *mv, UInt partAddr,Int posX, Int posY, Int size_x, Int size_y, Bool isDepth, Int vspIdx |
---|
| 143 | , TComYuv *&dstPic ); |
---|
| 144 | #endif |
---|
[56] | 145 | Void xGetLLSPrediction ( TComPattern* pcPattern, Int* pSrc0, Int iSrcStride, Pel* pDst0, Int iDstStride, UInt uiWidth, UInt uiHeight, UInt uiExt0 ); |
---|
[189] | 146 | #if LGE_ILLUCOMP_B0045 |
---|
| 147 | Void xGetLLSICPrediction(TComDataCU* pcCU, TComMv *pMv, TComPicYuv *pRefPic, Int &a, Int &b, Int &iShift); |
---|
| 148 | Void xGetLLSICPredictionChroma(TComDataCU* pcCU, TComMv *pMv, TComPicYuv *pRefPic, Int &a, Int &b, Int &iShift, Int iChromaId); |
---|
| 149 | #endif |
---|
[56] | 150 | Void xDCPredFiltering( Int* pSrc, Int iSrcStride, Pel*& rpDst, Int iDstStride, Int iWidth, Int iHeight ); |
---|
| 151 | Bool xCheckIdenticalMotion ( TComDataCU* pcCU, UInt PartAddr); |
---|
[21] | 152 | |
---|
[5] | 153 | #if HHI_DMM_WEDGE_INTRA |
---|
[2] | 154 | Void xPredIntraWedgeFull ( TComDataCU* pcCU, UInt uiAbsPartIdx, Pel* piPred, UInt uiStride, Int iWidth, Int iHeight, Bool bAbove, Bool bLeft, Bool bEncoder, Bool bDelta, UInt uiTabIdx, Int iDeltaDC1 = 0, Int iDeltaDC2 = 0 ); |
---|
| 155 | Void xPredIntraWedgeDir ( TComDataCU* pcCU, UInt uiAbsPartIdx, Pel* piPred, UInt uiStride, Int iWidth, Int iHeight, Bool bAbove, Bool bLeft, Bool bEncoder, Bool bDelta, Int iWedgeDeltaEnd, Int iDeltaDC1 = 0, Int iDeltaDC2 = 0 ); |
---|
| 156 | Void xGetBlockOffset ( TComDataCU* pcCU, UInt uiAbsPartIdx, TComDataCU* pcRefCU, UInt uiRefAbsPartIdx, UInt& ruiOffsetX, UInt& ruiOffsetY ); |
---|
| 157 | Bool xGetWedgeIntraDirPredData ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiBlockSize, Int& riSlopeX, Int& riSlopeY, UInt& ruiStartPosX, UInt& ruiStartPosY ); |
---|
| 158 | Void xGetWedgeIntraDirStartEnd ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiBlockSize, Int iDeltaX, Int iDeltaY, UInt uiPMSPosX, UInt uiPMSPosY, UChar& ruhXs, UChar& ruhYs, UChar& ruhXe, UChar& ruhYe, Int iDeltaEnd = 0 ); |
---|
[5] | 159 | #endif |
---|
| 160 | #if HHI_DMM_PRED_TEX |
---|
| 161 | Void xPredIntraWedgeTex ( TComDataCU* pcCU, UInt uiAbsPartIdx, Pel* piPred, UInt uiStride, Int iWidth, Int iHeight, Bool bAbove, Bool bLeft, Bool bEncoder, Bool bDelta, Int iDeltaDC1 = 0, Int iDeltaDC2 = 0 ); |
---|
| 162 | Void xPredIntraContourTex ( TComDataCU* pcCU, UInt uiAbsPartIdx, Pel* piPred, UInt uiStride, Int iWidth, Int iHeight, Bool bAbove, Bool bLeft, Bool bEncoder, Bool bDelta, Int iDeltaDC1 = 0, Int iDeltaDC2 = 0 ); |
---|
| 163 | #endif |
---|
| 164 | #if HHI_DMM_WEDGE_INTRA || HHI_DMM_PRED_TEX |
---|
[2] | 165 | Void xDeltaDCQuantScaleUp ( TComDataCU* pcCU, Int& riDeltaDC ); |
---|
[56] | 166 | Void xDeltaDCQuantScaleDown ( TComDataCU* pcCU, Int& riDeltaDC ); |
---|
[2] | 167 | #endif |
---|
| 168 | |
---|
[189] | 169 | #if LGE_EDGE_INTRA_A0070 |
---|
[100] | 170 | Pel xGetNearestNeighbor ( Int x, Int y, Int* pSrc, Int srcStride, Int iWidth, Int iHeight, Bool* bpRegion ); |
---|
| 171 | Void xPredIntraEdge ( TComDataCU* pcCU, UInt uiAbsPartIdx, Int iWidth, Int iHeight, Int* pSrc, Int srcStride, Pel*& rpDst, Int dstStride, Bool bDelta = false ); |
---|
| 172 | #endif |
---|
| 173 | |
---|
[2] | 174 | public: |
---|
| 175 | TComPrediction(); |
---|
| 176 | virtual ~TComPrediction(); |
---|
| 177 | |
---|
| 178 | Void initTempBuff(); |
---|
| 179 | |
---|
| 180 | // inter |
---|
[21] | 181 | #if DEPTH_MAP_GENERATION |
---|
[296] | 182 | #if MERL_VSP_C0152 |
---|
| 183 | Void motionCompensation ( TComDataCU* pcCU, TComYuv* pcYuvPred, UInt uiAbsPartIdx, RefPicList eRefPicList = REF_PIC_LIST_X, Int iPartIdx = -1, Bool bPrdDepthMap = false, UInt uiSubSampExpX = 0, UInt uiSubSampExpY = 0 ); |
---|
| 184 | #else |
---|
[21] | 185 | Void motionCompensation ( TComDataCU* pcCU, TComYuv* pcYuvPred, RefPicList eRefPicList = REF_PIC_LIST_X, Int iPartIdx = -1, Bool bPrdDepthMap = false, UInt uiSubSampExpX = 0, UInt uiSubSampExpY = 0 ); |
---|
[296] | 186 | #endif |
---|
[21] | 187 | #else |
---|
[296] | 188 | #if MERL_VSP_C0152 |
---|
| 189 | Void motionCompensation ( TComDataCU* pcCU, TComYuv* pcYuvPred, UInt uiAbsPartIdx,, RefPicList eRefPicList = REF_PIC_LIST_X, Int iPartIdx = -1 ); |
---|
| 190 | #else |
---|
[21] | 191 | Void motionCompensation ( TComDataCU* pcCU, TComYuv* pcYuvPred, RefPicList eRefPicList = REF_PIC_LIST_X, Int iPartIdx = -1 ); |
---|
| 192 | #endif |
---|
[296] | 193 | #endif |
---|
| 194 | |
---|
| 195 | #if MTK_MDIVRP_C0138 |
---|
| 196 | Void residualPrediction (TComDataCU* pcCU, TComYuv* pcYuvPred, TComYuv* pcYuvResPred); |
---|
| 197 | #endif |
---|
| 198 | |
---|
[2] | 199 | // motion vector prediction |
---|
| 200 | Void getMvPredAMVP ( TComDataCU* pcCU, UInt uiPartIdx, UInt uiPartAddr, RefPicList eRefPicList, Int iRefIdx, TComMv& rcMvPred ); |
---|
| 201 | |
---|
| 202 | // Angular Intra |
---|
| 203 | Void predIntraLumaAng ( TComPattern* pcTComPattern, UInt uiDirMode, Pel* piPred, UInt uiStride, Int iWidth, Int iHeight, TComDataCU* pcCU, Bool bAbove, Bool bLeft ); |
---|
| 204 | Void predIntraChromaAng ( TComPattern* pcTComPattern, Int* piSrc, UInt uiDirMode, Pel* piPred, UInt uiStride, Int iWidth, Int iHeight, TComDataCU* pcCU, Bool bAbove, Bool bLeft ); |
---|
| 205 | |
---|
[56] | 206 | Pel predIntraGetPredValDC ( Int* pSrc, Int iSrcStride, UInt iWidth, UInt iHeight, Bool bAbove, Bool bLeft ); |
---|
| 207 | |
---|
| 208 | Int* getPredicBuf() { return m_piYuvExt; } |
---|
| 209 | Int getPredicBufWidth() { return m_iYuvExtStride; } |
---|
| 210 | Int getPredicBufHeight() { return m_iYuvExtHeight; } |
---|
| 211 | |
---|
| 212 | Void predLMIntraChroma( TComPattern* pcPattern, Int* piSrc, Pel* pPred, UInt uiPredStride, UInt uiCWidth, UInt uiCHeight, UInt uiChromaId ); |
---|
| 213 | Void getLumaRecPixels ( TComPattern* pcPattern, UInt uiWidth0, UInt uiHeight0 ); |
---|
| 214 | |
---|
[5] | 215 | #if HHI_DMM_WEDGE_INTRA || HHI_DMM_PRED_TEX |
---|
[56] | 216 | Void predIntraLumaDMM ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiMode, Pel* piPred, UInt uiStride, Int iWidth, Int iHeight, Bool bAbove, Bool bLeft, Bool bEncoder ); |
---|
[2] | 217 | |
---|
| 218 | Void getWedgePredDCs ( TComWedgelet* pcWedgelet, Int* piMask, Int iMaskStride, Int& riPredDC1, Int& riPredDC2, Bool bAbove, Bool bLeft ); |
---|
[56] | 219 | Void calcWedgeDCs ( TComWedgelet* pcWedgelet, Pel* piOrig, UInt uiStride, Int& riDC1, Int& riDC2 ); |
---|
| 220 | Void assignWedgeDCs2Pred ( TComWedgelet* pcWedgelet, Pel* piPred, UInt uiStride, Int iDC1, Int iDC2 ); |
---|
[2] | 221 | #endif |
---|
[5] | 222 | #if HHI_DMM_PRED_TEX |
---|
[56] | 223 | Void getBestContourFromTex ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiWidth, UInt uiHeight, TComWedgelet* pcContourWedge ); |
---|
[296] | 224 | #if LGE_DMM3_SIMP_C0044 |
---|
| 225 | UInt getBestWedgeFromTex ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiWidth, UInt uiHeight, Pel * piOrgi, UInt uiStride, UInt &ruiIntraTabIdx);//encoder |
---|
| 226 | UInt getBestWedgeFromTex ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiWidth, UInt uiHeight, UInt IntraTabIdx);//decoder |
---|
| 227 | #else |
---|
[56] | 228 | UInt getBestWedgeFromTex ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiWidth, UInt uiHeight ); |
---|
[296] | 229 | #endif |
---|
[56] | 230 | Void copyTextureLumaBlock ( TComDataCU* pcCU, UInt uiAbsPartIdx, Pel* piDestBlockY, UInt uiWidth, UInt uiHeight ); |
---|
[5] | 231 | #endif |
---|
| 232 | #if HHI_DMM_WEDGE_INTRA |
---|
[56] | 233 | UInt getBestContinueWedge ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiWidth, UInt uiHeight, Int iDeltaEnd = 0 ); |
---|
| 234 | Bool getWedgePatternIdx ( WedgeRefList* pcWedgeRefList, UInt& ruiTabIdx, UChar uhXs, UChar uhYs, UChar uhXe, UChar uhYe ); |
---|
[5] | 235 | #endif |
---|
[189] | 236 | #if LGE_EDGE_INTRA_A0070 |
---|
[100] | 237 | Void predIntraLumaEdge ( TComDataCU* pcCU, TComPattern* pcTComPattern, UInt uiAbsPartIdx, Int iWidth, Int iHeight, Pel* piPred, UInt uiStride, Bool bDelta = false ); |
---|
| 238 | #endif |
---|
[2] | 239 | |
---|
| 240 | // simplified intra pred for "virtual" depth maps |
---|
| 241 | Void predIntraDepthAng ( TComPattern* pcTComPattern, UInt uiDirMode, Pel* piPred, UInt uiStride, Int iWidth, Int iHeight ); |
---|
| 242 | Int xGetDCDepth ( Int* pSrc, Int iDelta, Int iBlkSize ); |
---|
| 243 | Int xGetDCValDepth ( Int iVal1, Int iVal2, Int iVal3, Int iVal4 ); |
---|
| 244 | Void xPredIntraAngDepth( Int* pSrc, Int srcStride, Pel* pDst, Int dstStride, UInt width, UInt height, UInt dirMode ); |
---|
[56] | 245 | |
---|
[2] | 246 | }; |
---|
| 247 | |
---|
[56] | 248 | //! \} |
---|
[2] | 249 | |
---|
| 250 | #endif // __TCOMPREDICTION__ |
---|