libavformat/ffm.h File Reference

#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 Documentation

#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

#define FLAG_DTS   0x02

Definition at line 37 of file ffm.h.

Referenced by ffm_read_packet(), and ffm_write_packet().

#define FLAG_KEY_FRAME   0x01

Definition at line 36 of file ffm.h.

Referenced by ffm_read_packet(), and ffm_write_packet().

#define FRAME_HEADER_SIZE   16

Definition at line 35 of file ffm.h.

#define PACKET_ID   0x666d

Definition at line 32 of file ffm.h.

Referenced by ffm_read_data(), ffm_resync(), and flush_packet().


Enumeration Type Documentation

anonymous enum

Enumerator:
READ_HEADER 
READ_DATA 

Definition at line 39 of file ffm.h.


Function Documentation

int64_t ffm_read_write_index ( int  fd  ) 

void ffm_set_write_index ( AVFormatContext s,
int64_t  pos,
int64_t  file_size 
)

Referenced by http_prepare_data().

int ffm_write_write_index ( int  fd,
int64_t  pos 
)


Generated on Fri Oct 26 02:38:20 2012 for FFmpeg by  doxygen 1.5.8