Go to the source code of this file.
Functions | |
| static void | put_guid (ByteIOContext *s, const GUID *g) |
| static void | put_str16_nolen (ByteIOContext *s, const char *tag) |
| static void | put_str16 (ByteIOContext *s, const char *tag) |
| static int64_t | put_header (ByteIOContext *pb, const GUID *g) |
| static void | end_header (ByteIOContext *pb, int64_t pos) |
| static void | put_chunk (AVFormatContext *s, int type, int payload_length, int flags) |
| static int64_t | unix_to_file_time (int ti) |
| static int | asf_write_header1 (AVFormatContext *s, int64_t file_size, int64_t data_chunk_size) |
| static int | asf_write_header (AVFormatContext *s) |
| static int | asf_write_stream_header (AVFormatContext *s) |
| static int | put_payload_parsing_info (AVFormatContext *s, unsigned int sendtime, unsigned int duration, int nb_payloads, int padsize) |
| static void | flush_packet (AVFormatContext *s) |
| static void | put_payload_header (AVFormatContext *s, ASFStream *stream, int presentation_time, int m_obj_size, int m_obj_offset, int payload_len, int flags) |
| static void | put_frame (AVFormatContext *s, ASFStream *stream, AVStream *avst, int timestamp, const uint8_t *buf, int m_obj_size, int flags) |
| static int | asf_write_packet (AVFormatContext *s, AVPacket *pkt) |
| static int | asf_write_index (AVFormatContext *s, ASFIndex *index, uint16_t max, uint32_t count) |
| static int | asf_write_trailer (AVFormatContext *s) |
Variables | |
| static const AVCodecTag | codec_asf_bmp_tags [] |
| AVOutputFormat | asf_muxer |
| AVOutputFormat | asf_stream_muxer |
| static void put_guid | ( | ByteIOContext * | s, | |
| const GUID * | g | |||
| ) | [static] |
Definition at line 199 of file asf-enc.c.
Referenced by asf_write_header1(), asf_write_index(), and put_header().
| static void put_str16_nolen | ( | ByteIOContext * | s, | |
| const char * | tag | |||
| ) | [static] |
| static void put_str16 | ( | ByteIOContext * | s, | |
| const char * | tag | |||
| ) | [static] |
| static int64_t put_header | ( | ByteIOContext * | pb, | |
| const GUID * | g | |||
| ) | [static] |
| static void end_header | ( | ByteIOContext * | pb, | |
| int64_t | pos | |||
| ) | [static] |
| static void put_chunk | ( | AVFormatContext * | s, | |
| int | type, | |||
| int | payload_length, | |||
| int | flags | |||
| ) | [static] |
Definition at line 244 of file asf-enc.c.
Referenced by asf_write_header1(), asf_write_trailer(), and flush_packet().
| static int64_t unix_to_file_time | ( | int | ti | ) | [static] |
| static int asf_write_header1 | ( | AVFormatContext * | s, | |
| int64_t | file_size, | |||
| int64_t | data_chunk_size | |||
| ) | [static] |
Definition at line 270 of file asf-enc.c.
Referenced by asf_write_header(), and asf_write_trailer().
| static int asf_write_header | ( | AVFormatContext * | s | ) | [static] |
| static int asf_write_stream_header | ( | AVFormatContext * | s | ) | [static] |
| static int put_payload_parsing_info | ( | AVFormatContext * | s, | |
| unsigned int | sendtime, | |||
| unsigned int | duration, | |||
| int | nb_payloads, | |||
| int | padsize | |||
| ) | [static] |
| static void flush_packet | ( | AVFormatContext * | s | ) | [static] |
Definition at line 582 of file asf-enc.c.
Referenced by asf_write_trailer(), ffm_write_data(), ffm_write_trailer(), output_packet(), and put_frame().
| static void put_payload_header | ( | AVFormatContext * | s, | |
| ASFStream * | stream, | |||
| int | presentation_time, | |||
| int | m_obj_size, | |||
| int | m_obj_offset, | |||
| int | payload_len, | |||
| int | flags | |||
| ) | [static] |
| static void put_frame | ( | AVFormatContext * | s, | |
| ASFStream * | stream, | |||
| AVStream * | avst, | |||
| int | timestamp, | |||
| const uint8_t * | buf, | |||
| int | m_obj_size, | |||
| int | flags | |||
| ) | [static] |
| static int asf_write_packet | ( | AVFormatContext * | s, | |
| AVPacket * | pkt | |||
| ) | [static] |
| static int asf_write_index | ( | AVFormatContext * | s, | |
| ASFIndex * | index, | |||
| uint16_t | max, | |||
| uint32_t | count | |||
| ) | [static] |
| static int asf_write_trailer | ( | AVFormatContext * | s | ) | [static] |
const AVCodecTag codec_asf_bmp_tags[] [static] |
Initial value:
{
{ CODEC_ID_MPEG4, MKTAG('M', 'P', '4', 'S') },
{ CODEC_ID_MPEG4, MKTAG('M', '4', 'S', '2') },
{ CODEC_ID_MSMPEG4V3, MKTAG('M', 'P', '4', '3') },
{ CODEC_ID_NONE, 0 },
}
Initial value:
{
"asf",
"asf format",
"video/x-ms-asf",
"asf,wmv,wma",
sizeof(ASFContext),
#ifdef CONFIG_LIBMP3LAME
CODEC_ID_MP3,
#else
CODEC_ID_MP2,
#endif
CODEC_ID_MSMPEG4V3,
asf_write_header,
asf_write_packet,
asf_write_trailer,
.flags = AVFMT_GLOBALHEADER,
.codec_tag= (const AVCodecTag*[]){codec_asf_bmp_tags, codec_bmp_tags, codec_wav_tags, 0},
}
Initial value:
{
"asf_stream",
"asf format",
"video/x-ms-asf",
"asf,wmv,wma",
sizeof(ASFContext),
#ifdef CONFIG_LIBMP3LAME
CODEC_ID_MP3,
#else
CODEC_ID_MP2,
#endif
CODEC_ID_MSMPEG4V3,
asf_write_stream_header,
asf_write_packet,
asf_write_trailer,
.flags = AVFMT_GLOBALHEADER,
.codec_tag= (const AVCodecTag*[]){codec_asf_bmp_tags, codec_bmp_tags, codec_wav_tags, 0},
}
1.5.5