SmoothingLuma_HorEdge_VC1

Performs smoothing filtering on the horizontal edge (internal or external) of luma 16X16 macroblocks.

Syntax

IppStatus ippiSmoothingLuma_HorEdge_VC1_16s8u_C1R( Ipp16s* pSrcDstUpper, Ipp32s srcDstUpperStep, Ipp16s* pSrcDstBottom, Ipp32s srcDstBottomStep, Ipp8u* pDst, Ipp32s dstStep, Ipp32u edgeDisableFlag );

Parameters

pSrcDstUpper

Pointer to the first pixel of the bottom left block row of the upper macroblock, from which the smoothing starts.

srcDstUpperStep

Step for transfer to the next row in the upper macroblock.

pSrcDstBottom

Pointer to the first pixel of the top left block of the bottom macroblock.

srcDstBottomStep

Step for transfer to the next row in the bottom macroblock.

pDst

Pointer to the first pixel of the bottom macroblock in the Y-plane.

dstStep

Distance in bytes between starts of the consecutive lines in the Y-plane.

edgeDisableFlag

Flag indicating that

  • if (edgeDisableFlag & IPPVC_EDGE_HALF_1), then the left horizontal edge is disabled for smoothing,

  • if (edgeDisableFlag & IPPVC_EDGE_HALF_2), then the right horizontal edge is disabled for smoothing.

Description

The function ippiSmoothingLuma_HorEdge_VC1_16s8u_C1R is declared in the ippvc.h file. The function performs smoothing filtering on the horizontal edge (internal or external) of the luma 16x16 macroblocks. See 8.5 of [SMPTE421M].

Horizontal Smoothing Between Two Macroblocks



Horizontal Smoothing Inside One Macroblock



All samples of the source block should be within the range [-2048; 2047). After smoothing, all samples of the destination block are within the range [-512, 511).

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error condition when source or destination pointers are NULL.


Submit feedback on this help topic

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