Lines Matching refs:initial_states
178 uint8_t (*initial_states[MAX_QUANT_TABLES])[32];
740 f->initial_states[i]= av_malloc(f->context_count[i]*sizeof(*f->initial_states[i]));
741 if(!f->initial_states[i])
743 memset(f->initial_states[i], 128, f->context_count[i]*sizeof(*f->initial_states[i]));
784 if(f->initial_states[i] && f->initial_states[i][0][j] != 128)
790 int pred= j ? f->initial_states[i][j-1][k] : 128;
791 put_symbol(c, state2[k], (int8_t)(f->initial_states[i][j][k]-pred), 1);
991 s->initial_states[i][j][k]= best_state[av_clip(round(p), 1, 255)][av_clip((s->rc_stat2[i][j][k][0]+s->rc_stat2[i][j][k][1])/gob_count, 0, 255)];
1039 if(f->initial_states[p->quant_table_index]){
1040 memcpy(p->state, f->initial_states[p->quant_table_index], CONTEXT_SIZE*p->context_count);
1227 av_freep(&s->initial_states[j]);
1499 int pred= j ? f->initial_states[i][j-1][k] : 128;
1500 f->initial_states[i][j][k]= (pred+get_symbol(c, state2[k], 1))&0xFF;