FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
ffmdec.c File Reference
#include <stdint.h>
#include "libavutil/intreadwrite.h"
#include "libavutil/intfloat.h"
#include "libavutil/opt.h"
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "avformat.h"
#include "internal.h"
#include "ffm.h"
#include "avio_internal.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 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 ffm_append_recommended_configuration (AVStream *st, char **conf)
 
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 int ffm_is_avail_data ( AVFormatContext s,
int  size 
)
static

Definition at line 34 of file ffmdec.c.

Referenced by ffm_read_packet().

static int ffm_resync ( AVFormatContext s,
int  state 
)
static

Definition at line 65 of file ffmdec.c.

Referenced by ffm_read_data().

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

Definition at line 79 of file ffmdec.c.

Referenced by ffm_read_packet().

static int64_t ffm_seek1 ( AVFormatContext s,
int64_t  pos1 
)
static

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

Referenced by adjust_write_index(), and ffm_seek().

static void adjust_write_index ( AVFormatContext s)
static

Definition at line 172 of file ffmdec.c.

Referenced by ffm2_read_header(), and ffm_read_header().

static int ffm_close ( AVFormatContext s)
static

Definition at line 226 of file ffmdec.c.

Referenced by ffm2_read_header(), and ffm_read_header().

static int ffm_append_recommended_configuration ( AVStream st,
char **  conf 
)
static

Definition at line 236 of file ffmdec.c.

Referenced by ffm2_read_header().

static int ffm2_read_header ( AVFormatContext s)
static

Definition at line 257 of file ffmdec.c.

Referenced by ffm_read_header().

static int ffm_read_header ( AVFormatContext s)
static

Definition at line 453 of file ffmdec.c.

static int ffm_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 581 of file ffmdec.c.

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

Definition at line 643 of file ffmdec.c.

static int ffm_probe ( AVProbeData p)
static

Definition at line 705 of file ffmdec.c.

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),
}

Definition at line 714 of file ffmdec.c.