FilterDeblockingLuma_HorEdge_H264

Performs deblocking filtering on the horizontal edges of the 16X16 luma macroblock.

Syntax

IppStatus ippiFilterDeblockingLuma_HorEdge_H264_8u_C1IR(Ipp8u* pSrcDst, Ipp32s srcdstStep, const Ipp8u* pAlpha, const Ipp8u* pBeta, const Ipp8u* pThresholds, const Ipp8u* pBs);

IppStatus ippiFilterDeblockingLumaHorEdge_H264_16u_C1IR(const IppiFilterDeblock_16u* pDeblockInfo);

Parameters

pSrcDst

Pointer to the initial and resultant coefficients.

srcdstStep

Distance in items between starts of the consecutive lines in the array.

pAlpha

Array of size 2 of Alpha Thresholds (values for external and internal horizontal edge).

pBeta

Array of size 2 of Beta Thresholds (values for external and internal horizontal edge).

pThresholds

Array of size 16 of Thresholds (Tc0) (values for upper edge of each 4x4 block).

pBs

Array of size 16 of BS parameters (values for upper edge of each 4x4 block).

pDeblockInfo

Pointer to the IppiFilterDeblock_16u structure.

Description

The functions ippiFilterDeblockingLuma_HorEdge_H264_8u_C1IR and ippiFilterDeblockingLumaHorEdge_H264_16u_C1IR are declared in the ippvc.h file. These functions perform Deblocking Filtering on the horizontal edges of the 16x16 luma macroblock in accordance with 8.7.2 of [JVTG050].

The functions use arrays pAlpha, pBeta, pBs, pThresholds as input arguments, where pAlpha[0], pBeta[0] are values for the external horizontal edge, and pAlpha[1], pBeta[1] are values for the internal horizontal edge. See Figure "Arrangement of pThresholds Array Elements into a Macroblock" for the arrangement of pThresholds and pBs array elements.

Values of the arrays are calculated as follows:

pBs values are calculated as per 8.7.2.1 of [JVTG050] and may take the following values: 0 - if no edge is filtered; [1,3] - if filtering is weak; 4 - if filtering is strong. pAlpha values are calculated from the formulas 8-326, 8-327 and Table 8-14 of [JVTG050]. pBeta values are calculated from the formulas 8-326, 8-328 and Table 8-14 of [JVTG050]. pThresholds[i] values are calculated from the formulas 8-326, 8-327, values of pBs array and Table 8-15 of [JVTG050].
Arrangement of pThresholds Array Elements into a Macroblock



This function is used in the H.264 decoder and encoder included into Intel IPP Samples. See introduction to H.264.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error condition if at least one of the specified pointers is NULL.


Submit feedback on this help topic

Copyright © 2000 - 2010, Intel Corporation. All rights reserved.