FFmpeg
|
vorbis_parser.h File Reference
Vorbis audio parser. More...
#include "avcodec.h"
Include dependency graph for vorbis_parser.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
struct | VorbisParseContext |
Typedefs | |
typedef struct VorbisParseContext | VorbisParseContext |
Functions | |
int | avpriv_vorbis_parse_extradata (AVCodecContext *avctx, VorbisParseContext *s) |
Initialize the Vorbis parser using headers in the extradata. More... | |
int | avpriv_vorbis_parse_frame (VorbisParseContext *s, const uint8_t *buf, int buf_size) |
Get the duration for a Vorbis packet. More... | |
void | avpriv_vorbis_parse_reset (VorbisParseContext *s) |
Detailed Description
Typedef Documentation
typedef struct VorbisParseContext VorbisParseContext |
Function Documentation
int avpriv_vorbis_parse_extradata | ( | AVCodecContext * | avctx, |
VorbisParseContext * | s | ||
) |
Initialize the Vorbis parser using headers in the extradata.
- Parameters
-
avctx codec context s Vorbis parser context
Definition at line 176 of file vorbis_parser.c.
Referenced by avpriv_vorbis_parse_reset(), oggvorbis_encode_init(), and vorbis_header().
int avpriv_vorbis_parse_frame | ( | VorbisParseContext * | s, |
const uint8_t * | buf, | ||
int | buf_size | ||
) |
Get the duration for a Vorbis packet.
avpriv_vorbis_parse_extradata() must have been successfully called prior to this in order for a correct duration to be returned.
- Parameters
-
s Vorbis parser context buf buffer containing a Vorbis frame buf_size size of the buffer
Definition at line 204 of file vorbis_parser.c.
Referenced by avpriv_vorbis_parse_reset(), oggvorbis_encode_frame(), and vorbis_packet().
void avpriv_vorbis_parse_reset | ( | VorbisParseContext * | s | ) |
Definition at line 237 of file vorbis_parser.c.
Referenced by vorbis_packet().
Generated on Fri Dec 20 2024 06:56:16 for FFmpeg by 1.8.11