HEAACDECMemoryRequirement

Syntax

#include <cafe/aacdec.h>

s32 HEAACDECMemoryRequirement( HEAACDEC_AAC_INFO *aacInfo,
                               s32 *memSize);

Parameters

aacInfo Pointer to the decoding conditions (Input).
memSize Pointer to working memory size (Output).

Return Values

A return value of HEAACDEC_RET_OK indicates success and any other return value indicates failure.

For more information about errors, see Error Codes.

Description

Calculates the working memory size based on the decoding requirements.

Do Not Call From

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

See Also

HEAACDECOpen
HEAACDECBegin
HEAACDECExecute
HEAACDECEnd
HEAACDECClose
HEAACDECRestart

Revision History

2014/07/14 Initial version.


CONFIDENTIAL