Ticket #1417: 0001-fix-INTRA_DC-boundary-filtering-condition.patch

File 0001-fix-INTRA_DC-boundary-filtering-condition.patch, 1.2 KB (added by pevsikov, 7 years ago)
  • source/Lib/TLibCommon/TComPrediction.cpp

    From 3fcb359b5d227f852d1a6bfd70ab416cb74ab0ab Mon Sep 17 00:00:00 2001
    From: Pavel Evsikov <pavel.evsikov@intel.com>
    Date: Mon, 21 Sep 2015 18:32:07 +0300
    Subject: [PATCH] fix INTRA_DC boundary filtering condition
    
    ---
     source/Lib/TLibCommon/TComPrediction.cpp | 7 +++++--
     1 file changed, 5 insertions(+), 2 deletions(-)
    
    diff --git a/source/Lib/TLibCommon/TComPrediction.cpp b/source/Lib/TLibCommon/TComPrediction.cpp
    index 3fba370..d4f0c92 100644
    a b Void TComPrediction::predIntraAng( const ComponentID compID, UInt uiDirMode, Pel 
    535535#endif
    536536      xPredIntraAng( channelsBitDepthForPrediction, ptrSrc+sw+1, sw, pDst, uiStride, iWidth, iHeight, channelType, uiDirMode, enableEdgeFilters );
    537537     
    538       if( uiDirMode == DC_IDX && enableEdgeFilters )
     538      if( uiDirMode == DC_IDX )
    539539      {
    540         xDCPredFiltering( ptrSrc+sw+1, sw, pDst, uiStride, iWidth, iHeight, channelType );
     540        if (!pcCU->getSlice()->getSPS()->getSpsScreenExtension().getDisableIntraBoundaryFilter())
     541        {
     542          xDCPredFiltering( ptrSrc+sw+1, sw, pDst, uiStride, iWidth, iHeight, channelType );
     543        }
    541544      }
    542545    }
    543546  }