#include "avcodec.h"
#include "bytestream.h"
#include "dsputil.h"
#include "get_bits.h"
#include "mss34dsp.h"
#include "unary.h"
Go to the source code of this file.
Definition in file mss4.c.
#define MAX_ENTRIES 162 |
#define MKVAL | ( | vals | ) | (vals[0] | (vals[1] << 3) | (vals[2] << 6)) |
enum BlockType |
enum FrameType |
static int get_coeff | ( | GetBitContext * | gb, | |
VLC * | vlc | |||
) | [inline, static] |
Definition at line 220 of file mss4.c.
Referenced by mss4_decode_dct(), and mss4_decode_image_block().
static av_always_inline int get_coeff_bits | ( | GetBitContext * | gb, | |
int | nbits | |||
) | [static] |
static int mss4_decode_dct_block | ( | MSS4Context * | c, | |
GetBitContext * | gb, | |||
uint8_t * | dst[3], | |||
int | mb_x, | |||
int | mb_y | |||
) | [static] |
static av_cold int mss4_decode_end | ( | AVCodecContext * | avctx | ) | [static] |
static int mss4_decode_frame | ( | AVCodecContext * | avctx, | |
void * | data, | |||
int * | data_size, | |||
AVPacket * | avpkt | |||
) | [static] |
static int mss4_decode_image_block | ( | MSS4Context * | ctx, | |
GetBitContext * | gb, | |||
uint8_t * | picdst[3], | |||
int | mb_x, | |||
int | mb_y | |||
) | [static] |
static av_cold int mss4_decode_init | ( | AVCodecContext * | avctx | ) | [static] |
static av_cold void mss4_free_vlcs | ( | MSS4Context * | ctx | ) | [static] |
static av_cold int mss4_init_vlcs | ( | MSS4Context * | ctx | ) | [static] |
static void mss4_update_dc_cache | ( | MSS4Context * | c, | |
int | mb_x | |||
) | [inline, static] |
static void read_vec_pos | ( | GetBitContext * | gb, | |
int * | vec_pos, | |||
int * | sel_flag, | |||
int * | sel_len, | |||
int * | prev | |||
) | [static] |
Initial value:
{ .name = "mts2", .type = AVMEDIA_TYPE_VIDEO, .id = AV_CODEC_ID_MTS2, .priv_data_size = sizeof(MSS4Context), .init = mss4_decode_init, .close = mss4_decode_end, .decode = mss4_decode_frame, .capabilities = CODEC_CAP_DR1, .long_name = NULL_IF_CONFIG_SMALL("MS Expression Encoder Screen"), }
const uint8_t mss4_ac_vlc_lens[2][16] [static] |
Initial value:
{ { 0, 2, 1, 3, 3, 2, 4, 3, 5, 5, 4, 4, 0, 0, 1, 125 }, { 0, 2, 1, 2, 4, 4, 3, 4, 7, 5, 4, 4, 0, 1, 2, 119 } }
Definition at line 60 of file mss4.c.
Referenced by mss4_init_vlcs().
const uint8_t mss4_ac_vlc_syms[2][162] [static] |
const uint8_t mss4_dc_vlc_lens[2][16] [static] |
Initial value:
{ { 0, 1, 5, 1, 1, 1, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0 }, { 0, 3, 1, 1, 1, 1, 1, 1, 1, 2, 0, 0, 0, 0, 0, 0 } }
Definition at line 55 of file mss4.c.
Referenced by mss4_init_vlcs().
const uint8_t mss4_vec_entry_vlc_lens[2][16] [static] |
Initial value:
{ { 0, 2, 2, 3, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, { 0, 1, 5, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }
Definition at line 115 of file mss4.c.
Referenced by mss4_init_vlcs().
const uint8_t mss4_vec_entry_vlc_syms[2][9] [static] |
Initial value:
{ { 0, 7, 6, 5, 8, 4, 3, 1, 2 }, { 0, 2, 3, 4, 5, 6, 7, 1, 8 } }
Definition at line 120 of file mss4.c.
Referenced by mss4_init_vlcs().
const uint8_t vec_len_syms[2][4] [static] |
Initial value:
{ { 4, 2, 3, 1 }, { 4, 1, 2, 3 } }
Definition at line 110 of file mss4.c.
Referenced by mss4_decode_image_block().