Decodes luminance coefficients of an intra block.
IppStatus ippiDecodeLumaBlockIntra_AVS_1u16s(Ipp32u** ppBitStream, Ipp32s* pBitOffset, Ipp32s* pNumCoeff, Ipp16s* pDstCoeffs, Ipp32u scanType);
ppBitStream |
Double pointer to the current position in the bitstream. The pointer is updated by the function. |
pBitOffset |
Pointer to offset between the bit that ppBitStream points to and the start of the code. The pointer is updated by the function. |
pNumCoeff |
Pointer to the output number of non-zero coefficients. |
pDstCoeffs |
Pointer to an 8x8 block of coefficients. These coefficients are calculated by the function. |
scanType |
Type of inverse scan method. 0 means the type described in Figure 9-5(a) of [AVS]. 1 means the type described in Figure 9-5(b) of [AVS]. |
This function is declared in the ippvc.h header file. The function ippiDecodeLumaBlockIntra_AVS_1u16s decodes luminance coefficients of intra blocks in accordance with 9.5.1 of [AVS].
After decoding all coefficients of a block, the function performs inverse scanning, using the given type of scanning. The function returns the last coefficient index in classical scan order through the pNumCoeff variable as shown in Figure 9-5(a) of [AVS].
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when at least one input pointer is NULL. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.