swf.c File Reference
Go to the source code of this file.
|
Classes |
| struct | SWFContext |
Functions |
| static void | put_swf_tag (AVFormatContext *s, int tag) |
| static void | put_swf_end_tag (AVFormatContext *s) |
| static void | max_nbits (int *nbits_ptr, int val) |
| static void | put_swf_rect (ByteIOContext *pb, int xmin, int xmax, int ymin, int ymax) |
| static void | put_swf_line_edge (PutBitContext *pb, int dx, int dy) |
| static void | put_swf_matrix (ByteIOContext *pb, int a, int b, int c, int d, int tx, int ty) |
| static int | swf_write_header (AVFormatContext *s) |
| static int | swf_write_video (AVFormatContext *s, AVCodecContext *enc, const uint8_t *buf, int size) |
| static int | swf_write_audio (AVFormatContext *s, AVCodecContext *enc, const uint8_t *buf, int size) |
| static int | swf_write_packet (AVFormatContext *s, AVPacket *pkt) |
| static int | swf_write_trailer (AVFormatContext *s) |
| static int | get_swf_tag (ByteIOContext *pb, int *len_ptr) |
| static int | swf_probe (AVProbeData *p) |
| static int | swf_read_header (AVFormatContext *s, AVFormatParameters *ap) |
| static int | swf_read_packet (AVFormatContext *s, AVPacket *pkt) |
| static int | swf_read_close (AVFormatContext *s) |
Variables |
| static const AVCodecTag | swf_codec_tags [] |
| static const AVCodecTag | swf_audio_codec_tags [] |
| AVInputFormat | swf_demuxer |
| AVOutputFormat | swf_muxer |
Function Documentation
| static void max_nbits |
( |
int * |
nbits_ptr, |
|
|
int |
val | |
|
) |
| | [inline, static] |
| static void put_swf_rect |
( |
ByteIOContext * |
pb, |
|
|
int |
xmin, |
|
|
int |
xmax, |
|
|
int |
ymin, |
|
|
int |
ymax | |
|
) |
| | [static] |
| static void put_swf_line_edge |
( |
PutBitContext * |
pb, |
|
|
int |
dx, |
|
|
int |
dy | |
|
) |
| | [static] |
| static void put_swf_matrix |
( |
ByteIOContext * |
pb, |
|
|
int |
a, |
|
|
int |
b, |
|
|
int |
c, |
|
|
int |
d, |
|
|
int |
tx, |
|
|
int |
ty | |
|
) |
| | [static] |
| static int get_swf_tag |
( |
ByteIOContext * |
pb, |
|
|
int * |
len_ptr | |
|
) |
| | [static] |
Variable Documentation
Initial value:
Definition at line 80 of file swf.c.
Initial value:
{
{CODEC_ID_PCM_S16LE, 0x00},
{CODEC_ID_ADPCM_SWF, 0x01},
{CODEC_ID_MP3, 0x02},
{CODEC_ID_PCM_S16LE, 0x03},
{0, 0},
}
Definition at line 86 of file swf.c.
Initial value:
Definition at line 760 of file swf.c.
Initial value:
{
"swf",
"Flash format",
"application/x-shockwave-flash",
"swf",
sizeof(SWFContext),
CODEC_ID_MP3,
CODEC_ID_FLV1,
swf_write_header,
swf_write_packet,
swf_write_trailer,
}
Definition at line 771 of file swf.c.