#include "libavutil/intfloat.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "mss12.h"
Go to the source code of this file.
Definition in file mss12.c.
enum ContextDirection |
static void copy_rectangles | ( | MSS12Context const * | c, | |
int | x, | |||
int | y, | |||
int | width, | |||
int | height | |||
) | [static] |
Definition at line 318 of file mss12.c.
Referenced by decode_region_inter(), and decode_region_masked().
static int decode_pivot | ( | SliceContext * | sc, | |
ArithCoder * | acoder, | |||
int | base | |||
) | [static] |
static av_always_inline int decode_pixel | ( | ArithCoder * | acoder, | |
PixContext * | pctx, | |||
uint8_t * | ngb, | |||
int | num_ngb, | |||
int | any_ngb | |||
) | [static] |
Definition at line 157 of file mss12.c.
Referenced by decode_pixel_in_context(), decode_region(), decode_region_inter(), decode_region_intra(), and decode_region_masked().
static int decode_pixel_in_context | ( | ArithCoder * | acoder, | |
PixContext * | pctx, | |||
uint8_t * | src, | |||
int | stride, | |||
int | x, | |||
int | y, | |||
int | has_right | |||
) | [static] |
static int decode_region | ( | ArithCoder * | acoder, | |
uint8_t * | dst, | |||
uint8_t * | rgb_pic, | |||
int | x, | |||
int | y, | |||
int | width, | |||
int | height, | |||
int | stride, | |||
int | rgb_stride, | |||
PixContext * | pctx, | |||
const uint32_t * | pal | |||
) | [static] |
Definition at line 290 of file mss12.c.
Referenced by decode_region_inter(), and decode_region_intra().
static int decode_region_inter | ( | SliceContext * | sc, | |
ArithCoder * | acoder, | |||
int | x, | |||
int | y, | |||
int | width, | |||
int | height | |||
) | [static] |
static int decode_region_intra | ( | SliceContext * | sc, | |
ArithCoder * | acoder, | |||
int | x, | |||
int | y, | |||
int | width, | |||
int | height | |||
) | [static] |
Definition at line 457 of file mss12.c.
Referenced by decode_region_inter(), and ff_mss12_decode_rect().
static int decode_region_masked | ( | MSS12Context const * | c, | |
ArithCoder * | acoder, | |||
uint8_t * | dst, | |||
int | stride, | |||
uint8_t * | mask, | |||
int | mask_stride, | |||
int | x, | |||
int | y, | |||
int | width, | |||
int | height, | |||
PixContext * | pctx | |||
) | [static] |
av_cold int ff_mss12_decode_end | ( | MSS12Context * | c | ) |
av_cold int ff_mss12_decode_init | ( | MSS12Context * | c, | |
int | version, | |||
SliceContext * | sc1, | |||
SliceContext * | sc2 | |||
) |
int ff_mss12_decode_rect | ( | SliceContext * | sc, | |
ArithCoder * | acoder, | |||
int | x, | |||
int | y, | |||
int | width, | |||
int | height | |||
) |
Definition at line 526 of file mss12.c.
Referenced by ff_mss12_decode_rect(), mss1_decode_frame(), and mss2_decode_frame().
void ff_mss12_slicecontext_reset | ( | SliceContext * | sc | ) |
Definition at line 69 of file mss12.c.
Referenced by init_coders(), pixctx_init(), and slicecontext_init().
static void model_rescale_weights | ( | Model * | m | ) | [static] |
static void model_reset | ( | Model * | m | ) | [static] |
Definition at line 56 of file mss12.c.
Referenced by ff_mss12_slicecontext_reset(), model_init(), and reset_coders().
static int motion_compensation | ( | MSS12Context const * | c, | |
int | x, | |||
int | y, | |||
int | width, | |||
int | height | |||
) | [static] |
Definition at line 334 of file mss12.c.
Referenced by decode_region_inter(), and decode_region_masked().
static av_cold void pixctx_init | ( | PixContext * | ctx, | |
int | cache_size, | |||
int | full_model_syms, | |||
int | special_initial_cache | |||
) | [static] |
static void pixctx_reset | ( | PixContext * | ctx | ) | [static] |
static av_cold void slicecontext_init | ( | SliceContext * | sc, | |
int | version, | |||
int | full_model_syms | |||
) | [static] |
const int sec_order_sizes[4] = { 1, 7, 6, 1 } [static] |