From 22d9b84eadddd126dc7b1c11c6da4820ce02f1a9 Mon Sep 17 00:00:00 2001 From: Frank Bossen <fbossen@gmail.com> Date: Sat, 22 Jun 2019 16:50:05 -0400 Subject: [PATCH] Remove unused function --- source/Lib/CommonLib/IntraPrediction.cpp | 14 -------------- source/Lib/CommonLib/IntraPrediction.h | 1 - 2 files changed, 15 deletions(-) diff --git a/source/Lib/CommonLib/IntraPrediction.cpp b/source/Lib/CommonLib/IntraPrediction.cpp index d148ef9ad..02fd3784f 100644 --- a/source/Lib/CommonLib/IntraPrediction.cpp +++ b/source/Lib/CommonLib/IntraPrediction.cpp @@ -411,20 +411,6 @@ void IntraPrediction::predIntraChromaLM(const ComponentID compID, PelBuf &piPred piPred.linearTransform(a, iShift, b, true, pu.cs->slice->clpRng(compID)); } -void IntraPrediction::xFilterGroup(Pel* pMulDst[], int i, Pel const * const piSrc, int iRecStride, bool bAboveAvaillable, bool bLeftAvaillable) -{ - pMulDst[0][i] = (piSrc[1] + piSrc[iRecStride + 1] + 1) >> 1; - - pMulDst[1][i] = (piSrc[iRecStride] + piSrc[iRecStride + 1] + 1) >> 1; - - pMulDst[3][i] = (piSrc[0] + piSrc[1] + 1) >> 1; - - pMulDst[2][i] = (piSrc[0] + piSrc[1] + piSrc[iRecStride] + piSrc[iRecStride + 1] + 2) >> 2; - -} - - - /** Function for deriving planar intra prediction. This function derives the prediction samples for planar mode (intra coding). */ diff --git a/source/Lib/CommonLib/IntraPrediction.h b/source/Lib/CommonLib/IntraPrediction.h index 2bcf51bc5..b71e55c10 100644 --- a/source/Lib/CommonLib/IntraPrediction.h +++ b/source/Lib/CommonLib/IntraPrediction.h @@ -147,7 +147,6 @@ protected: void destroy (); - void xFilterGroup ( Pel* pMulDst[], int i, Pel const* const piSrc, int iRecStride, bool bAboveAvaillable, bool bLeftAvaillable); void xGetLMParameters(const PredictionUnit &pu, const ComponentID compID, const CompArea& chromaArea, int& a, int& b, int& iShift); public: IntraPrediction(); -- GitLab