SmoothingLuma_VerEdge_VC1

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

Syntax

IppStatus ippiSmoothingLuma_VerEdge_VC1_16s8u_C1R( Ipp16s* pSrcDstLeft, Ipp32s srcDstLeftStep, Ipp16s* pSrcDstRight, Ipp32s srcDstRightStep, Ipp8u* pDst, Ipp32s dstStep, Ipp32u fieldNeighbourFlag, Ipp32u edgeDisableFlag );

Parameters

pSrcDstLeft

Pointer to the first pixel of the column of the top left block of the left macroblock, from which the smoothing starts.

srcDstLeftStep

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

pSrcDstRight

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

srcDstRightStep

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

pDst

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

dstStep

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

fieldNeighbourFlag

Indicates the field macroblock property (2 bits):

  • if (fieldNeighbourFlag & VC1_FIELD_LEFT_MB) - the left macroblock is field decoded,

  • if (fieldNeighbourFlag & VC1_FIELD_RIGHT_MB) - the right macroblock is field decoded.

edgeDisableFlag

Flag indicating that

  • if (edgeDisableFlag & IPPVC_EDGE_HALF_1), then the upper vertical edge is disabled for smoothing,

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

Description

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

Vertical Smoothing Between Two Macroblocks



Vertical 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.