H264DECSetBitstream

Syntax

#include <cafe/h264.h>

s32	H264DECSetBitstream(void *memPtr, const u8 *bitstream, const s32 length,
			    const f64 timeStamp);

Parameters

memPtr Pointer to the work memory (Input).
bitstream Pointer to the beginning of the data to decode (Input).
length Number of bytes in the data to decode (Input).
timeStamp A timestamp (Input).
NOTE:
Specify a timestamp that is output by the MP4 demultiplexer.

Return Values

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

Description

Sets a one-frame bitstream to decode.

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
H264DECExecute
H264DECEnd
H264DECFlush
H264DECClose

Revision History

2014/07/22 Initial version.


CONFIDENTIAL