Go to the documentation of this file.
26 #ifndef AVCODEC_VORBIS_PARSER_H
27 #define AVCODEC_VORBIS_PARSER_H
44 #define VORBIS_FLAG_HEADER 0x00000001
45 #define VORBIS_FLAG_COMMENT 0x00000002
46 #define VORBIS_FLAG_SETUP 0x00000004
60 int buf_size,
int *
flags);
int av_vorbis_parse_frame(AVVorbisParseContext *s, const uint8_t *buf, int buf_size)
Get the duration for a Vorbis packet.
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.
void av_vorbis_parse_reset(AVVorbisParseContext *s)
#define flags(name, subs,...)