CABACGetContexts_H264

Copies contexts from CABAC state structure.

Syntax

IppStatus ippiCABACGetContexts_H264(const IppvcCABACState* pCabacState, Ipp32u offset, Ipp8u* pContexts, Ipp32u nContexts);

Parameters

pCabacState

Pointer to CABAC state initialized with ippiCABACInit_H264 or ippiCABACInitAlloc_H264.

offset

Offset from the initial element of the contexts array inside the pCABACState structure.

pContexts

Pointer to the destination array.

nContexts

Number of the contexts to copy from the source to the destination array.

Description

The function ippiCABACGetContexts_H264 is declared in the ippvc.h file. This function copies nContexts contexts, starting from the offset number of contexts, from the IppvcCABACState structure to the destination array pContexts.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

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

ippStsOutOfRangeErr

Indicates an error if the sum of offset and nContexts is greater than 460.


Submit feedback on this help topic

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