DEPRECATED. Encodes and puts quantized DCT coefficients for inter coded block into bitstream.
Syntax
IppStatus ippiEncodeCoeffsInter_H261_16s1u(Ipp16s*pQCoef, Ipp8u**ppBitStream, int*pBitOffset, intcountNonZero, intscan);
Parameters
pQCoef | Pointer to the array of quantized DCT coefficients. pQCoef[0] is the 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. | ||||
countNonZero | Number of non-zero coefficients in the block. Valid within the range 1 to 64. | ||||
scan | Type of the scan to be performed on the coefficients before encoding, takes one of the following values:
See the corresponding enumerator in the introduction to the General Functions. |
Description
The function ippiEncodeCoeffsInter_H261_16s1u is deprecated. DV, H.263, H.261, AVS codecs will be removed in a future release. Use the following link for details: http://software.intel.com/sites/products/ipp-deprecated-features-feedback/.
This function performs VLC encoding of the quantized DCT coefficients in a scan order for one inter coded block and puts the codes into the bitstream. The encoding process is specified in [ITUH261], subclause 4.2.4.1.
This function is used in the H.261 encoder included into Intel IPP Samples. See introductionto H.261.
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]. |
ippStsOutOfRangeErr | Indicates an error condition if countNonZero is out of the range [1, 64]. |