H264DECEnd

Syntax

#include <cafe/h264.h>

s32	H264DECEnd(void *memPtr);

Parameters

memPtr Pointer to the work memory (Input).

Return Values

A return value of 0 indicates success. Any nonzero return value indicates failure.

Description

Notifies the library to terminate stream decoding.

Frees up hardware resources and outputs the decoding result if it is held within the library.

Because hardware resources remain allocated if this API function is not called, the decoding process cannot continue.

With buffering mode, the callback function can be invoked once when synchronizing to this API function execution. This is for outputting the decoding results held in the library, and decoding results for one or more frames that are output with a single invocation of the callback function.

Do Not Call From

Background Do not call this function from the background.
Multiple threads This function is not thread-safe.

See Also

H264DECInitParam
H264DECSetParam
H264DECOpen
H264DECBegin
H264DECSetBitstream
H264DECExecute
H264DECFlush
H264DECClose

Revision History

2014/07/22 Initial version.


CONFIDENTIAL