38 #ifndef __TCOMLOOPFILTER__
39 #define __TCOMLOOPFILTER__
47 #define DEBLOCK_SMALLEST_BLOCK 8
84 rasterOffsetTU = rect->x0/minCuWidth + (rect->y0/minCuHeight)*ctuWidthInBaseUnits;
102 UInt uiWidthInBaseUnits = 0,
103 UInt uiHeightInBaseUnits = 0,
Void create(UInt uiMaxCUDepth)
__inline Int xCalcDQ(Pel *piSrc, Int iOffset)
picture class (symbol + YUV buffers)
Defines version information, constants and small in-line functions.
LFCUParam m_stLFCUParam
status structure
Void xSetEdgefilterMultiple(TComDataCU *pcCU, UInt uiAbsZorderIdx, UInt uiDepth, DeblockEdgeDir edgeDir, Int iEdgeIdx, Bool bValue, UInt uiWidthInBaseUnits=0, UInt uiHeightInBaseUnits=0, const TComRectangle *rect=0)
Bool * m_aapbEdgeFilter[NUM_EDGE_DIR]
static Int getBeta(Int qp)
Void xSetEdgefilterTU(TComTU &rTu)
parameters for deblocking filter
__inline Int xCalcDP(Pel *piSrc, Int iOffset)
UInt getMinCUWidth() const
Bool m_bLFCrossTileBoundary
UInt getNumPartInCtuWidth() const
virtual ~TComLoopFilter()
UInt getMinCUHeight() const
static const UChar sm_betaTable[52]
T Clip3(const T minVal, const T maxVal, const T a)
general min/max clip
static const UChar sm_tcTable[54]
__inline Void xPelFilterLuma(Pel *piSrc, Int iOffset, Int tc, Bool sw, Bool bPartPNoFilter, Bool bPartQNoFilter, Int iThrCut, Bool bFilterSecondP, Bool bFilterSecondQ, const Int bitDepthLuma)
__inline Void xPelFilterChroma(Pel *piSrc, Int iOffset, Int tc, Bool bPartPNoFilter, Bool bPartQNoFilter, const Int bitDepthChroma)
Void xSetEdgefilterPU(TComDataCU *pcCU, UInt uiAbsZorderIdx)
UInt xCalcBsIdx(TComDataCU *pcCU, UInt absZIdxInCtu, DeblockEdgeDir edgeDir, Int iEdgeIdx, Int iBaseUnitIdx, const struct TComRectangle *rect=0)
UInt g_auiZscanToRaster[MAX_NUM_PART_IDXS_IN_CTU_WIDTH *MAX_NUM_PART_IDXS_IN_CTU_WIDTH]
UInt g_auiRasterToZscan[MAX_NUM_PART_IDXS_IN_CTU_WIDTH *MAX_NUM_PART_IDXS_IN_CTU_WIDTH]
Void loopFilterPic(TComPic *pcPic)
picture-level deblocking filter
Void setCfg(Bool bLFCrossTileBoundary)
set configuration
__inline Bool xUseStrongFiltering(Int offset, Int d, Int beta, Int tc, Pel *piSrc)
Void xSetLoopfilterParam(TComDataCU *pcCU, UInt uiAbsZorderIdx)
UChar * m_aapucBS[NUM_EDGE_DIR]
Bs for [Ver/Hor][Y/U/V][Blk_Idx].
Void xGetBoundaryStrengthSingle(TComDataCU *pCtu, DeblockEdgeDir edgeDir, UInt uiPartIdx)
Void xEdgeFilterLuma(TComDataCU *const pcCU, const UInt uiAbsZorderIdx, const UInt uiDepth, const DeblockEdgeDir edgeDir, const Int iEdge)
Void xEdgeFilterChroma(TComDataCU *const pcCU, const UInt uiAbsZorderIdx, const UInt uiDepth, const DeblockEdgeDir edgeDir, const Int iEdge)
Void xDeblockCU(TComDataCU *pcCU, UInt uiAbsZorderIdx, UInt uiDepth, DeblockEdgeDir edgeDir)
CU-level deblocking function.