TriangleFree

Frees memory allocated by the function ippsTriangleInitAlloc.

Syntax

IppStatus ippsTriangleFree(IppTriangleState_16s* pTriangleState);

Parameters

pTriangleState

Pointer to the triangle generator specification structure.

Description

The function ippsTriangleFree is declared in the ipps.h file. This function closes the triangle generator state by freeing all memory associated with the structure created by ippsTriangleInitAllocQ15 .

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when the pointer pTriangleState is NULL.

Submit feedback on this help topic

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