FFmpeg
|
#include <stdlib.h>
#include "libavutil/avstring.h"
#include "libavutil/base64.h"
#include "libavutil/dict.h"
#include "libavutil/mem.h"
#include "libavcodec/bytestream.h"
#include "libavcodec/vorbis_parser.h"
#include "avformat.h"
#include "demux.h"
#include "flac_picture.h"
#include "internal.h"
#include "oggdec.h"
#include "vorbiscomment.h"
#include "replaygain.h"
Go to the source code of this file.
Data Structures | |
struct | oggvorbis_private |
Functions | |
static int | ogm_chapter (AVFormatContext *as, const uint8_t *key, const uint8_t *val) |
int | ff_vorbis_stream_comment (AVFormatContext *as, AVStream *st, const uint8_t *buf, int size) |
Parse Vorbis comments and add metadata to an AVStream. More... | |
static int | vorbis_parse_single_comment (AVFormatContext *as, AVDictionary **m, const uint8_t *buf, uint32_t size, int *updates, int parse_picture) |
This function temporarily modifies the (const qualified) input buffer and reverts its changes before return. More... | |
int | ff_vorbis_comment (AVFormatContext *as, AVDictionary **m, const uint8_t *buf, int size, int parse_picture) |
Parse Vorbis comments. More... | |
static int | fixup_vorbis_headers (AVFormatContext *as, struct oggvorbis_private *priv, uint8_t **buf) |
static void | vorbis_cleanup (AVFormatContext *s, int idx) |
static int | vorbis_update_metadata (AVFormatContext *s, int idx) |
static int | vorbis_header (AVFormatContext *s, int idx) |
static int | vorbis_packet (AVFormatContext *s, int idx) |
Variables | |
const struct ogg_codec | ff_vorbis_codec |
|
static |
Definition at line 43 of file oggparsevorbis.c.
Referenced by vorbis_parse_single_comment().
int ff_vorbis_stream_comment | ( | AVFormatContext * | as, |
AVStream * | st, | ||
const uint8_t * | buf, | ||
int | size | ||
) |
Parse Vorbis comments and add metadata to an AVStream.
Definition at line 74 of file oggparsevorbis.c.
Referenced by celt_header(), flac_header(), ogm_header(), opus_header(), speex_header(), theora_header(), vorbis_update_metadata(), and vp8_header().
|
static |
This function temporarily modifies the (const qualified) input buffer and reverts its changes before return.
The input buffer needs to have at least one byte of padding.
Definition at line 91 of file oggparsevorbis.c.
Referenced by ff_vorbis_comment().
int ff_vorbis_comment | ( | AVFormatContext * | ms, |
AVDictionary ** | m, | ||
const uint8_t * | buf, | ||
int | size, | ||
int | parse_picture | ||
) |
Parse Vorbis comments.
Definition at line 149 of file oggparsevorbis.c.
Referenced by ff_vorbis_stream_comment(), and flac_read_header().
|
static |
Definition at line 220 of file oggparsevorbis.c.
Referenced by vorbis_header().
|
static |
Definition at line 253 of file oggparsevorbis.c.
|
static |
Definition at line 266 of file oggparsevorbis.c.
Referenced by vorbis_header(), and vorbis_packet().
|
static |
Definition at line 296 of file oggparsevorbis.c.
|
static |
Definition at line 415 of file oggparsevorbis.c.
const struct ogg_codec ff_vorbis_codec |
Definition at line 511 of file oggparsevorbis.c.