FFmpeg
Classes | Macros | Typedefs | Enumerations | Variables
mss3.c File Reference

Microsoft Screen 3 (aka Microsoft ATC Screen) decoder. More...

#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"
#include "mathops.h"
#include "mss34dsp.h"

Classes

struct  Model2
 
struct  Model
 
struct  Model256
 
struct  RangeCoder
 
struct  BlockTypeContext
 
struct  FillBlockCoder
 
struct  ImageBlockCoder
 
struct  DCTBlockCoder
 
struct  HaarBlockCoder
 
struct  MSS3Context
 

Macros

#define HEADER_SIZE   27
 
#define MODEL2_SCALE   13
 
#define MODEL_SCALE   15
 
#define MODEL256_SEC_SCALE   9
 
#define RAC_BOTTOM   0x01000000
 

Typedefs

typedef struct Model2 Model2
 
typedef struct Model Model
 
typedef struct Model256 Model256
 
typedef struct RangeCoder RangeCoder
 
typedef struct BlockTypeContext BlockTypeContext
 
typedef struct FillBlockCoder FillBlockCoder
 
typedef struct ImageBlockCoder ImageBlockCoder
 
typedef struct DCTBlockCoder DCTBlockCoder
 
typedef struct HaarBlockCoder HaarBlockCoder
 
typedef struct MSS3Context MSS3Context
 

Enumerations

enum  BlockType {
  FILL_BLOCK = 0, IMAGE_BLOCK, DCT_BLOCK, HAAR_BLOCK,
  SKIP_BLOCK, SKIP_BLOCK = 0, DCT_BLOCK, IMAGE_BLOCK
}
 

Variables

AVCodec ff_msa1_decoder
 

Detailed Description

Microsoft Screen 3 (aka Microsoft ATC Screen) decoder.

Variable Documentation

§ ff_msa1_decoder

AVCodec ff_msa1_decoder
Initial value:
= {
.name = "msa1",
.long_name = NULL_IF_CONFIG_SMALL("MS ATC Screen"),
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_MSA1,
.priv_data_size = sizeof(MSS3Context),
.init = mss3_decode_init,
.close = mss3_decode_end,
.decode = mss3_decode_frame,
.capabilities = AV_CODEC_CAP_DR1,
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
Definition: mss3.c:109
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: avcodec.h:959