| 
    FFmpeg
    
   | 
 
Vorbis audio parser. More...
Go to the source code of this file.
Data Structures | |
| struct | AVVorbisParseContext | 
Functions | |
| int | avpriv_vorbis_parse_extradata (AVCodecContext *avctx, AVVorbisParseContext *s) | 
| Initialize the Vorbis parser using headers in the extradata.  More... | |
| int | avpriv_vorbis_parse_frame_flags (AVVorbisParseContext *s, const uint8_t *buf, int buf_size, int *flags) | 
| Get the duration for a Vorbis packet.  More... | |
| int | avpriv_vorbis_parse_frame (AVVorbisParseContext *s, const uint8_t *buf, int buf_size) | 
| Get the duration for a Vorbis packet.  More... | |
| void | avpriv_vorbis_parse_reset (AVVorbisParseContext *s) | 
Vorbis audio parser.
Determines the duration for each packet.
Definition in file vorbis_parser_internal.h.
| int avpriv_vorbis_parse_extradata | ( | AVCodecContext * | avctx, | 
| AVVorbisParseContext * | s | ||
| ) | 
Initialize the Vorbis parser using headers in the extradata.
| avctx | codec context | 
| s | Vorbis parser context | 
Definition at line 300 of file vorbis_parser.c.
| int avpriv_vorbis_parse_frame_flags | ( | AVVorbisParseContext * | s, | 
| const uint8_t * | buf, | ||
| int | buf_size, | ||
| int * | flags | ||
| ) | 
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. 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 | 
Definition at line 313 of file vorbis_parser.c.
| int avpriv_vorbis_parse_frame | ( | AVVorbisParseContext * | 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.
| s | Vorbis parser context | 
| buf | buffer containing a Vorbis frame | 
| buf_size | size of the buffer | 
Definition at line 308 of file vorbis_parser.c.
| void avpriv_vorbis_parse_reset | ( | AVVorbisParseContext * | s | ) | 
Definition at line 304 of file vorbis_parser.c.
 1.8.6