H264DECInitParam

Syntax

#include <cafe/h264.h>

s32	H264DECInitParam(s32 memSize, void *memPtr);

Parameters

memSize The size of the work memory (Input).
memPtr A pointer to the work memory (Input).

Return Values

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

Description

Sets the work memory and initializes the library.

User applications must allocate work memory and frame memory before calling this function.

Maintain the work memory and frame memory until you have finished shutting down the library (when the H264DECClose function finishes execution).

Use the H264DECMemoryRequirement function to get the size of the work memory and frame memory to allocate.

Do Not Call From

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

See Also

H264DECSetParam
H264DECOpen
H264DECBegin
H264DECSetBitstream
H264DECExecute
H264DECEnd
H264DECFlush
H264DECClose

Revision History

2014/07/21 Initial version.


CONFIDENTIAL