Encodes one DC coefficient for intra coded block.
IppStatus ippiEncodeDCIntra_MPEG4_16s1u(Ipp16s DC, Ipp8u** ppBitStream, int* pBitOffset, int blockType);
DC |
DC coefficient to be encoded. |
ppBitStream |
Pointer to the pointer to the current byte in the bitstream buffer. The pointer is updated by the function. |
pBitOffset |
Pointer to the bit position in the byte pointed by **ppBitStream. The pointer is updated by the function. |
blockType |
Indicates the block type, takes one of the following values: IPPVC_BLOCK_LUMA - for luma and alpha blocks, IPPVC_BLOCK_CHROMA - for chroma blocks. |
The function ippiEncodeDCIntra_MPEG4_16s1u is declared in the ippvc.h header file. This function performs VLC encoding of the DC coefficient only for one intra coded block using tables B.13, B14, B.15 specified in [ISO14496].
This function is used in the MPEG-4 encoder included into Intel IPP Samples. See introduction to MPEG-4.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when at least one input pointer is NULL. |
ippStsBitOffsetErr |
Indicates an error condition if *pBitOffset is out of the range [0, 7]. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.