libavformat/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/intreadwrite.h"
#include "avformat.h"
#include "internal.h"
#include "avio_internal.h"

Go to the source code of this file.

Data Structures

struct  vmd_frame
struct  VmdDemuxContext

Defines

#define VMD_HEADER_SIZE   0x0330
#define BYTES_PER_FRAME_RECORD   16

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.


Define Documentation

#define BYTES_PER_FRAME_RECORD   16

Definition at line 36 of file sierravmd.c.

Referenced by vmd_read_header(), and vmd_read_packet().

#define VMD_HEADER_SIZE   0x0330

Definition at line 35 of file sierravmd.c.


Function Documentation

static int vmd_probe ( AVProbeData p  )  [static]

Definition at line 64 of file sierravmd.c.

static int vmd_read_close ( AVFormatContext s  )  [static]

Definition at line 277 of file sierravmd.c.

static int vmd_read_header ( AVFormatContext s  )  [static]

Definition at line 82 of file sierravmd.c.

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

Definition at line 234 of file sierravmd.c.


Variable Documentation

Initial value:

 {
    .name           = "vmd",
    .long_name      = NULL_IF_CONFIG_SMALL("Sierra VMD"),
    .priv_data_size = sizeof(VmdDemuxContext),
    .read_probe     = vmd_probe,
    .read_header    = vmd_read_header,
    .read_packet    = vmd_read_packet,
    .read_close     = vmd_read_close,
}

Definition at line 286 of file sierravmd.c.


Generated on Fri Oct 26 02:50:11 2012 for FFmpeg by  doxygen 1.5.8