sierravmd.c File Reference

Sierra VMD file demuxer by Vladimir "VAG" Gneushev (vagsoft at mail.ru) for more information on the Sierra VMD file format, visit: http://www.pcisys.net/~melanson/codecs/. More...

#include "libavutil/channel_layout.h"
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "internal.h"
#include "avio_internal.h"
Include dependency graph for sierravmd.c:

Go to the source code of this file.

Data Structures

struct  vmd_frame
 
struct  VmdDemuxContext
 

Macros

#define VMD_HEADER_SIZE   0x0330
 
#define BYTES_PER_FRAME_RECORD   16
 

Typedefs

typedef struct VmdDemuxContext VmdDemuxContext
 

Functions

static int vmd_probe (AVProbeData *p)
 
static int vmd_read_header (AVFormatContext *s)
 
static int vmd_read_packet (AVFormatContext *s, AVPacket *pkt)
 
static int vmd_read_close (AVFormatContext *s)
 

Variables

AVInputFormat ff_vmd_demuxer
 

Detailed Description

Sierra VMD file demuxer by Vladimir "VAG" Gneushev (vagsoft at mail.ru) for more information on the Sierra VMD file format, visit: http://www.pcisys.net/~melanson/codecs/.

Definition in file sierravmd.c.

Macro Definition Documentation

#define BYTES_PER_FRAME_RECORD   16

Definition at line 37 of file sierravmd.c.

Referenced by vmd_read_header(), and vmd_read_packet().

#define VMD_HEADER_SIZE   0x0330

Definition at line 36 of file sierravmd.c.

Referenced by vmd_probe(), and vmd_read_header().

Typedef Documentation

Function Documentation

static int vmd_probe ( AVProbeData p)
static

Definition at line 65 of file sierravmd.c.

static int vmd_read_close ( AVFormatContext s)
static

Definition at line 284 of file sierravmd.c.

static int vmd_read_header ( AVFormatContext s)
static

Definition at line 83 of file sierravmd.c.

static int vmd_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 241 of file sierravmd.c.

Variable Documentation

AVInputFormat ff_vmd_demuxer
Initial value:
= {
.name = "vmd",
.long_name = NULL_IF_CONFIG_SMALL("Sierra VMD"),
.priv_data_size = sizeof(VmdDemuxContext),
}
static int vmd_read_close(AVFormatContext *s)
Definition: sierravmd.c:284
static av_cold int read_close(AVFormatContext *ctx)
Definition: libcdio.c:145
struct VmdDemuxContext VmdDemuxContext
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int read_probe(AVProbeData *pd)
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:517
static int vmd_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: sierravmd.c:241
static int vmd_read_header(AVFormatContext *s)
Definition: sierravmd.c:83
static int read_packet(AVFormatContext *ctx, AVPacket *pkt)
Definition: libcdio.c:114
static int vmd_probe(AVProbeData *p)
Definition: sierravmd.c:65

Definition at line 293 of file sierravmd.c.