Ticket #11: tmuc-issue11+fix.patch

File tmuc-issue11+fix.patch, 2.1 KB (added by davidf, 14 years ago)

Possible fix by adjusting macro guards

  • source/Lib/TLibCommon/TComLoopFilter.cpp

    diff --git a/source/Lib/TLibCommon/TComLoopFilter.cpp b/source/Lib/TLibCommon/TComLoopFilter.cpp
    index 70f7c09..9a96169 100644
    a b Void TComLoopFilter::xSetEdgefilterPU( TComDataCU* pcCU, UInt uiAbsZorderIdx ) 
    383383    }
    384384}
    385385}
     386#endif
    386387
    387388#if PLANAR_INTRA
    388389Void TComLoopFilter::xPelFilterPlanarIntra( Pel* piSrc, Int iOffset, Int iBlkSize )
    Void TComLoopFilter::xEdgeFilterPlanarIntra( TComDataCU* pcCU, UInt uiAbsZorderI 
    475476  }
    476477}
    477478#endif
    478 #else
    479479
     480#if !HHI_DEBLOCKING_FILTER && !TENTM_DEBLOCKING_FILTER
    480481Void TComLoopFilter::xSetEdgefilter( TComDataCU* pcCU, UInt uiAbsZorderIdx )
    481482{
    482483  switch ( pcCU->getPartitionSize( uiAbsZorderIdx ) )
  • source/Lib/TLibCommon/TComLoopFilter.h

    diff --git a/source/Lib/TLibCommon/TComLoopFilter.h b/source/Lib/TLibCommon/TComLoopFilter.h
    index 2d90c44..c99ba08 100644
    a b protected: 
    8484      return g_auiRasterToZscan[g_auiZscanToRaster[uiAbsZorderIdx] + iEdgeIdx * uiLCUWidthInBaseUnits + iBaseUnitIdx ];
    8585  }
    8686  Void xSetEdgefilterMultiple( TComDataCU* pcCU, UInt uiAbsZorderIdx, UInt uiDepth, Int iDir, Int iEdgeIdx, Bool bValue );
    87 #if PLANAR_INTRA
    88   Void xPelFilterPlanarIntra      ( Pel* piSrc, Int iOffset, Int iBlkSize );
    89   Void xEdgeFilterPlanarIntra     ( TComDataCU* pcCU, UInt uiAbsZorderIdx, Int iDir );
    90 #endif
    9187#else
    9288  Void xSetEdgefilter             ( TComDataCU* pcCU, UInt uiAbsZorderIdx );
    9389  Void xGetBoundaryStrength       ( TComDataCU* pcCU, UInt uiAbsZorderIdx, Int iDir, Int iEdge, UInt uiDepth );
    protected: 
    9793  Void xEdgeFilterChroma          ( TComDataCU* pcCU, UInt uiAbsZorderIdx, Int iDir, Int iEdge );
    9894#endif
    9995
     96#if PLANAR_INTRA
     97  Void xPelFilterPlanarIntra      ( Pel* piSrc, Int iOffset, Int iBlkSize );
     98  Void xEdgeFilterPlanarIntra     ( TComDataCU* pcCU, UInt uiAbsZorderIdx, Int iDir );
     99#endif
     100
    100101#if HHI_DEBLOCKING_FILTER
    101102  Void xEdgeFilterLumaSingle      ( TComDataCU* pcCU, UInt uiAbsZorderIdx, Int iDir );
    102103  Void xEdgeFilterChromaSingle    ( TComDataCU* pcCU, UInt uiAbsZorderIdx, Int iDir );