All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
bethsoftvideo.c File Reference

Bethesda Softworks VID Video Decoder. More...

#include "libavutil/common.h"
#include "avcodec.h"
#include "bethsoftvideo.h"
#include "bytestream.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  BethsoftvidContext


static av_cold int bethsoftvid_decode_init (AVCodecContext *avctx)
static int set_palette (BethsoftvidContext *ctx)
static int bethsoftvid_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
static av_cold int bethsoftvid_decode_end (AVCodecContext *avctx)


AVCodec ff_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_init ( AVCodecContext avctx)

Definition at line 41 of file bethsoftvideo.c.

static int set_palette ( BethsoftvidContext ctx)

Definition at line 53 of file bethsoftvideo.c.

Referenced by bethsoftvid_decode_frame().

static int bethsoftvid_decode_frame ( AVCodecContext avctx,
void data,
int *  got_frame,
AVPacket avpkt 

Definition at line 69 of file bethsoftvideo.c.

static av_cold int bethsoftvid_decode_end ( AVCodecContext avctx)

Definition at line 149 of file bethsoftvideo.c.

Variable Documentation

AVCodec ff_bethsoftvid_decoder
Initial value:
= {
.name = "bethsoftvid",
.long_name = NULL_IF_CONFIG_SMALL("Bethesda VID video"),
.priv_data_size = sizeof(BethsoftvidContext),
.capabilities = CODEC_CAP_DR1,
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: avcodec.h:789
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:175
static int bethsoftvid_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: bethsoftvideo.c:69
static av_cold int bethsoftvid_decode_end(AVCodecContext *avctx)
static av_cold int bethsoftvid_decode_init(AVCodecContext *avctx)
Definition: bethsoftvideo.c:41
static int decode(AVCodecContext *avctx, void *data, int *got_sub, AVPacket *avpkt)
Definition: ccaption_dec.c:522

Definition at line 156 of file bethsoftvideo.c.