Go to the source code of this file.
Functions |
static void | ogg_update_checksum (AVFormatContext *s, AVIOContext *pb, int64_t crc_offset) |
static int | ogg_write_page (AVFormatContext *s, OGGPage *page, int extra_flags) |
static int64_t | ogg_granule_to_timestamp (OGGStreamContext *oggstream, int64_t granule) |
static int | ogg_compare_granule (AVFormatContext *s, OGGPage *next, OGGPage *page) |
static int | ogg_reset_cur_page (OGGStreamContext *oggstream) |
static int | ogg_buffer_page (AVFormatContext *s, OGGStreamContext *oggstream) |
static int | ogg_buffer_data (AVFormatContext *s, AVStream *st, uint8_t *data, unsigned size, int64_t granule) |
static uint8_t * | ogg_write_vorbiscomment (int offset, int bitexact, int *header_len, AVDictionary **m, int framing_bit) |
static int | ogg_build_flac_headers (AVCodecContext *avctx, OGGStreamContext *oggstream, int bitexact, AVDictionary **m) |
static int | ogg_build_speex_headers (AVCodecContext *avctx, OGGStreamContext *oggstream, int bitexact, AVDictionary **m) |
static int | ogg_write_header (AVFormatContext *s) |
static void | ogg_write_pages (AVFormatContext *s, int flush) |
static int | ogg_write_packet (AVFormatContext *s, AVPacket *pkt) |
static int | ogg_write_trailer (AVFormatContext *s) |
Macro Definition Documentation
#define MAX_PAGE_SIZE 65025 |
#define SPEEX_HEADER_SIZE 80 |
Typedef Documentation
Function Documentation
static int64_t ogg_granule_to_timestamp |
( |
OGGStreamContext * |
oggstream, |
|
|
int64_t |
granule |
|
) |
| |
|
static |
KFGSHIFT is the width of the less significant section of the granule position The less significant section is the frame count since the last keyframe
Definition at line 316 of file oggenc.c.
static uint8_t* ogg_write_vorbiscomment |
( |
int |
offset, |
|
|
int |
bitexact, |
|
|
int * |
header_len, |
|
|
AVDictionary ** |
m, |
|
|
int |
framing_bit |
|
) |
| |
|
static |
Variable Documentation
Initial value: {
.name = "ogg",
.mime_type = "application/ogg",
.extensions = "ogg,ogv,spx",
}
Definition at line 507 of file oggenc.c.