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

Definition at line 25 of file ffm.c.

Referenced by ffm_is_avail_data(), and ffm_read_data().

#define FLAG_KEY_FRAME   0x01

Definition at line 30 of file ffm.c.

Referenced by ffm_read_packet().

#define FRAME_HEADER_SIZE   8

Definition at line 29 of file ffm.c.

#define PACKET_ID   0x666d

Definition at line 26 of file ffm.c.


Enumeration Type Documentation

anonymous enum

Enumerator:
READ_HEADER 
READ_DATA 

Definition at line 36 of file ffm.c.


Function Documentation

static void adjust_write_index ( AVFormatContext s  )  [static]

Definition at line 393 of file ffm.c.

Referenced by ffm_read_header().

static int ffm_is_avail_data ( AVFormatContext s,
int  size 
) [static]

Definition at line 305 of file ffm.c.

Referenced by ffm_read_packet().

static int ffm_probe ( AVProbeData p  )  [static]

Definition at line 754 of file ffm.c.

static int ffm_read_close ( AVFormatContext s  )  [static]

Definition at line 742 of file ffm.c.

static int ffm_read_data ( AVFormatContext s,
uint8_t buf,
int  size,
int  first 
) [static]

Definition at line 334 of file ffm.c.

Referenced by ffm_read_packet().

static int ffm_read_header ( AVFormatContext s,
AVFormatParameters ap 
) [static]

Definition at line 450 of file ffm.c.

static int ffm_read_packet ( AVFormatContext s,
AVPacket pkt 
) [static]

Definition at line 575 of file ffm.c.

static int ffm_seek ( AVFormatContext s,
int  stream_index,
int64_t  wanted_pts,
int  flags 
) [static]

Definition at line 670 of file ffm.c.

static void ffm_seek1 ( AVFormatContext s,
offset_t  pos1 
) [static]

Definition at line 638 of file ffm.c.

Referenced by ffm_seek(), and get_pts().

static int64_t get_pts ( AVFormatContext s,
offset_t  pos 
) [static]

Definition at line 653 of file ffm.c.

Referenced by adjust_write_index(), ffm_seek(), mpegps_read_pes_header(), and mpegts_push_data().


Variable Documentation

int ffm_nopts = 0

Definition at line 60 of file ffm.c.

Referenced by ffm_is_avail_data().


Generated on Thu Apr 2 07:16:14 2009 for ffmpeg by  doxygen 1.5.6