FilterDeringingThreshold_MPEG4

Computes threshold values for the deringing filtering through a macroblock.

Syntax

IppStatus ippiFilterDeringingThreshold_MPEG4_8u_P3R(Ipp8u* pSrcY, int stepY, const Ipp8u* pSrcCb, int stepCb, const Ipp8u* pSrcCr, int stepCr, int threshold[6]);

Parameters

pSrcY

Pointer to the left upper Y-block in the current macroblock.

stepY

Width in bytes of the luminance plane.

pSrcCb

Pointer to the Cb-block in the current macroblock.

stepCb

Width in bytes of the chrominance (Cb) plane.

pSrcCr

Pointer to the Cr-block in the current macroblock.

stepCr

Width in bytes of the chrominance (Cr) plane.

threshold

Array of the threshold values for all blocks.

Description

The function ippiFilterDeringingThreshold_MPEG4_8u is declared in the ippvc.h file. This function performs threshold determination ([ISO14496], Annex F.3.2.1), which is the first subprocess of the deringing filtering. The obtained threshold values are required for the function FilterDeringingSmooth8x8_MPEG4.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

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


Submit feedback on this help topic

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