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 BUFFER_PADDING_SIZE   1000

Functions

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

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 100 of file bethsoftvid.c.

Referenced by read_frame().


Function Documentation

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

Definition at line 101 of file bethsoftvid.c.

static int vid_probe ( AVProbeData p  )  [static]

Definition at line 51 of file bethsoftvid.c.

static int vid_read_header ( AVFormatContext s,
AVFormatParameters ap 
) [static]

Definition at line 60 of file bethsoftvid.c.

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

Definition at line 174 of file bethsoftvid.c.


Variable Documentation

Initial value:

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

Definition at line 226 of file bethsoftvid.c.


Generated on Fri Oct 26 02:43:52 2012 for FFmpeg by  doxygen 1.5.8