CABACEncodeBinBypass_H264

Encodes bin with CABAC using bypass encoding process and writes it to the stream.

Syntax

IppStatus ippiCABACEncodeBinBypass_H264(Ipp32u code, IppvcCABACState* pCabacState);

Parameters

code

Value of bin to be encoded; must be either 0 or 1.

pCabacState

Pointer to CABAC state initialized with ippiCABACInit_H264 or ippiCABACInitAlloc_H264.

Description

The function ippiCABACEncodeBinBypass_H264 is declared in the ippvc.h file. This function encodes CABAC using bypass encoding process and writes it to the stream.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when pCabacState is NULL.

ippStsOutOfRangeErr

The code parameter is out of range [0; 1].

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 - 2011, Intel Corporation. All rights reserved.