|
FFmpeg
|
#include "libavutil/avassert.h"#include "codec_internal.h"#include "decode.h"#include "error_resilience.h"#include "mpeg_er.h"#include "mpegvideodec.h"#include "qpeldsp.h"#include "vc1.h"#include "wmv2data.h"#include "mss12.h"#include "mss2dsp.h"Go to the source code of this file.
Data Structures | |
| struct | MSS2Context |
| struct | Rectangle |
| struct | Rectangle2 |
Macros | |
| #define | READ_PAIR(a, b) |
| #define | COMPARE(top, bottom, left, right) |
| #define | MAX_WMV9_RECTANGLES 20 |
| #define | ARITH2_PADDING 2 |
Functions | |
| static void | arith2_normalise (ArithCoder *c) |
| static int | arith2_get_scaled_value (int value, int n, int range) |
| static void | arith2_rescale_interval (ArithCoder *c, int range, int low, int high, int n) |
| static int | arith2_get_number (ArithCoder *c, int n) |
| static int | arith2_get_prob (ArithCoder *c, int16_t *probs) |
| static int | arith2_get_consumed_bytes (ArithCoder *c) |
| static void | arith2_init (ArithCoder *c, GetByteContext *gB) |
| static int | decode_pal_v2 (MSS12Context *ctx, const uint8_t *buf, int buf_size) |
| static int | decode_555 (AVCodecContext *avctx, GetByteContext *gB, uint16_t *dst, ptrdiff_t stride, int keyframe, int w, int h) |
| static int | decode_rle (GetBitContext *gb, uint8_t *pal_dst, ptrdiff_t pal_stride, uint8_t *rgb_dst, ptrdiff_t rgb_stride, uint32_t *pal, int keyframe, int kf_slipt, int slice, int w, int h) |
| static int | decode_wmv9 (AVCodecContext *avctx, const uint8_t *buf, int buf_size, int x, int y, int w, int h, int wmv9_mask) |
| static void | calc_draw_region (struct Rectangle2 *draw, const struct Rectangle2 *rect) |
| static int | calc_split_position (int split_position, const struct Rectangle2 *rect, int height) |
| static int | mss2_decode_frame (AVCodecContext *avctx, AVFrame *frame, int *got_frame, AVPacket *avpkt) |
| static av_cold int | wmv9_init (AVCodecContext *avctx) |
| static av_cold int | mss2_decode_end (AVCodecContext *avctx) |
| static av_cold int | mss2_decode_init (AVCodecContext *avctx) |
Variables | |
| const FFCodec | ff_mss2_decoder |
| #define COMPARE | ( | top, | |
| bottom, | |||
| left, | |||
| right | |||
| ) |
|
static |
Definition at line 47 of file mss2.c.
Referenced by arith2_get_number().
Definition at line 66 of file mss2.c.
Referenced by arith2_get_number(), and arith2_get_prob().
|
static |
Definition at line 76 of file mss2.c.
Referenced by arith2_get_number(), and arith2_get_prob().
|
static |
Definition at line 94 of file mss2.c.
Referenced by arith2_init(), and mss2_decode_frame().
|
static |
|
static |
Definition at line 136 of file mss2.c.
Referenced by mss2_decode_frame().
|
static |
Definition at line 150 of file mss2.c.
Referenced by mss2_decode_frame().
|
static |
Definition at line 161 of file mss2.c.
Referenced by mss2_decode_frame().
|
static |
Definition at line 178 of file mss2.c.
Referenced by mss2_decode_frame().
|
static |
Definition at line 241 of file mss2.c.
Referenced by mss2_decode_frame().
|
static |
Definition at line 378 of file mss2.c.
Referenced by mss2_decode_frame().
|
static |
Definition at line 474 of file mss2.c.
Referenced by mss2_decode_frame().
|
static |
Definition at line 495 of file mss2.c.
Referenced by mss2_decode_frame().
|
static |
|
static |
Definition at line 808 of file mss2.c.
Referenced by mss2_decode_init().
|
static |
Definition at line 861 of file mss2.c.
Referenced by mss2_decode_init().
|
static |
| const FFCodec ff_mss2_decoder |
1.8.17