libavformat/ffmdec.c File Reference

#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "ffm.h"

Go to the source code of this file.

Functions

static int ffm_is_avail_data (AVFormatContext *s, int size)
static int ffm_resync (AVFormatContext *s, int state)
static int ffm_read_data (AVFormatContext *s, uint8_t *buf, int size, int header)
static void ffm_seek1 (AVFormatContext *s, int64_t pos1)
static int64_t get_dts (AVFormatContext *s, int64_t pos)
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 int ffm_seek (AVFormatContext *s, int stream_index, int64_t wanted_pts, int flags)
static int ffm_probe (AVProbeData *p)
static int ffm_close (AVFormatContext *s)

Variables

AVInputFormat ffm_demuxer


Function Documentation

static void adjust_write_index ( AVFormatContext s  )  [static]

Definition at line 198 of file ffmdec.c.

Referenced by ffm_read_header().

static int ffm_close ( AVFormatContext s  )  [static]

Definition at line 515 of file ffmdec.c.

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

Definition at line 59 of file ffmdec.c.

Referenced by ffm_read_packet().

static int ffm_probe ( AVProbeData p  )  [static]

Definition at line 506 of file ffmdec.c.

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

Definition at line 104 of file ffmdec.c.

Referenced by ffm_read_packet().

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

Definition at line 255 of file ffmdec.c.

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

Definition at line 394 of file ffmdec.c.

static int ffm_resync ( AVFormatContext s,
int  state 
) [static]

Definition at line 90 of file ffmdec.c.

Referenced by ffm_read_data().

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

Definition at line 457 of file ffmdec.c.

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

Definition at line 170 of file ffmdec.c.

Referenced by ffm_seek(), and get_dts().

static int64_t get_dts ( AVFormatContext s,
int64_t  pos 
) [static]

Definition at line 184 of file ffmdec.c.

Referenced by adjust_write_index(), and ffm_seek().


Variable Documentation

Initial value:

 {
    "ffm",
    NULL_IF_CONFIG_SMALL("FFM (FFserver live feed) format"),
    sizeof(FFMContext),
    ffm_probe,
    ffm_read_header,
    ffm_read_packet,
    ffm_close,
    ffm_seek,
}

Definition at line 525 of file ffmdec.c.


Generated on Fri Oct 26 02:36:54 2012 for FFmpeg by  doxygen 1.5.8