ffmdec.c File Reference
#include "libavutil/intreadwrite.h"
#include "libavutil/intfloat.h"
#include "avformat.h"
#include "internal.h"
#include "ffm.h"
#include "avio_internal.h"
Include dependency graph for ffmdec.c:

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 int64_t 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_close (AVFormatContext *s)
 
static int ffm2_read_header (AVFormatContext *s)
 
static int ffm_read_header (AVFormatContext *s)
 
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)
 

Variables

AVInputFormat ff_ffm_demuxer
 

Function Documentation

static void adjust_write_index ( AVFormatContext s)
static

Definition at line 167 of file ffmdec.c.

Referenced by ffm2_read_header(), and ffm_read_header().

static int ffm2_read_header ( AVFormatContext s)
static

Definition at line 231 of file ffmdec.c.

Referenced by ffm_read_header().

static int ffm_close ( AVFormatContext s)
static

Definition at line 221 of file ffmdec.c.

Referenced by ffm2_read_header(), and ffm_read_header().

static int ffm_is_avail_data ( AVFormatContext s,
int  size 
)
static

Definition at line 29 of file ffmdec.c.

Referenced by ffm_read_packet().

static int ffm_probe ( AVProbeData p)
static

Definition at line 621 of file ffmdec.c.

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

Definition at line 74 of file ffmdec.c.

Referenced by ffm_read_packet().

static int ffm_read_header ( AVFormatContext s)
static

Definition at line 366 of file ffmdec.c.

static int ffm_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 497 of file ffmdec.c.

static int ffm_resync ( AVFormatContext s,
int  state 
)
static

Definition at line 60 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 559 of file ffmdec.c.

static int64_t ffm_seek1 ( AVFormatContext s,
int64_t  pos1 
)
static

Definition at line 143 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 155 of file ffmdec.c.

Referenced by adjust_write_index(), and ffm_seek().

Variable Documentation

AVInputFormat ff_ffm_demuxer
Initial value:
= {
.name = "ffm",
.long_name = NULL_IF_CONFIG_SMALL("FFM (FFserver live feed)"),
.priv_data_size = sizeof(FFMContext),
}
struct FFMContext FFMContext
static int read_seek(AVFormatContext *ctx, int stream_index, int64_t timestamp, int flags)
Definition: libcdio.c:153
static int ffm_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: ffmdec.c:497
static av_cold int read_close(AVFormatContext *ctx)
Definition: libcdio.c:145
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int ffm_probe(AVProbeData *p)
Definition: ffmdec.c:621
static int read_probe(AVProbeData *pd)
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:517
static int ffm_close(AVFormatContext *s)
Definition: ffmdec.c:221
static int read_packet(AVFormatContext *ctx, AVPacket *pkt)
Definition: libcdio.c:114
static int ffm_read_header(AVFormatContext *s)
Definition: ffmdec.c:366
static int ffm_seek(AVFormatContext *s, int stream_index, int64_t wanted_pts, int flags)
Definition: ffmdec.c:559

Definition at line 630 of file ffmdec.c.