oggdec.c File Reference

Go to the source code of this file.

Functions

static int ogg_save (AVFormatContext *s)
static int ogg_restore (AVFormatContext *s, int discard)
static int ogg_reset (ogg_t *ogg)
static ogg_codec_togg_find_codec (uint8_t *buf, int size)
static int ogg_find_stream (ogg_t *ogg, int serial)
static int ogg_new_stream (AVFormatContext *s, uint32_t serial)
static int ogg_new_buf (ogg_t *ogg, int idx)
static int ogg_read_page (AVFormatContext *s, int *str)
static int ogg_packet (AVFormatContext *s, int *str, int *dstart, int *dsize)
static int ogg_get_headers (AVFormatContext *s)
static uint64_t ogg_gptopts (AVFormatContext *s, int i, uint64_t gp)
static int ogg_get_length (AVFormatContext *s)
static int ogg_read_header (AVFormatContext *s, AVFormatParameters *ap)
static int ogg_read_packet (AVFormatContext *s, AVPacket *pkt)
static int ogg_read_close (AVFormatContext *s)
static int64_t ogg_read_timestamp (AVFormatContext *s, int stream_index, int64_t *pos_arg, int64_t pos_limit)
static int ogg_probe (AVProbeData *p)

Variables

static ogg_codec_togg_codecs []
AVInputFormat ogg_demuxer


Function Documentation

static int ogg_save ( AVFormatContext s  )  [static]

Definition at line 53 of file oggdec.c.

Referenced by ogg_get_length().

static int ogg_restore ( AVFormatContext s,
int  discard 
) [static]

Definition at line 78 of file oggdec.c.

Referenced by ogg_get_length().

static int ogg_reset ( ogg_t ogg  )  [static]

Definition at line 107 of file oggdec.c.

Referenced by ogg_read_timestamp().

static ogg_codec_t* ogg_find_codec ( uint8_t *  buf,
int  size 
) [static]

Definition at line 128 of file oggdec.c.

Referenced by ogg_packet().

static int ogg_find_stream ( ogg_t ogg,
int  serial 
) [static]

Definition at line 141 of file oggdec.c.

Referenced by ogg_read_page().

static int ogg_new_stream ( AVFormatContext s,
uint32_t  serial 
) [static]

Definition at line 153 of file oggdec.c.

Referenced by ogg_read_page().

static int ogg_new_buf ( ogg_t ogg,
int  idx 
) [static]

Definition at line 180 of file oggdec.c.

Referenced by ogg_read_page().

static int ogg_read_page ( AVFormatContext s,
int *  str 
) [static]

Definition at line 197 of file oggdec.c.

Referenced by ogg_get_length(), ogg_packet(), and ogg_read_timestamp().

static int ogg_packet ( AVFormatContext s,
int *  str,
int *  dstart,
int *  dsize 
) [static]

static int ogg_get_headers ( AVFormatContext s  )  [static]

Definition at line 401 of file oggdec.c.

Referenced by ogg_read_header().

static uint64_t ogg_gptopts ( AVFormatContext s,
int  i,
uint64_t  gp 
) [static]

Definition at line 418 of file oggdec.c.

Referenced by ogg_get_length(), ogg_read_packet(), and ogg_read_timestamp().

static int ogg_get_length ( AVFormatContext s  )  [static]

Definition at line 435 of file oggdec.c.

Referenced by ogg_read_header().

static int ogg_read_header ( AVFormatContext s,
AVFormatParameters ap 
) [static]

Definition at line 485 of file oggdec.c.

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

Definition at line 503 of file oggdec.c.

static int ogg_read_close ( AVFormatContext s  )  [static]

Definition at line 536 of file oggdec.c.

static int64_t ogg_read_timestamp ( AVFormatContext s,
int  stream_index,
int64_t pos_arg,
int64_t  pos_limit 
) [static]

Definition at line 551 of file oggdec.c.

static int ogg_probe ( AVProbeData p  )  [static]

Definition at line 573 of file oggdec.c.


Variable Documentation

ogg_codec_t* ogg_codecs[] [static]

Initial value:

Definition at line 40 of file oggdec.c.

Initial value:

 {
    "ogg",
    "Ogg",
    sizeof (ogg_t),
    ogg_probe,
    ogg_read_header,
    ogg_read_packet,
    ogg_read_close,
    NULL,
    ogg_read_timestamp,
    .extensions = "ogg",
}

Definition at line 583 of file oggdec.c.


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