ffm.c File Reference
Go to the source code of this file.
|
Classes |
| struct | FFMStream |
| struct | FFMContext |
Enumerations |
| enum | { READ_HEADER,
READ_DATA
} |
Functions |
| static int64_t | get_pts (AVFormatContext *s, offset_t pos) |
| static void | flush_packet (AVFormatContext *s) |
| static void | ffm_write_data (AVFormatContext *s, const uint8_t *buf, int size, int64_t pts, int first) |
| static int | ffm_write_header (AVFormatContext *s) |
| static int | ffm_write_packet (AVFormatContext *s, AVPacket *pkt) |
| static int | ffm_write_trailer (AVFormatContext *s) |
| static int | ffm_is_avail_data (AVFormatContext *s, int size) |
| static int | ffm_read_data (AVFormatContext *s, uint8_t *buf, int size, int first) |
| static void | adjust_write_index (AVFormatContext *s) |
| static int | ffm_read_header (AVFormatContext *s, AVFormatParameters *ap) |
| static int | ffm_read_packet (AVFormatContext *s, AVPacket *pkt) |
| static void | ffm_seek1 (AVFormatContext *s, offset_t pos1) |
| static int | ffm_seek (AVFormatContext *s, int stream_index, int64_t wanted_pts, int flags) |
| offset_t | ffm_read_write_index (int fd) |
| void | ffm_write_write_index (int fd, offset_t pos) |
| void | ffm_set_write_index (AVFormatContext *s, offset_t pos, offset_t file_size) |
| static int | ffm_read_close (AVFormatContext *s) |
| static int | ffm_probe (AVProbeData *p) |
Variables |
| int | ffm_nopts = 0 |
| AVInputFormat | ffm_demuxer |
| AVOutputFormat | ffm_muxer |
Enumeration Type Documentation
- Enumerator:
-
Definition at line 36 of file ffm.c.
Function Documentation
Definition at line 63 of file ffm.c.
| static void ffm_write_data |
( |
AVFormatContext * |
s, |
|
|
const uint8_t * |
buf, |
|
|
int |
size, |
|
|
int64_t |
pts, |
|
|
int |
first | |
|
) |
| | [static] |
| static int ffm_read_data |
( |
AVFormatContext * |
s, |
|
|
uint8_t * |
buf, |
|
|
int |
size, |
|
|
int |
first | |
|
) |
| | [static] |
| offset_t ffm_read_write_index |
( |
int |
fd |
) |
|
| void ffm_write_write_index |
( |
int |
fd, |
|
|
offset_t |
pos | |
|
) |
| | |
Variable Documentation
Initial value:
Definition at line 764 of file ffm.c.
Initial value:
{
"ffm",
"ffm format",
"",
"ffm",
sizeof(FFMContext),
CODEC_ID_MP2,
CODEC_ID_MPEG1VIDEO,
ffm_write_header,
ffm_write_packet,
ffm_write_trailer,
}
Definition at line 776 of file ffm.c.