World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
Определения типов | |
typedef struct AVVorbisParseContext | AVVorbisParseContext |
Функции | |
AVVorbisParseContext * | av_vorbis_parse_init (const uint8_t *extradata, int extradata_size) |
void | av_vorbis_parse_free (AVVorbisParseContext **s) |
int | av_vorbis_parse_frame_flags (AVVorbisParseContext *s, const uint8_t *buf, int buf_size, int *flags) |
int | av_vorbis_parse_frame (AVVorbisParseContext *s, const uint8_t *buf, int buf_size) |
void | av_vorbis_parse_reset (AVVorbisParseContext *s) |
A public API for Vorbis parsing
Determines the duration for each packet.
См. определение в файле vorbis_parser.h
typedef struct AVVorbisParseContext AVVorbisParseContext |
См. определение в файле vorbis_parser.h строка 31
AVVorbisParseContext* av_vorbis_parse_init | ( | const uint8_t * | extradata, |
int | extradata_size | ||
) |
Allocate and initialize the Vorbis parser using headers in the extradata.
void av_vorbis_parse_free | ( | AVVorbisParseContext ** | s | ) |
Free the parser and everything associated with it.
int av_vorbis_parse_frame_flags | ( | AVVorbisParseContext * | s, |
const uint8_t * | buf, | ||
int | buf_size, | ||
int * | flags | ||
) |
Get the duration for a Vorbis packet.
If flags
is NULL
, special frames are considered invalid.
s | Vorbis parser context |
buf | buffer containing a Vorbis frame |
buf_size | size of the buffer |
flags | flags for special frames |
int av_vorbis_parse_frame | ( | AVVorbisParseContext * | s, |
const uint8_t * | buf, | ||
int | buf_size | ||
) |
Get the duration for a Vorbis packet.
s | Vorbis parser context |
buf | buffer containing a Vorbis frame |
buf_size | size of the buffer |
void av_vorbis_parse_reset | ( | AVVorbisParseContext * | s | ) |