SmoothingChroma_HorEdge_VC1

Performs smoothing filtering on the horizontal edge (internal or external) of chroma blocks.

Syntax

IppStatus ippiSmoothingChroma_HorEdge_VC1_16s8u_C1R( Ipp16s* pSrcDstUpper, Ipp32s srcDstUpperStep, Ipp16s* pSrcDstBottom, Ipp32s srcDstBottomStep, Ipp8u* pDst, Ipp32s dstStep );

IppStatus ippiSmoothingChroma_HorEdge_VC1_16s8u_C2R( Ipp16s* pSrcDstUpperU, Ipp32u srcDstUpperStepU, Ipp16s* pSrcDstBottomU, Ipp32u srcDstBottomStepU, Ipp16s* pSrcDstUpperV, Ipp32u srcDstUpperStepV, Ipp16s* pSrcDstBottomV, Ipp32u srcDstBottomStepV, Ipp8u* pDst, Ipp32u dstStep );

Parameters

pSrcDstUpper

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

srcDstUpperStep

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

pSrcDstBottom

Pointer to the first pixel of the bottom block.

srcDstBottomStep

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

pSrcDstUpperU

Pointer to the first pixel of the column of the upper U difference block, from which the smoothing starts.

srcDstUpperStepU

Step for transfer to the next row in the upper U block.

pSrcDstBottomU

Pointer to the first pixel of the bottom U difference block.

srcDstBottomStepU

Step for transfer to the next row in the bottom U block.

pSrcDstUpperV

Pointer to the first pixel of the row of the upper V difference block, from which the smoothing starts.

srcDstUpperStepV

Step for transfer to the next row in the upper V difference block.

pSrcDstBottomV

Pointer to the first pixel of the bottom V block.

srcDstBottomStepV

Step for transfer to the next row in the bottom V difference block.

pDst

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

For ippiSmoothingChroma_HorEdge_VC1_16s8u_C2R, pointer to the first pixel of the right block in the UV-plane in the NV12 format:

0 UV UV UV UV UV UV UV UV 1 UV UV UV UV UV UV UV UV ... 7 UV UV UV UV UV UV UV UV

dstStep

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

For ippiSmoothingChroma_VerEdge_VC1_16s8u_C2R, UV-plane step in bytes.

Description

The functions ippiSmoothingChroma_HorEdge_VC1_16s8u_C1R and ippiSmoothingChroma_HorEdge_VC1_16s8u_C2R are declared in the ippvc.h file. The function ippiSmoothingChroma_HorEdge_VC1_16s8u_C1R performs smoothing filtering on the horizontal edge (internal or external) of the chroma 8x8 blocks. The function ippiSmoothingChroma_HorEdge_VC1_16s8u_C2R performs smoothing filtering on the horizontal edge (internal or external) of the chroma 8x8 difference and 16x8 plane blocks. See 8.5 of [SMPTE421M].

Horizontal Smoothing Between Two Chroma Block



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.