/third_party/ffmpeg/libavcodec/ |
D | rangecoder.h | 35 typedef struct RangeCoder { struct 47 } RangeCoder; argument 49 void ff_init_range_encoder(RangeCoder *c, uint8_t *buf, int buf_size); 50 void ff_init_range_decoder(RangeCoder *c, const uint8_t *buf, int buf_size); 58 int ff_rac_terminate(RangeCoder *c, int version); 60 void ff_build_rac_states(RangeCoder *c, int factor, int max_p); 62 static inline void renorm_encoder(RangeCoder *c) in renorm_encoder() 87 static inline int get_rac_count(RangeCoder *c) in get_rac_count() 95 static inline void put_rac(RangeCoder *c, uint8_t *const state, int bit) in put_rac() 114 static inline void refill(RangeCoder *c) in refill() [all …]
|
D | rangecoder.c | 42 av_cold void ff_init_range_encoder(RangeCoder *c, uint8_t *buf, int buf_size) in ff_init_range_encoder() 53 av_cold void ff_init_range_decoder(RangeCoder *c, const uint8_t *buf, in ff_init_range_decoder() 68 void ff_build_rac_states(RangeCoder *c, int factor, int max_p) in ff_build_rac_states() 109 int ff_rac_terminate(RangeCoder *c, int version) in ff_rac_terminate()
|
D | mss3.c | 61 typedef struct RangeCoder { struct 66 } RangeCoder; argument 114 RangeCoder coder; 277 static void rac_init(RangeCoder *c, const uint8_t *src, int size) in rac_init() 290 static void rac_normalise(RangeCoder *c) in rac_normalise() 310 static int rac_get_bit(RangeCoder *c) in rac_get_bit() 326 static int rac_get_bits(RangeCoder *c, int nbits) in rac_get_bits() 340 static int rac_get_model2_sym(RangeCoder *c, Model2 *m) in rac_get_model2_sym() 361 static int rac_get_model_sym(RangeCoder *c, Model *m) in rac_get_model_sym() 394 static int rac_get_model256_sym(RangeCoder *c, Model256 *m) in rac_get_model256_sym() [all …]
|
D | scpr.h | 35 typedef struct RangeCoder { struct 39 } RangeCoder; argument 52 RangeCoder rc; 76 int (*get_freq)(RangeCoder *rc, uint32_t total_freq, uint32_t *freq); 77 …int (*decode)(GetByteContext *gb, RangeCoder *rc, uint32_t cumFreq, uint32_t freq, uint3…
|
D | scpr.c | 38 static void init_rangecoder(RangeCoder *rc, GetByteContext *gb) in init_rangecoder() 102 static int decode(GetByteContext *gb, RangeCoder *rc, uint32_t cumFreq, uint32_t freq, uint32_t tot… in decode() 116 static int get_freq(RangeCoder *rc, uint32_t total_freq, uint32_t *freq) in get_freq() 131 static int decode0(GetByteContext *gb, RangeCoder *rc, uint32_t cumFreq, uint32_t freq, uint32_t to… in decode0() 153 static int get_freq0(RangeCoder *rc, uint32_t total_freq, uint32_t *freq) in get_freq0() 166 RangeCoder *rc = &s->rc; in decode_value() 210 RangeCoder *rc = &s->rc; in decode_unit()
|
D | ffv1enc.c | 184 static av_always_inline av_flatten void put_symbol_inline(RangeCoder *c, in put_symbol_inline() 232 static av_noinline void put_symbol(RangeCoder *c, uint8_t *state, in put_symbol() 311 static void write_quant_table(RangeCoder *c, int16_t *quant_table) in write_quant_table() 326 static void write_quant_tables(RangeCoder *c, in write_quant_tables() 350 RangeCoder *const c = &f->slice_context[0]->c; in write_header() 395 RangeCoder *const c = &f->c; in write_extradata() 721 RangeCoder c; in encode_init() 929 RangeCoder *c = &fs->c; in encode_slice_header() 1053 RangeCoder c_bak = fs->c; in encode_slice() 1123 RangeCoder *const c = &f->slice_context[0]->c; in encode_frame()
|
D | ffv1dec.c | 41 static inline av_flatten int get_symbol_inline(RangeCoder *c, uint8_t *state, in get_symbol_inline() 65 static av_noinline int get_symbol(RangeCoder *c, uint8_t *state, int is_signed) in get_symbol() 98 RangeCoder *const c = &s->c; in is_input_end() 166 RangeCoder *c = &fs->c; in decode_slice_header() 365 static int read_quant_table(RangeCoder *c, int16_t *quant_table, int scale) in read_quant_table() 392 static int read_quant_tables(RangeCoder *c, in read_quant_tables() 412 RangeCoder *const c = &f->c; in read_extra_header() 531 RangeCoder *const c = &f->slice_context[0]->c; in read_header() 837 RangeCoder *const c = &f->slice_context[0]->c; in decode_frame()
|
D | snow.h | 117 RangeCoder c; 510 static inline void put_symbol(RangeCoder *c, uint8_t *state, int v, int is_signed){ in put_symbol() 541 static inline int get_symbol(RangeCoder *c, uint8_t *state, int is_signed){ in get_symbol() 564 static inline void put_symbol2(RangeCoder *c, uint8_t *state, int v, int log2){ in put_symbol2() 584 static inline int get_symbol2(RangeCoder *c, uint8_t *state, int log2){ in get_symbol2()
|
D | sonic.c | 92 static av_always_inline av_flatten void put_symbol(RangeCoder *c, uint8_t *state, int v, int is_sig… in put_symbol() 139 static inline av_flatten int get_symbol(RangeCoder *c, uint8_t *state, int is_signed){ in get_symbol() 163 static inline int intlist_write(RangeCoder *c, uint8_t *state, int *buf, int entries, int base_2_pa… in intlist_write() 173 static inline int intlist_read(RangeCoder *c, uint8_t *state, int *buf, int entries, int base_2_par… in intlist_read() 718 RangeCoder c; in sonic_encode_frame() 984 RangeCoder c; in sonic_decode_frame()
|
D | scpr3.c | 99 static int decode3(GetByteContext *gb, RangeCoder *rc, uint32_t a, uint32_t b) in decode3() 723 static void sync_code3(GetByteContext *gb, RangeCoder *rc) in sync_code3() 738 RangeCoder *rc = &s->rc; in decode_value3() 826 RangeCoder *rc = &s->rc; in decode_unit3() 896 RangeCoder *rc = &s->rc; in decode_units3() 923 static void init_rangecoder3(RangeCoder *rc, GetByteContext *gb) in init_rangecoder3() 933 RangeCoder *rc = &s->rc; in decompress_i3()
|
D | ffv1.h | 81 RangeCoder c;
|
D | ffv1dec_template.c | 28 RangeCoder *const c = &s->c; in RENAME()
|
D | ffv1enc_template.c | 28 RangeCoder *const c = &s->c; in RENAME()
|
D | snowenc.c | 234 RangeCoder pc, ic; in encode_q_branch() 1006 RangeCoder r = s->c; in iterative_me() 1571 RangeCoder * const c= &s->c; in encode_frame()
|
D | snowdec.c | 448 RangeCoder * const c= &s->c; in decode_frame()
|
/third_party/ffmpeg/libavcodec/tests/ |
D | rangecoder.c | 36 static int rac_check_termination(RangeCoder *c, int version) in rac_check_termination() 39 RangeCoder tmp = *c; in rac_check_termination() 57 RangeCoder c; in main()
|