#include "avcodec.h"
#include "mss12.h"
Go to the source code of this file.
Data Structures | |
struct | MSS1Context |
Functions | |
static void | arith_normalise (ArithCoder *c) |
static int | arith_get_bits (ArithCoder *c, int bits) |
static int | arith_get_number (ArithCoder *c, int mod_val) |
static int | arith_get_prob (ArithCoder *c, int16_t *probs) |
static void | arith_init (ArithCoder *c, GetBitContext *gb) |
static int | decode_pal (MSS12Context *ctx, ArithCoder *acoder) |
static int | mss1_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) |
static av_cold int | mss1_decode_init (AVCodecContext *avctx) |
static av_cold int | mss1_decode_end (AVCodecContext *avctx) |
Variables | |
AVCodec | ff_mss1_decoder |
Definition in file mss1.c.
static int arith_get_bits | ( | ArithCoder * | c, | |
int | bits | |||
) | [static] |
static int arith_get_number | ( | ArithCoder * | c, | |
int | mod_val | |||
) | [static] |
static int arith_get_prob | ( | ArithCoder * | c, | |
int16_t * | probs | |||
) | [static] |
static void arith_init | ( | ArithCoder * | c, | |
GetBitContext * | gb | |||
) | [static] |
static void arith_normalise | ( | ArithCoder * | c | ) | [static] |
static int decode_pal | ( | MSS12Context * | ctx, | |
ArithCoder * | acoder | |||
) | [static] |
static av_cold int mss1_decode_end | ( | AVCodecContext * | avctx | ) | [static] |
static int mss1_decode_frame | ( | AVCodecContext * | avctx, | |
void * | data, | |||
int * | data_size, | |||
AVPacket * | avpkt | |||
) | [static] |
static av_cold int mss1_decode_init | ( | AVCodecContext * | avctx | ) | [static] |
Initial value:
{ .name = "mss1", .type = AVMEDIA_TYPE_VIDEO, .id = AV_CODEC_ID_MSS1, .priv_data_size = sizeof(MSS1Context), .init = mss1_decode_init, .close = mss1_decode_end, .decode = mss1_decode_frame, .capabilities = CODEC_CAP_DR1, .long_name = NULL_IF_CONFIG_SMALL("MS Screen 1"), }