bethsoftvideo.c File Reference


Detailed Description

Bethesda Softworks VID Video Decoder.

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 bethsoftvideo.c.

Go to the source code of this file.

Classes

struct  BethsoftvidContext

Functions

static int bethsoftvid_decode_init (AVCodecContext *avctx)
static void set_palette (AVFrame *frame, uint8_t *palette_buffer)
static int bethsoftvid_decode_frame (AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size)
static int bethsoftvid_decode_end (AVCodecContext *avctx)

Variables

AVCodec bethsoftvid_decoder


Function Documentation

static int bethsoftvid_decode_init ( AVCodecContext avctx  )  [static]

Definition at line 39 of file bethsoftvideo.c.

static void set_palette ( AVFrame frame,
uint8_t *  palette_buffer 
) [static]

Definition at line 49 of file bethsoftvideo.c.

Referenced by bethsoftvid_decode_frame().

static int bethsoftvid_decode_frame ( AVCodecContext avctx,
void *  data,
int *  data_size,
uint8_t *  buf,
int  buf_size 
) [static]

Definition at line 59 of file bethsoftvideo.c.

static int bethsoftvid_decode_end ( AVCodecContext avctx  )  [static]

Definition at line 123 of file bethsoftvideo.c.


Variable Documentation

Initial value:

 {
    .name = "bethsoftvid",
    .type = CODEC_TYPE_VIDEO,
    .id = CODEC_ID_BETHSOFTVID,
    .priv_data_size = sizeof(BethsoftvidContext),
    .init = bethsoftvid_decode_init,
    .close = bethsoftvid_decode_end,
    .decode = bethsoftvid_decode_frame,
}

Definition at line 131 of file bethsoftvideo.c.


Generated on Sat Dec 18 05:15:50 2010 for MythTV by  doxygen 1.5.5