#include <stdint.h>
#include "avformat.h"
#include "avio.h"
Go to the source code of this file.
Data Structures | |
struct | FFMContext |
Defines | |
#define | FFM_HEADER_SIZE 14 |
#define | FFM_PACKET_SIZE 4096 |
#define | PACKET_ID 0x666d |
#define | FRAME_HEADER_SIZE 16 |
#define | FLAG_KEY_FRAME 0x01 |
#define | FLAG_DTS 0x02 |
Enumerations | |
enum | { READ_HEADER, READ_DATA } |
Functions | |
int64_t | ffm_read_write_index (int fd) |
int | ffm_write_write_index (int fd, int64_t pos) |
void | ffm_set_write_index (AVFormatContext *s, int64_t pos, int64_t file_size) |
#define FFM_HEADER_SIZE 14 |
Definition at line 30 of file ffm.h.
Referenced by ffm_is_avail_data(), ffm_read_data(), ffm_write_data(), and ffm_write_header().
#define FFM_PACKET_SIZE 4096 |
Definition at line 31 of file ffm.h.
Referenced by adjust_write_index(), build_feed_streams(), ffm_is_avail_data(), ffm_read_header(), ffm_seek(), ffm_seek1(), ffm_write_header(), http_receive_data(), http_start_receive_data(), open_input_stream(), and parse_ffconfig().
#define FLAG_DTS 0x02 |
#define FLAG_KEY_FRAME 0x01 |
#define PACKET_ID 0x666d |
Definition at line 32 of file ffm.h.
Referenced by ffm_read_data(), ffm_resync(), and flush_packet().
int64_t ffm_read_write_index | ( | int | fd | ) |
Referenced by build_feed_streams(), and http_start_receive_data().
void ffm_set_write_index | ( | AVFormatContext * | s, | |
int64_t | pos, | |||
int64_t | file_size | |||
) |
Referenced by http_prepare_data().
Referenced by http_receive_data(), and http_start_receive_data().