FFmpeg
Classes | Macros | Typedefs | Variables
mss2.c File Reference

Microsoft Screen 2 (aka Windows Media Video V9 Screen) decoder. More...

#include "libavutil/avassert.h"
#include "error_resilience.h"
#include "internal.h"
#include "mpeg_er.h"
#include "msmpeg4.h"
#include "qpeldsp.h"
#include "vc1.h"
#include "wmv2data.h"
#include "mss12.h"
#include "mss2dsp.h"

Classes

struct  MSS2Context
 
struct  Rectangle
 

Macros

#define READ_PAIR(a, b)
 
#define MAX_WMV9_RECTANGLES   20
 
#define ARITH2_PADDING   2
 

Typedefs

typedef struct MSS2Context MSS2Context
 

Variables

AVCodec ff_mss2_decoder
 

Detailed Description

Microsoft Screen 2 (aka Windows Media Video V9 Screen) decoder.

Macro Definition Documentation

§ READ_PAIR

#define READ_PAIR (   a,
 
)
Value:
a = bytestream2_get_byte(gB) << 4; \
t = bytestream2_get_byte(gB); \
a |= t >> 4; \
b = (t & 0xF) << 8; \
b |= bytestream2_get_byte(gB); \

Variable Documentation

§ ff_mss2_decoder

AVCodec ff_mss2_decoder
Initial value:
= {
.name = "mss2",
.long_name = NULL_IF_CONFIG_SMALL("MS Windows Media Video V9 Screen"),
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_MSS2,
.priv_data_size = sizeof(MSS2Context),
.init = mss2_decode_init,
.close = mss2_decode_end,
.decode = mss2_decode_frame,
.capabilities = AV_CODEC_CAP_DR1,
}
Definition: mss2.c:37
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: avcodec.h:959