CABACSetStream_H264

Sets new pointer for output stream.

Syntax

IppStatus ippiCABACSetStream_H264(Ipp8u* pBitStream, Ipp32u nBitStreamSize, IppvcCABACState* pCabacState);

Parameters

pBitStream

Pointer to a new location of the bitstream. This pointer must be aligned by 4.

nBitStreamSize

Size of the allocated memory for the bitstream in bytes; should exceed the previous size of the stream.

pCabacState

Pointer to CABAC state initialized with ippiCABACInit_H264 or ippiCABACInitAlloc_H264.

Description

The function ippiCABACSetStream_H264 is declared in the ippvc.h file. This function sets a new pointer for the output stream. Before calling this function, copy the content of the bitstream to the new location.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when any of the pointers is NULL.

ippStsSizeErr

Indicates no error if nBitStreamSize does not exceed the previous size of the stream.

ippStsMisalignedBuf

Indicates no error if pBitStream is not 4-byte aligned.

ippStsH264BufferFullErr

Not enough free space in the bitstream. This error code can be returned if less than 8 free bytes remain in the bitstream.


Submit feedback on this help topic

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