libavcodec/bethsoftvideo.c File Reference

Bethesda Softworks VID Video Decoder. More...

#include "libavutil/common.h"
#include "dsputil.h"
#include "bethsoftvideo.h"
#include "bytestream.h"

Go to the source code of this file.

Data Structures

struct  BethsoftvidContext


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


AVCodec bethsoftvid_decoder

Detailed Description

Bethesda Softworks VID Video Decoder.

Nicholas Tung [ntung (at. ntung com] (2007-03)
See also:

Definition in file bethsoftvideo.c.

Function Documentation

static av_cold int bethsoftvid_decode_end ( AVCodecContext avctx  )  [static]

Definition at line 123 of file bethsoftvideo.c.

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

Definition at line 59 of file bethsoftvideo.c.

static av_cold int bethsoftvid_decode_init ( AVCodecContext avctx  )  [static]

Definition at line 39 of file bethsoftvideo.c.

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

Definition at line 49 of file bethsoftvideo.c.

Referenced by bethsoftvid_decode_frame().

Variable Documentation

Initial value:

    .name = "bethsoftvid",
    .type = CODEC_TYPE_VIDEO,
    .priv_data_size = sizeof(BethsoftvidContext),
    .init = bethsoftvid_decode_init,
    .close = bethsoftvid_decode_end,
    .decode = bethsoftvid_decode_frame,
    .long_name = NULL_IF_CONFIG_SMALL("Bethesda VID video"),

Definition at line 131 of file bethsoftvideo.c.

Generated on Fri Oct 26 02:35:42 2012 for FFmpeg by  doxygen 1.5.8