MP4DMXGetAVCSpecificInf

Syntax

#include <cafe/mp4dmx.h>

s32
MP4DMXGetAVCSpecificInf(
    s32                   sample_index,
    MP4DMXAvcConfig       *data,
    void                  *handle
);

Parameters

sample_index Set to a value of 1 (Input).
data A pointer to the memory referencing AVCConfig information (Output).
handle A pointer referencing an object handle (Input).

Return Values

MP4DMX_RET_SUCCESS Success.
MP4DMX_RET_NOT_FOUND Failure. This error is returned when the specified description index does not exist.
MP4DMX_RET_ERROR_NOT_ENOUGH_MEMORY Failure. This error is returned when the necessary memory could not be allocated.
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

Gets SequenceParameterSet and PictureParameterSet information from an AVCConfigurationBox.

This function can only be called after a header has been parsed (call to MP4DMXReadHeader).

Do Not Call From

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

See Also

MP4DMXGetHeaderInf
MP4DMXGetTrackInf
MP4DMXGetVideoTrackInf
MP4DMXGetAudioTrackInf
MP4DMXGetDecoderSpecificInf

Revision History

2014/07/30 Initial version.


CONFIDENTIAL