EncodeDCIntra_H263

Encodes and puts a quantized DC coefficient for an intra coded block into bitstream.

Syntax

IppStatus ippiEncodeDCIntra_H263_16s1u(Ipp16s qDC, Ipp8u** ppBitStream, int* pBitOffset);

Parameters

qDC

Quantized DC coefficient.

ppBitStream

Pointer to pointer to the current byte in the bitstream buffer. **ppBitStream is updated by the function.

pBitOffset

Pointer to the bit position in the byte pointed by **ppBitStream. Valid within the range 0 to 7. *pBitOffset is updated by the function.

Description

The function ippiEncodeDCIntra_H263_16s1u is declared in the ippvc.h header file. This function performs fixed length encoding of the DC coefficient for one intra coded block and puts the code into the bitstream. Intra DC encoding process is specified in [ITUH263], subclause 5.4.1.

This function is used in the H.263 and MPEG-4 encoders included into Intel IPP Samples. See introduction to H.263.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

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

ippStsBitOffsetErr

Indicates an error condition if *pBitOffset is out of the range [0, 7].


Submit feedback on this help topic

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