Searched refs:totfr (Results 1 – 2 of 2) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | scpr.c | 167 uint32_t totfr = cnt[maxc]; in decode_value() local 172 if ((ret = s->get_freq(rc, totfr, &value)) < 0) in decode_value() 187 if ((ret = s->decode(gb, rc, cumfr, cnt_c, totfr)) < 0) in decode_value() 191 totfr += step; in decode_value() 192 if (totfr > BOT) { in decode_value() 193 totfr = 0; in decode_value() 197 totfr += nc; in decode_value() 201 cnt[maxc] = totfr; in decode_value() 211 uint32_t totfr = pixel->total_freq; in decode_unit() local 215 if ((ret = s->get_freq(rc, totfr, &value)) < 0) in decode_unit() [all …]
|
D | scpr3.c | 110 static void rescale(PixelModel3 *m, int *totfr) in rescale() argument 120 *totfr = a; in rescale() 123 static int add_symbol(PixelModel3 *m, int index, uint32_t symbol, int *totfr, int max) in add_symbol() argument 140 *totfr += 50; in add_symbol() 141 if (*totfr + 50 > 4096) in add_symbol() 142 rescale(m, totfr); in add_symbol() 150 uint32_t q, g, maxpos, d, e = *c, totfr = *c; in decode_adaptive45() local 170 ret = add_symbol(m, q, *value, &totfr, max); in decode_adaptive45() 171 *c = totfr; in decode_adaptive45() 182 totfr += 50; in decode_adaptive45() [all …]
|