Performs deblocking filtering on the vertical edges of half of 8X8 chroma macroblock.
IppStatus ippiFilterDeblockingChroma_VerEdge_MBAFF_H264_8u_C1IR(Ipp8u* pSrcDst, Ipp32s srcdstStep, Ipp32u nAlpha, Ipp32u nBeta, const Ipp8u* pThresholds, const Ipp8u* pBs);
IppStatus ippiFilterDeblockingChromaVerEdgeMBAFF_H264_16u_C1IR(const IppiFilterDeblock_16u* pDeblockInfo);
IppStatus ippiFilterDeblockingChroma422VerEdgeMBAFF_H264_8u_C1IR(const IppiFilterDeblock_8u* pDeblockInfo);
IppStatus ippiFilterDeblockingChroma422VerEdgeMBAFF_H264_16u_C1IR(const IppiFilterDeblock_16u* pDeblockInfo);
pSrcDst |
Pointer to the initial and resultant coefficients. |
srcdstStep |
Distance in items between starts of the consecutive lines in the array. |
pAlpha |
Alpha Threshold. |
pBeta |
Beta Threshold. |
pThresholds |
Array of size 4 of Thresholds (Tc0) (two values for the left edge of each 2x2 block). |
pBs |
Array of size 4 of BS parameters (two values for the left edge of each 2x2 block). |
pDeblockInfo |
Pointer to the IppiFilterDeblock_16u structure. |
The functions ippiFilterDeblockingChroma_VerEdge_MBAFF_H264_8u_C1IR, ippiFilterDeblockingChromaVerEdgeMBAFF_H264_16u_C1IR, ippiFilterDeblockingChroma422VerEdgeMBAFF_H264_8u_C1IR, and ippiFilterDeblockingChroma422VerEdgeMBAFF_H264_16u_C1IR are declared in the ippvc.h file. These functions perform Deblocking Filtering on the vertical edge of the 8x8 chroma macroblock in accordance with 8.7.2 of [JVTG050].
In process of filling pThresholds and pBs parameters for deblocking of each 2x2 block, a number of parameters of the neighboring blocks are taken into account. In MBAFF mode, the edge blocks may border on two others when the left and the current macroblocks are coded differently: one as a field, the other as a frame, and vice versa. As a result, two values of pThresholds and pBs parameters are taken for each block. For higher flexibility, the functions process only half of the macroblock to fit both types of the macroblocks, that is, coded as a field and coded as a frame.
The functions use arrays nAlpha, nBeta, pBs, pThresholds as input arguments. nAlpha, nBeta, and pBs are the same arrays as in FilterDeblockingLuma_VerEdge_H264 function. See Figure "Arrangement of pBs and pThresholds Array Elements for 4:2:0 format" for the arrangement of pBs and pThresholds array elements into an 8x8 chroma block of 4:2:0 format and Figure "Arrangement of pBs and pThresholds Array Elements for 4:2:2 format" for their arrangement into an 8x16 block of 4:2:2 format.
Values of the arrays are calculated as follows:
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error condition if at least one of the specified pointers is NULL. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.