Lines Matching defs:rc_stat
163 uint64_t rc_stat[256][2];
278 static av_always_inline av_flatten void put_symbol_inline(RangeCoder *c, uint8_t *state, int v, int is_signed, uint64_t rc_stat[256][2], uint64_t rc_stat2[32][2]){
283 if(rc_stat){\
284 rc_stat[*(S)][B]++;\
478 put_symbol_inline(c, p->state[context], diff, 1, s->rc_stat, s->rc_stat2[p->quant_table_index][context]);
812 s->rc_stat[old][0]*-log2((256-(new))/256.0)\
813 +s->rc_stat[old][1]*-log2( (new) /256.0)
824 FFSWAP(int, s->rc_stat[i ][0],s->rc_stat[ i2][0]);
825 FFSWAP(int, s->rc_stat[i ][1],s->rc_stat[ i2][1]);
828 FFSWAP(int, s->rc_stat[256-i][0],s->rc_stat[256-i2][0]);
829 FFSWAP(int, s->rc_stat[256-i][1],s->rc_stat[256-i2][1]);
949 s->rc_stat[j][i]= strtol(p, &next, 0);
1164 memset(f->rc_stat, 0, sizeof(f->rc_stat));
1171 f->rc_stat[i][0] += fs->rc_stat[i][0];
1172 f->rc_stat[i][1] += fs->rc_stat[i][1];
1185 snprintf(p, end-p, "%"PRIu64" %"PRIu64" ", f->rc_stat[j][0], f->rc_stat[j][1]);