#include "avcodec.h"
#include "bytestream.h"
#include "dsputil.h"
#include "mss34dsp.h"
Go to the source code of this file.
Definition in file mss3.c.
| #define MODEL256_SEC_SCALE 9 |
| #define MODEL2_SCALE 13 |
| #define MODEL_SCALE 15 |
Definition at line 35 of file mss3.c.
Referenced by rac_get_model256_sym(), and rac_get_model_sym().
| #define RAC_BOTTOM 0x01000000 |
Definition at line 59 of file mss3.c.
Referenced by rac_get_bit(), rac_get_bits(), rac_get_model256_sym(), rac_get_model2_sym(), rac_get_model_sym(), and rac_normalise().
| enum BlockType |
| static int decode_block_type | ( | RangeCoder * | c, | |
| BlockTypeContext * | bt | |||
| ) | [static] |
| static int decode_coeff | ( | RangeCoder * | c, | |
| Model * | m | |||
| ) | [static] |
Definition at line 433 of file mss3.c.
Referenced by decode_dct(), decode_fill_block(), decode_haar_block(), decode_subblock(), decode_subblock1(), and decode_subblock3().
| static int decode_dct | ( | RangeCoder * | c, | |
| DCTBlockCoder * | bc, | |||
| int * | block, | |||
| int | bx, | |||
| int | by | |||
| ) | [static] |
| static void decode_dct_block | ( | RangeCoder * | c, | |
| DCTBlockCoder * | bc, | |||
| uint8_t * | dst, | |||
| int | stride, | |||
| int | block_size, | |||
| int * | block, | |||
| int | mb_x, | |||
| int | mb_y | |||
| ) | [static] |
| static void decode_fill_block | ( | RangeCoder * | c, | |
| FillBlockCoder * | fc, | |||
| uint8_t * | dst, | |||
| int | stride, | |||
| int | block_size | |||
| ) | [static] |
| static void decode_haar_block | ( | RangeCoder * | c, | |
| HaarBlockCoder * | hc, | |||
| uint8_t * | dst, | |||
| int | stride, | |||
| int | block_size, | |||
| int * | block | |||
| ) | [static] |
| static void decode_image_block | ( | RangeCoder * | c, | |
| ImageBlockCoder * | ic, | |||
| uint8_t * | dst, | |||
| int | stride, | |||
| int | block_size | |||
| ) | [static] |
| static av_cold void init_coders | ( | MSS3Context * | ctx | ) | [static] |
| static av_cold void model256_init | ( | Model256 * | m | ) | [static] |
| static void model256_reset | ( | Model256 * | m | ) | [static] |
| static void model2_reset | ( | Model2 * | m | ) | [static] |
| static av_cold int mss3_decode_end | ( | AVCodecContext * | avctx | ) | [static] |
| static int mss3_decode_frame | ( | AVCodecContext * | avctx, | |
| void * | data, | |||
| int * | data_size, | |||
| AVPacket * | avpkt | |||
| ) | [static] |
| static av_cold int mss3_decode_init | ( | AVCodecContext * | avctx | ) | [static] |
| static int rac_get_bit | ( | RangeCoder * | c | ) | [static] |
| static int rac_get_bits | ( | RangeCoder * | c, | |
| int | nbits | |||
| ) | [static] |
| static int rac_get_model256_sym | ( | RangeCoder * | c, | |
| Model256 * | m | |||
| ) | [static] |
Definition at line 388 of file mss3.c.
Referenced by decode_dct(), decode_haar_block(), and decode_image_block().
| static int rac_get_model2_sym | ( | RangeCoder * | c, | |
| Model2 * | m | |||
| ) | [static] |
| static int rac_get_model_sym | ( | RangeCoder * | c, | |
| Model * | m | |||
| ) | [static] |
Definition at line 356 of file mss3.c.
Referenced by decode_block_type(), decode_coeff(), and decode_image_block().
| static void rac_init | ( | RangeCoder * | c, | |
| const uint8_t * | src, | |||
| int | size | |||
| ) | [static] |
| static void rac_normalise | ( | RangeCoder * | c | ) | [static] |
Definition at line 289 of file mss3.c.
Referenced by rac_get_bit(), rac_get_bits(), rac_get_model256_sym(), rac_get_model2_sym(), and rac_get_model_sym().
| static void reset_coders | ( | MSS3Context * | ctx, | |
| int | quality | |||
| ) | [static] |
Initial value:
{
.name = "msa1",
.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 = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("MS ATC Screen"),
}
1.5.8