#include "libavutil/crc.h"#include "libavutil/opt.h"#include "libavutil/random_seed.h"#include "libavcodec/xiph.h"#include "libavcodec/bytestream.h"#include "libavcodec/flac.h"#include "avformat.h"#include "avio_internal.h"#include "internal.h"#include "vorbiscomment.h"Go to the source code of this file.
| #define SPEEX_HEADER_SIZE 80 |
| static int ogg_buffer_data | ( | AVFormatContext * | s, | |
| AVStream * | st, | |||
| uint8_t * | data, | |||
| unsigned | size, | |||
| int64_t | granule | |||
| ) | [static] |
| static int ogg_buffer_page | ( | AVFormatContext * | s, | |
| OGGStreamContext * | oggstream | |||
| ) | [static] |
Definition at line 167 of file oggenc.c.
Referenced by ogg_buffer_data(), ogg_write_header(), and ogg_write_trailer().
| static int ogg_build_flac_headers | ( | AVCodecContext * | avctx, | |
| OGGStreamContext * | oggstream, | |||
| int | bitexact, | |||
| AVDictionary ** | m | |||
| ) | [static] |
| static int ogg_build_speex_headers | ( | AVCodecContext * | avctx, | |
| OGGStreamContext * | oggstream, | |||
| int | bitexact, | |||
| AVDictionary ** | m | |||
| ) | [static] |
| static int ogg_compare_granule | ( | AVFormatContext * | s, | |
| OGGPage * | next, | |||
| OGGPage * | page | |||
| ) | [static] |
| static int64_t ogg_granule_to_timestamp | ( | OGGStreamContext * | oggstream, | |
| int64_t | granule | |||
| ) | [static] |
Definition at line 133 of file oggenc.c.
Referenced by ogg_buffer_data(), and ogg_compare_granule().
| static int ogg_reset_cur_page | ( | OGGStreamContext * | oggstream | ) | [static] |
| static void ogg_update_checksum | ( | AVFormatContext * | s, | |
| AVIOContext * | pb, | |||
| int64_t | crc_offset | |||
| ) | [static] |
| static int ogg_write_header | ( | AVFormatContext * | s | ) | [static] |
| static int ogg_write_packet | ( | AVFormatContext * | s, | |
| AVPacket * | pkt | |||
| ) | [static] |
| static int ogg_write_page | ( | AVFormatContext * | s, | |
| OGGPage * | page, | |||
| int | extra_flags | |||
| ) | [static] |
| static void ogg_write_pages | ( | AVFormatContext * | s, | |
| int | flush | |||
| ) | [static] |
| static int ogg_write_trailer | ( | AVFormatContext * | s | ) | [static] |
| static uint8_t* ogg_write_vorbiscomment | ( | int | offset, | |
| int | bitexact, | |||
| int * | header_len, | |||
| AVDictionary ** | m, | |||
| int | framing_bit | |||
| ) | [static] |
Definition at line 243 of file oggenc.c.
Referenced by ogg_build_flac_headers(), ogg_build_speex_headers(), and ogg_write_header().
Initial value:
{
"ogg",
NULL_IF_CONFIG_SMALL("Ogg"),
"application/ogg",
"ogg,ogv,spx",
sizeof(OGGContext),
CODEC_ID_FLAC,
CODEC_ID_THEORA,
ogg_write_header,
ogg_write_packet,
ogg_write_trailer,
.priv_class = &ogg_muxer_class,
}
const AVClass ogg_muxer_class [static] |
Initial value:
{
"Ogg muxer",
av_default_item_name,
options,
LIBAVUTIL_VERSION_INT,
}
Initial value:
{
{ "oggpagesize", "Set preferred Ogg page size.",
0x42, FF_OPT_TYPE_INT, 0, 0, MAX_PAGE_SIZE, AV_OPT_FLAG_ENCODING_PARAM},
{ NULL },
}
1.5.8