MP4DMXOpen

Syntax

#include <cafe/mp4dmx.h>

s32
MP4DMXOpen(
    MP4DMXMpoPARAMETER  *parameter,
    void                **handle_ret,
    void                *allocator
);

Parameters

parameter Parameters (Input).
handle_ret A pointer referencing an object handle (Output).
allocator A pointer to a memory allocator (Input).

Return Values

MP4DMX_RET_SUCCESS Success.
MP4DMX_RET_ERROR_NOT_ENOUGH_MEMORY Failure. This error is returned when the necessary memory could not be allocated.
MP4DMX_RET_ERROR_BADPARAM Failure. This error is returned when there is an inappropriate parameter.
MP4DMX_RET_ERROR_INVALID_POINTER Failure. This error is returned when an argument is NULL.
MP4DMX_RET_ERROR_FATAL Failure. This error is returned when functions are not called in the correct order.

Description

Initializes the library.

Do Not Call From

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

See Also

MP4DMXBegin
MP4DMXFindHeader
MP4DMXReadHeader
MP4DMXExecute
MP4DMXEnd
MP4DMXClose

Revision History

2014/07/29 Initial version.


CONFIDENTIAL