Searched refs:ArithCoder (Results 1 – 5 of 5) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | mss12.h | 48 typedef struct ArithCoder { struct 56 int (*get_model_sym)(struct ArithCoder *c, Model *m); argument 57 int (*get_number) (struct ArithCoder *c, int n); argument 58 } ArithCoder; typedef 96 int ff_mss12_decode_rect(SliceContext *ctx, ArithCoder *acoder, 105 static int prefix ## _get_bit(ArithCoder *c) \ 121 static int prefix ## _get_model_sym(ArithCoder *c, Model *m) \
|
D | mss1.c | 37 static void arith_normalise(ArithCoder *c) in arith_normalise() 67 static int arith_get_bits(ArithCoder *c, int bits) in ARITH_GET_BIT() 81 static int arith_get_number(ArithCoder *c, int mod_val) in arith_get_number() 95 static int arith_get_prob(ArithCoder *c, int16_t *probs) in arith_get_prob() 112 static void arith_init(ArithCoder *c, GetBitContext *gb) in ARITH_GET_MODEL_SYM() 123 static int decode_pal(MSS12Context *ctx, ArithCoder *acoder) in decode_pal() 148 ArithCoder acoder; in mss1_decode_frame()
|
D | dstdec.c | 57 typedef struct ArithCoder { struct 60 } ArithCoder; argument 72 ArithCoder ac; 186 static void ac_init(ArithCoder *ac, GetBitContext *gb) in ac_init() 192 static av_always_inline void ac_get(ArithCoder *ac, GetBitContext *gb, int p, int *e) in ac_get() 250 ArithCoder *ac = &s->ac; in decode_frame()
|
D | mss12.c | 159 static av_always_inline int decode_pixel(ArithCoder *acoder, PixContext *pctx, in decode_pixel() 201 static int decode_pixel_in_context(ArithCoder *acoder, PixContext *pctx, in decode_pixel_in_context() 294 static int decode_region(ArithCoder *acoder, uint8_t *dst, uint8_t *rgb_dst, in decode_region() 376 static int decode_region_masked(MSS12Context const *c, ArithCoder *acoder, in decode_region_masked() 447 static int decode_pivot(SliceContext *sc, ArithCoder *acoder, int base) in decode_pivot() 467 static int decode_region_intra(SliceContext *sc, ArithCoder *acoder, in decode_region_intra() 503 static int decode_region_inter(SliceContext *sc, ArithCoder *acoder, in decode_region_inter() 542 int ff_mss12_decode_rect(SliceContext *sc, ArithCoder *acoder, in ff_mss12_decode_rect()
|
D | mss2.c | 47 static void arith2_normalise(ArithCoder *c) in arith2_normalise() 76 static void arith2_rescale_interval(ArithCoder *c, int range, in arith2_rescale_interval() 94 static int arith2_get_number(ArithCoder *c, int n) in arith2_get_number() 114 static int arith2_get_prob(ArithCoder *c, int16_t *probs) in arith2_get_prob() 136 static int arith2_get_consumed_bytes(ArithCoder *c) in ARITH_GET_MODEL_SYM() 150 static void arith2_init(ArithCoder *c, GetByteContext *gB) in arith2_init() 483 ArithCoder acoder; in mss2_decode_frame()
|