oggenc.c File Reference

Go to the source code of this file.

Classes

struct  OGGStreamContext

Functions

static void ogg_update_checksum (AVFormatContext *s, offset_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 (const uint8_t *extradata, int extradata_size, OGGStreamContext *oggstream, int bitexact)
static int ogg_write_header (AVFormatContext *s)
static int ogg_write_packet (AVFormatContext *s, AVPacket *pkt)
static int ogg_write_trailer (AVFormatContext *s)

Variables

AVOutputFormat ogg_muxer


Function Documentation

static void ogg_update_checksum ( AVFormatContext s,
offset_t  crc_offset 
) [static]

Definition at line 38 of file oggenc.c.

Referenced by ogg_write_page().

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 47 of file oggenc.c.

Referenced by ogg_write_header(), ogg_write_packet(), and ogg_write_trailer().

static int ogg_build_flac_headers ( const uint8_t *  extradata,
int  extradata_size,
OGGStreamContext oggstream,
int  bitexact 
) [static]

Definition at line 78 of file oggenc.c.

Referenced by ogg_write_header().

static int ogg_write_header ( AVFormatContext s  )  [static]

Definition at line 108 of file oggenc.c.

static int ogg_write_packet ( AVFormatContext s,
AVPacket pkt 
) [static]

Definition at line 168 of file oggenc.c.

static int ogg_write_trailer ( AVFormatContext s  )  [static]

Definition at line 200 of file oggenc.c.


Variable Documentation

Initial value:

 {
    "ogg",
    "Ogg format",
    "application/ogg",
    "ogg",
    0,
    CODEC_ID_FLAC,
    CODEC_ID_THEORA,
    ogg_write_header,
    ogg_write_packet,
    ogg_write_trailer,
}

Definition at line 216 of file oggenc.c.


Generated on Sat Dec 18 05:15:54 2010 for MythTV by  doxygen 1.5.5