#include "libavutil/crc.h"#include "libavcodec/xiph.h"#include "libavcodec/bytestream.h"#include "libavcodec/flac.h"#include "avformat.h"#include "internal.h"Go to the source code of this file.
Data Structures | |
| struct | OGGStreamContext |
Functions | |
| static void | ogg_update_checksum (AVFormatContext *s, int64_t crc_offset) |
| static int | ogg_write_page (AVFormatContext *s, const uint8_t *data, int size, int64_t granule, int stream_index, int flags) |
| static int | ogg_build_flac_headers (AVCodecContext *avctx, OGGStreamContext *oggstream, int bitexact) |
| static int | ogg_write_header (AVFormatContext *s) |
| static int | ogg_write_packet (AVFormatContext *s, AVPacket *pkt) |
| static int | ogg_compare_granule (AVFormatContext *s, AVPacket *next, AVPacket *pkt) |
| static int | ogg_interleave_per_granule (AVFormatContext *s, AVPacket *out, AVPacket *pkt, int flush) |
| static int | ogg_write_trailer (AVFormatContext *s) |
Variables | |
| AVOutputFormat | ogg_muxer |
| static int ogg_build_flac_headers | ( | AVCodecContext * | avctx, | |
| OGGStreamContext * | oggstream, | |||
| int | bitexact | |||
| ) | [static] |
Definition at line 86 of file oggenc.c.
Referenced by ogg_write_header().
| static int ogg_compare_granule | ( | AVFormatContext * | s, | |
| AVPacket * | next, | |||
| AVPacket * | pkt | |||
| ) | [static] |
Definition at line 209 of file oggenc.c.
Referenced by ogg_interleave_per_granule().
| static int ogg_interleave_per_granule | ( | AVFormatContext * | s, | |
| AVPacket * | out, | |||
| AVPacket * | pkt, | |||
| int | flush | |||
| ) | [static] |
| static void ogg_update_checksum | ( | AVFormatContext * | s, | |
| int64_t | crc_offset | |||
| ) | [static] |
Definition at line 41 of file oggenc.c.
Referenced by ogg_write_page().
| 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, | |
| const uint8_t * | data, | |||
| int | size, | |||
| int64_t | granule, | |||
| int | stream_index, | |||
| int | flags | |||
| ) | [static] |
Definition at line 50 of file oggenc.c.
Referenced by ogg_write_header(), and ogg_write_packet().
| static int ogg_write_trailer | ( | AVFormatContext * | s | ) | [static] |
{
"ogg",
NULL_IF_CONFIG_SMALL("Ogg"),
"application/ogg",
"ogg,ogv",
0,
CODEC_ID_FLAC,
CODEC_ID_THEORA,
ogg_write_header,
ogg_write_packet,
ogg_write_trailer,
.interleave_packet = ogg_interleave_per_granule,
}
1.7.1