asf.c File Reference

Go to the source code of this file.

Functions

void ff_mms_set_stream_selection (URLContext *h, AVFormatContext *format)
static void print_guid (const GUID *g)
static void get_guid (ByteIOContext *s, GUID *g)
static void get_str16 (ByteIOContext *pb, char *buf, int buf_size)
static int is_mms (ByteIOContext *pb)
static void get_str16_nolen (ByteIOContext *pb, int len, char *buf, int buf_size)
static int asf_probe (AVProbeData *pd)
static int get_value (ByteIOContext *pb, int type)
static int asf_read_header (AVFormatContext *s, AVFormatParameters *ap)
static int asf_get_packet (AVFormatContext *s)
static int asf_read_frame_header (AVFormatContext *s)
static int asf_read_packet (AVFormatContext *s, AVPacket *pkt)
static void asf_reset_header (AVFormatContext *s)
static int asf_read_close (AVFormatContext *s)
static int64_t asf_read_pts (AVFormatContext *s, int stream_index, int64_t *ppos, int64_t pos_limit)
static void asf_build_simple_index (AVFormatContext *s, int stream_index)
static int asf_read_seek (AVFormatContext *s, int stream_index, int64_t pts, int flags)

Variables

static const GUID index_guid
static const GUID stream_bitrate_guid
AVInputFormat asf_demuxer


Function Documentation

void ff_mms_set_stream_selection ( URLContext h,
AVFormatContext format 
)

Referenced by asf_read_header().

static void print_guid ( const GUID g  )  [static]

Definition at line 53 of file asf.c.

Referenced by asf_read_header().

static void get_guid ( ByteIOContext s,
GUID g 
) [static]

static void get_str16 ( ByteIOContext pb,
char *  buf,
int  buf_size 
) [static]

Definition at line 94 of file asf.c.

Referenced by asf_read_header(), and rm_read_header().

static int is_mms ( ByteIOContext pb  )  [static]

Definition at line 111 of file asf.c.

Referenced by asf_read_header().

static void get_str16_nolen ( ByteIOContext pb,
int  len,
char *  buf,
int  buf_size 
) [static]

Definition at line 117 of file asf.c.

Referenced by asf_read_header().

static int asf_probe ( AVProbeData pd  )  [static]

Definition at line 128 of file asf.c.

static int get_value ( ByteIOContext pb,
int  type 
) [static]

Definition at line 137 of file asf.c.

Referenced by asf_read_header().

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

Definition at line 147 of file asf.c.

static int asf_get_packet ( AVFormatContext s  )  [static]

Returns:
<0 in case of an error

Definition at line 582 of file asf.c.

Referenced by asf_read_packet().

static int asf_read_frame_header ( AVFormatContext s  )  [static]

Returns:
<0 if error

Definition at line 659 of file asf.c.

Referenced by asf_read_packet().

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

Definition at line 730 of file asf.c.

static void asf_reset_header ( AVFormatContext s  )  [static]

Definition at line 907 of file asf.c.

Referenced by asf_read_close(), asf_read_pts(), and asf_read_seek().

static int asf_read_close ( AVFormatContext s  )  [static]

Definition at line 942 of file asf.c.

static int64_t asf_read_pts ( AVFormatContext s,
int  stream_index,
int64_t ppos,
int64_t  pos_limit 
) [static]

Definition at line 955 of file asf.c.

static void asf_build_simple_index ( AVFormatContext s,
int  stream_index 
) [static]

Definition at line 1006 of file asf.c.

Referenced by asf_read_seek().

static int asf_read_seek ( AVFormatContext s,
int  stream_index,
int64_t  pts,
int  flags 
) [static]

Definition at line 1042 of file asf.c.


Variable Documentation

const GUID index_guid [static]

Initial value:

 {
    0x90, 0x08, 0x00, 0x33, 0xb1, 0xe5, 0xcf, 0x11, 0x89, 0xf4, 0x00, 0xa0, 0xc9, 0x03, 0x49, 0xcb
}

Definition at line 36 of file asf.c.

Referenced by asf_build_simple_index(), and print_guid().

const GUID stream_bitrate_guid [static]

Initial value:

 { 
    0xce, 0x75, 0xf8, 0x7b, 0x8d, 0x46, 0xd1, 0x11, 0x8d, 0x82, 0x00, 0x60, 0x97, 0xc9, 0xa2, 0xb2
}

Definition at line 40 of file asf.c.

Referenced by asf_read_header(), and print_guid().

Initial value:

Definition at line 1096 of file asf.c.


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