libavcodec/mss1.c File Reference

Microsoft Screen 1 (aka Windows Media Video V7 Screen) decoder. More...

#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


Detailed Description

Microsoft Screen 1 (aka Windows Media Video V7 Screen) decoder.

Definition in file mss1.c.


Function Documentation

static int arith_get_bits ( ArithCoder c,
int  bits 
) [static]

Definition at line 64 of file mss1.c.

Referenced by decode_pal().

static int arith_get_number ( ArithCoder c,
int  mod_val 
) [static]

Definition at line 78 of file mss1.c.

Referenced by arith_init(), and decode_pal().

static int arith_get_prob ( ArithCoder c,
int16_t probs 
) [static]

Definition at line 92 of file mss1.c.

static void arith_init ( ArithCoder c,
GetBitContext gb 
) [static]

Definition at line 109 of file mss1.c.

Referenced by mss1_decode_frame().

static void arith_normalise ( ArithCoder c  )  [static]

Definition at line 36 of file mss1.c.

Referenced by arith_get_bits(), and arith_get_number().

static int decode_pal ( MSS12Context ctx,
ArithCoder acoder 
) [static]

Definition at line 119 of file mss1.c.

Referenced by mss1_decode_frame().

static av_cold int mss1_decode_end ( AVCodecContext avctx  )  [static]

Definition at line 205 of file mss1.c.

static int mss1_decode_frame ( AVCodecContext avctx,
void *  data,
int data_size,
AVPacket avpkt 
) [static]

Definition at line 138 of file mss1.c.

static av_cold int mss1_decode_init ( AVCodecContext avctx  )  [static]

Definition at line 190 of file mss1.c.


Variable Documentation

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"),
}

Definition at line 216 of file mss1.c.


Generated on Fri Oct 26 02:50:06 2012 for FFmpeg by  doxygen 1.5.8