FFmpeg
|
#include "libavutil/thread.h"
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "bytestream.h"
#include "codec_internal.h"
#include "decode.h"
#include "get_bits.h"
#include "jpegtables.h"
#include "mss34dsp.h"
#include "unary.h"
Go to the source code of this file.
Data Structures | |
struct | MSS4Context |
Macros | |
#define | HEADER_SIZE 8 |
#define | MAX_ENTRIES 162 |
#define | MKVAL(vals) ((vals)[0] | ((vals)[1] << 3) | ((vals)[2] << 6)) |
Enumerations | |
enum | FrameType { ACTIVE_FRAME, SID_FRAME, UNTRANSMITTED_FRAME, INTRA_FRAME = 0, INTER_FRAME, SKIP_FRAME, FIRST_FRAME, INNER_FRAME, FINAL_FRAME, LINEAR_MODE, FRAME_NB } |
enum | BlockType { FILL_BLOCK = 0, IMAGE_BLOCK, DCT_BLOCK, HAAR_BLOCK, SKIP_BLOCK, SKIP_BLOCK = 0, DCT_BLOCK, IMAGE_BLOCK } |
enum | CachePos { LEFT = 0, TOP_LEFT, TOP } |
Functions | |
static av_cold void | mss4_init_vlc (VLC *vlc, unsigned *offset, const uint8_t *lens, const uint8_t *syms) |
static av_cold void | mss4_init_vlcs (void) |
static av_always_inline int | get_coeff_bits (GetBitContext *gb, int nbits) |
static int | get_coeff (GetBitContext *gb, const VLC *vlc, int nb_bits, int max_depth) |
static int | mss4_decode_dct (GetBitContext *gb, VLC *dc_vlc, VLC *ac_vlc, int *block, int *dc_cache, int bx, int by, uint16_t *quant_mat) |
static int | mss4_decode_dct_block (MSS4Context *c, GetBitContext *gb, uint8_t *dst[3], int mb_x, int mb_y) |
static void | read_vec_pos (GetBitContext *gb, int *vec_pos, int *sel_flag, int *sel_len, int *prev) |
static int | get_value_cached (GetBitContext *gb, int vec_pos, uint8_t *vec, int vec_size, int component, int shift, int *prev) |
static int | mss4_decode_image_block (MSS4Context *ctx, GetBitContext *gb, uint8_t *picdst[3], int mb_x, int mb_y) |
static void | mss4_update_dc_cache (MSS4Context *c, int mb_x) |
static int | mss4_decode_frame (AVCodecContext *avctx, AVFrame *rframe, int *got_frame, AVPacket *avpkt) |
static av_cold int | mss4_decode_end (AVCodecContext *avctx) |
static av_cold int | mss4_decode_init (AVCodecContext *avctx) |
Variables | |
static const uint8_t | mss4_dc_vlc_lens [2][16] |
static const uint8_t | vec_len_syms [2][4] |
static const uint8_t | mss4_vec_entry_vlc_lens [2][16] |
static const uint8_t | mss4_vec_entry_vlc_syms [2][9] |
static VLC | dc_vlc [2] |
static VLC | ac_vlc [2] |
static VLC | vec_entry_vlc [2] |
const FFCodec | ff_mts2_decoder |
Microsoft Screen 4 (aka Microsoft Titanium Screen 2, aka Microsoft Expression Encoder Screen) decoder
Definition in file mss4.c.
#define MKVAL | ( | vals | ) | ((vals)[0] | ((vals)[1] << 3) | ((vals)[2] << 6)) |
enum FrameType |
enum BlockType |
|
static |
Definition at line 101 of file mss4.c.
Referenced by mss4_init_vlcs().
|
static |
Definition at line 124 of file mss4.c.
Referenced by mss4_decode_init().
|
static |
Definition at line 145 of file mss4.c.
Referenced by get_coeff(), and mss4_decode_dct().
|
inlinestatic |
Definition at line 159 of file mss4.c.
Referenced by mss4_decode_dct(), and mss4_decode_image_block().
|
static |
Definition at line 167 of file mss4.c.
Referenced by mss4_decode_dct_block().
|
static |
Definition at line 222 of file mss4.c.
Referenced by mss4_decode_frame().
|
static |
Definition at line 270 of file mss4.c.
Referenced by mss4_decode_image_block().
|
static |
Definition at line 296 of file mss4.c.
Referenced by mss4_decode_image_block().
|
static |
Definition at line 320 of file mss4.c.
Referenced by mss4_decode_frame().
|
inlinestatic |
Definition at line 430 of file mss4.c.
Referenced by mss4_decode_frame().
|
static |
|
static |
|
static |
|
static |
Definition at line 60 of file mss4.c.
Referenced by mss4_init_vlcs().
|
static |
Definition at line 65 of file mss4.c.
Referenced by mss4_decode_image_block().
|
static |
Definition at line 70 of file mss4.c.
Referenced by mss4_init_vlcs().
|
static |
Definition at line 75 of file mss4.c.
Referenced by mss4_init_vlcs().
|
static |
Definition at line 98 of file mss4.c.
Referenced by mss4_decode_dct(), mss4_decode_dct_block(), and mss4_init_vlcs().
|
static |
Definition at line 98 of file mss4.c.
Referenced by mss4_decode_dct(), mss4_decode_dct_block(), and mss4_init_vlcs().
|
static |
Definition at line 99 of file mss4.c.
Referenced by mss4_decode_image_block(), and mss4_init_vlcs().
const FFCodec ff_mts2_decoder |