Performs quantization for 8X8 luma block coefficients including 8X8 transform normalization.
IppStatus ippiQuantLuma8x8_H264_16s_C1(const Ipp16s* pSrc, Ipp16s* pDst, int Qp6, int Intra, const Ipp16s* pScanMatrix, const Ipp16s* pScaleLavels, int* pNumLevels, int* pLastCoeff);
pSrc |
Pointer to source luma block coefficients - array of size 64. |
pDst |
Pointer to the destination quantized block - array of size 64. |
QP6 |
Quantization parameter divided by 6. |
Intra |
Flag that is equal to 1 if the slice is intra and 0 otherwise. |
pScanMatrix |
Pointer to a scan matrix for the coefficients in the block (array of size 64). |
pScaleLevels |
Pointer to a scale level matrix. |
pNumLevels |
Pointer to a value that contains:
|
pLastCoeff |
Position of the last (in order of pScanMatrix) non-zero coefficient in block after quantization. This value is calculated by the function. |
The function ippiQuantLuma8x8_H264_16s_C1 is declared in the ippvc.h file. This function performs quantization of the coefficients of a luma block after 8x8 transform including transform normalization (see normAdjust8x8 matrix described in [ITUH264]).
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error condition if at least one of the specified pointers is NULL. |
ippStsQPErr |
Indicates an error if Qp6 > 8 or Qp6 < 0. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.