EncodeRLEFlush_BZ2

Flushes the remaining data after RLE.

Syntax

IppStatus ippsEncodeRLEFlush_BZ2_8u(Ipp8u* pDst, int* pDstLen, IppRLEState_BZ2* pRLEState);

Parameters

pDst

Pointer to the destination buffer.

pDstLen

Pointer to the length of the destination buffer.

pRLEState

Pointer to the bzip2-specific RLE state structure.

Description

The function ippsEncodeRLEFlush_BZ2 is declared in the ippdc.h file. This function flushes the remaining data after RLE encoding with thresholding equal to 4. The function uses the initialized bzip2-specific RLE state structure pRLEState.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error if one of the pointers is NULL.

ippStsSizeErr

Indicates an error if length of the destination buffer is less than or equal to 0.

Submit feedback on this help topic

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