TransformQuant8x8Fwd_AVS

Performs forward transform and quantization for 8X8 residual blocks.

Syntax

IppStatus ippiTransformQuant8x8Fwd_AVS_16s_C1(const Ipp16s* pSrc, Ipp16s* pDst, Ipp32u* pNumCoeffs, Ipp32u QP, Ipp32u roundMode);

Parameters

pSrc

Pointer to a 8x8 residual block - source array of size 64.

pDst

Pointer to a 8x8 residual block - destination array of size 64.

pNumCoeffs

Pointer to a value that contains a number of non-zero elements in the block after quantization. This value is calculated by the function.

QP

Quantization parameter (CurrentQP in [AVS]) for luma or chroma, in the range [0;63] or [0, 51].

roundMode

Flag equal to 1 in the case of intra slice, 0 otherwise.

Description

The function ippiTransformQuant8x8Fwd_AVS_16s_C1 is declared in the ippvc.h file. This function performs forward transform and quantization for an 8x8 residual block.

An 8x8 residual block (pSrc) is transformed. Quantization is performed on the transformed block. The result is saved to pDst.

This function is used in the AVS encoder included into Intel IPP Samples. See introduction to Video Coding.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

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

ippStsOutOfRangeErr

QP is less than 0 or greater than 63.


Submit feedback on this help topic

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