libavformat/ffm.c File Reference
#include "avformat.h"
#include <unistd.h>
Go to the source code of this file.
|
Data Structures |
struct | FFMStream |
struct | FFMContext |
Defines |
#define | FFM_HEADER_SIZE 14 |
#define | PACKET_ID 0x666d |
#define | FRAME_HEADER_SIZE 8 |
#define | FLAG_KEY_FRAME 0x01 |
Enumerations |
enum | { READ_HEADER,
READ_DATA
} |
Functions |
static int64_t | get_pts (AVFormatContext *s, offset_t pos) |
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) |
static int | ffm_read_close (AVFormatContext *s) |
static int | ffm_probe (AVProbeData *p) |
Variables |
int | ffm_nopts = 0 |
Define Documentation
#define FFM_HEADER_SIZE 14 |
#define FLAG_KEY_FRAME 0x01 |
#define FRAME_HEADER_SIZE 8 |
Definition at line 29 of file ffm.c.
Definition at line 26 of file ffm.c.
Enumeration Type Documentation
- Enumerator:
-
Definition at line 36 of file ffm.c.
Function Documentation
static int ffm_seek |
( |
AVFormatContext * |
s, |
|
|
int |
stream_index, |
|
|
int64_t |
wanted_pts, |
|
|
int |
flags | |
|
) |
| | [static] |
Variable Documentation