libavformat/bethsoftvid.c File Reference

Bethesda Softworks VID (.vid) file demuxer. More...

#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "internal.h"
#include "libavcodec/bethsoftvideo.h"

Go to the source code of this file.

Data Structures

struct  BVID_DemuxContext

Defines

#define BVID_PALETTE_SIZE   3 * 256
#define DEFAULT_SAMPLE_RATE   11111
#define BUFFER_PADDING_SIZE   1000

Functions

static int vid_probe (AVProbeData *p)
static int vid_read_header (AVFormatContext *s)
static int read_frame (BVID_DemuxContext *vid, AVIOContext *pb, AVPacket *pkt, uint8_t block_type, AVFormatContext *s)
static int vid_read_packet (AVFormatContext *s, AVPacket *pkt)
static int vid_read_close (AVFormatContext *s)

Variables

AVInputFormat ff_bethsoftvid_demuxer


Detailed Description

Bethesda Softworks VID (.vid) file demuxer.

Author:
Nicholas Tung [ntung (at. ntung com] (2007-03)
See also:
http://wiki.multimedia.cx/index.php?title=Bethsoft_VID

http://www.svatopluk.com/andux/docs/dfvid.html

Definition in file bethsoftvid.c.


Define Documentation

#define BUFFER_PADDING_SIZE   1000

Definition at line 91 of file bethsoftvid.c.

Referenced by read_frame().

#define BVID_PALETTE_SIZE   3 * 256

Definition at line 35 of file bethsoftvid.c.

Referenced by read_frame(), and vid_read_packet().

#define DEFAULT_SAMPLE_RATE   11111

Definition at line 37 of file bethsoftvid.c.

Referenced by vid_read_header().


Function Documentation

static int read_frame ( BVID_DemuxContext vid,
AVIOContext pb,
AVPacket pkt,
uint8_t  block_type,
AVFormatContext s 
) [static]

Definition at line 92 of file bethsoftvid.c.

Referenced by vid_read_packet().

static int vid_probe ( AVProbeData p  )  [static]

Definition at line 57 of file bethsoftvid.c.

static int vid_read_close ( AVFormatContext s  )  [static]

Definition at line 277 of file bethsoftvid.c.

static int vid_read_header ( AVFormatContext s  )  [static]

Definition at line 66 of file bethsoftvid.c.

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

Definition at line 201 of file bethsoftvid.c.


Variable Documentation

Initial value:

 {
    .name           = "bethsoftvid",
    .long_name      = NULL_IF_CONFIG_SMALL("Bethesda Softworks VID"),
    .priv_data_size = sizeof(BVID_DemuxContext),
    .read_probe     = vid_probe,
    .read_header    = vid_read_header,
    .read_packet    = vid_read_packet,
    .read_close     = vid_read_close,
}

Definition at line 284 of file bethsoftvid.c.


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