FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
mvdec.c File Reference

Silicon Graphics Movie demuxer. More...

#include "libavutil/eval.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/rational.h"
#include "avformat.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  MvContext
 

Macros

#define AUDIO_FORMAT_SIGNED   401
 

Functions

static int mv_probe (AVProbeData *p)
 
static char * var_read_string (AVIOContext *pb, int size)
 
static int var_read_int (AVIOContext *pb, int size)
 
static AVRational var_read_float (AVIOContext *pb, int size)
 
static void var_read_metadata (AVFormatContext *avctx, const char *tag, int size)
 
static int set_channels (AVFormatContext *avctx, AVStream *st, int channels)
 
static int parse_global_var (AVFormatContext *avctx, AVStream *st, const char *name, int size)
 Parse global variable.
 
static int parse_audio_var (AVFormatContext *avctx, AVStream *st, const char *name, int size)
 Parse audio variable.
 
static int parse_video_var (AVFormatContext *avctx, AVStream *st, const char *name, int size)
 Parse video variable.
 
static void read_table (AVFormatContext *avctx, AVStream *st, int(*parse)(AVFormatContext *avctx, AVStream *st, const char *name, int size))
 
static void read_index (AVIOContext *pb, AVStream *st)
 
static int mv_read_header (AVFormatContext *avctx)
 
static int mv_read_packet (AVFormatContext *avctx, AVPacket *pkt)
 
static int mv_read_seek (AVFormatContext *avctx, int stream_index, int64_t timestamp, int flags)
 

Variables

AVInputFormat ff_mv_demuxer
 

Detailed Description

Silicon Graphics Movie demuxer.

Definition in file mvdec.c.

Macro Definition Documentation

#define AUDIO_FORMAT_SIGNED   401

Definition at line 42 of file mvdec.c.

Referenced by mv_read_header().

Function Documentation

static int mv_probe ( AVProbeData p)
static

Definition at line 44 of file mvdec.c.

static char* var_read_string ( AVIOContext pb,
int  size 
)
static

Definition at line 51 of file mvdec.c.

Referenced by parse_video_var(), var_read_float(), var_read_int(), and var_read_metadata().

static int var_read_int ( AVIOContext pb,
int  size 
)
static

Definition at line 63 of file mvdec.c.

Referenced by parse_audio_var(), parse_global_var(), and parse_video_var().

static AVRational var_read_float ( AVIOContext pb,
int  size 
)
static

Definition at line 73 of file mvdec.c.

Referenced by parse_video_var().

static void var_read_metadata ( AVFormatContext avctx,
const char *  tag,
int  size 
)
static

Definition at line 84 of file mvdec.c.

Referenced by mv_read_header(), parse_audio_var(), parse_global_var(), and parse_video_var().

static int set_channels ( AVFormatContext avctx,
AVStream st,
int  channels 
)
static

Definition at line 91 of file mvdec.c.

Referenced by mv_read_header(), and parse_audio_var().

static int parse_global_var ( AVFormatContext avctx,
AVStream st,
const char *  name,
int  size 
)
static

Parse global variable.

Returns
< 0 if unknown

Definition at line 105 of file mvdec.c.

Referenced by mv_read_header().

static int parse_audio_var ( AVFormatContext avctx,
AVStream st,
const char *  name,
int  size 
)
static

Parse audio variable.

Returns
< 0 if unknown

Definition at line 127 of file mvdec.c.

Referenced by mv_read_header().

static int parse_video_var ( AVFormatContext avctx,
AVStream st,
const char *  name,
int  size 
)
static

Parse video variable.

Returns
< 0 if unknown

Definition at line 154 of file mvdec.c.

Referenced by mv_read_header().

static void read_table ( AVFormatContext avctx,
AVStream st,
int(*)(AVFormatContext *avctx, AVStream *st, const char *name, int size parse 
)
static

Definition at line 203 of file mvdec.c.

Referenced by mv_read_header().

static void read_index ( AVIOContext pb,
AVStream st 
)
static

Definition at line 223 of file mvdec.c.

Referenced by mv_read_header().

static int mv_read_header ( AVFormatContext avctx)
static

Definition at line 240 of file mvdec.c.

static int mv_read_packet ( AVFormatContext avctx,
AVPacket pkt 
)
static

Definition at line 367 of file mvdec.c.

static int mv_read_seek ( AVFormatContext avctx,
int  stream_index,
int64_t  timestamp,
int  flags 
)
static

Definition at line 412 of file mvdec.c.

Variable Documentation

AVInputFormat ff_mv_demuxer
Initial value:
= {
.name = "mv",
.long_name = NULL_IF_CONFIG_SMALL("Silicon Graphics Movie"),
.priv_data_size = sizeof(MvContext),
}

Definition at line 433 of file mvdec.c.