Searched refs:one_state (Results 1 – 5 of 5) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | rangecoder.c | 75 memset(c->one_state, 0, sizeof(c->one_state)); in ff_build_rac_states() 84 c->one_state[last_p8] = p8; in ff_build_rac_states() 91 if (c->one_state[i]) in ff_build_rac_states() 101 c->one_state[i] = p8; in ff_build_rac_states() 105 c->zero_state[i] = 256 - c->one_state[256 - i]; in ff_build_rac_states()
|
D | rangecoder.h | 41 uint8_t one_state[256]; member 108 *state = c->one_state[*state]; in put_rac() 138 *state = c->one_state[*state]; in get_rac()
|
D | ffv1enc.c | 140 const uint8_t one_state[256]) in find_best_state() 159 if (!one_state[j]) in find_best_state() 175 newocc[ one_state[ m]] += occ[m] * (uint64_t) i >> 8; in find_best_state() 176 newocc[256 - one_state[256 - m]] += occ[m] * (uint64_t)(256 - i) >> 8; in find_best_state() 360 f->state_transition[i] - c->one_state[i], 1); in write_header() 424 put_symbol(c, state, f->state_transition[i] - c->one_state[i], 1); in write_extradata() 707 s->state_transition[i] = c.one_state[i]; in encode_init() 1185 c->one_state[i] = f->state_transition[i]; in encode_frame() 1186 c->zero_state[256 - i] = 256 - c->one_state[i]; in encode_frame()
|
D | ffv1.c | 92 fs->c. one_state[ j] = f->state_transition[j]; in ff_ffv1_init_slice_state() 93 fs->c.zero_state[256 - j] = 256 - fs->c.one_state[j]; in ff_ffv1_init_slice_state()
|
D | ffv1dec.c | 454 f->state_transition[i] = get_symbol(c, state, 1) + c->one_state[i]; in read_extra_header() 567 int st = get_symbol(c, state, 1) + c->one_state[i]; in read_header()
|