|
FFmpeg
|
Vorbis audio parser. More...
#include "libavutil/log.h"#include "get_bits.h"#include "parser.h"#include "xiph.h"#include "vorbis_parser_internal.h"Functions | |
| int | av_vorbis_parse_frame_flags (AVVorbisParseContext *s, const uint8_t *buf, int buf_size, int *flags) |
| Get the duration for a Vorbis packet. More... | |
| int | av_vorbis_parse_frame (AVVorbisParseContext *s, const uint8_t *buf, int buf_size) |
| Get the duration for a Vorbis packet. More... | |
| void | av_vorbis_parse_reset (AVVorbisParseContext *s) |
| void | av_vorbis_parse_free (AVVorbisParseContext **s) |
| Free the parser and everything associated with it. | |
| AVVorbisParseContext * | av_vorbis_parse_init (const uint8_t *extradata, int extradata_size) |
| Allocate and initialize the Vorbis parser using headers in the extradata. | |
Vorbis audio parser.
Determines the duration for each packet.
| 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 |
| 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 |
1.8.12