#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 |
Functions | |
static av_cold int | bethsoftvid_decode_init (AVCodecContext *avctx) |
static int | set_palette (AVFrame *frame, const uint8_t *palette_buffer, int buf_size) |
static int | bethsoftvid_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) |
static av_cold int | bethsoftvid_decode_end (AVCodecContext *avctx) |
Variables | |
AVCodec | ff_bethsoftvid_decoder |
Definition in file bethsoftvideo.c.
static av_cold int bethsoftvid_decode_end | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 131 of file bethsoftvideo.c.
static int bethsoftvid_decode_frame | ( | AVCodecContext * | avctx, | |
void * | data, | |||
int * | data_size, | |||
AVPacket * | avpkt | |||
) | [static] |
Definition at line 66 of file bethsoftvideo.c.
static av_cold int bethsoftvid_decode_init | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 39 of file bethsoftvideo.c.
static int set_palette | ( | AVFrame * | frame, | |
const uint8_t * | palette_buffer, | |||
int | buf_size | |||
) | [static] |
Initial value:
{ .name = "bethsoftvid", .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_BETHSOFTVID, .priv_data_size = sizeof(BethsoftvidContext), .init = bethsoftvid_decode_init, .close = bethsoftvid_decode_end, .decode = bethsoftvid_decode_frame, .capabilities = CODEC_CAP_DR1, .long_name = NULL_IF_CONFIG_SMALL("Bethesda VID video"), }
Definition at line 139 of file bethsoftvideo.c.