Searched refs:initial_states (Results 1 – 4 of 4) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | ffv1.c | 158 f->initial_states[i] = av_malloc_array(f->context_count[i], in ff_ffv1_allocate_initial_states() 159 sizeof(*f->initial_states[i])); in ff_ffv1_allocate_initial_states() 160 if (!f->initial_states[i]) in ff_ffv1_allocate_initial_states() 162 memset(f->initial_states[i], 128, in ff_ffv1_allocate_initial_states() 163 f->context_count[i] * sizeof(*f->initial_states[i])); in ff_ffv1_allocate_initial_states() 179 if (f->initial_states[p->quant_table_index]) { in ff_ffv1_clear_slice_state() 180 memcpy(p->state, f->initial_states[p->quant_table_index], in ff_ffv1_clear_slice_state() 223 av_freep(&s->initial_states[j]); in ff_ffv1_close()
|
D | ffv1dec.c | 506 int pred = j ? f->initial_states[i][j - 1][k] : 128; in read_extra_header() 507 f->initial_states[i][j][k] = in read_extra_header() 1058 uint8_t (*initial_states[MAX_QUANT_TABLES])[32]; in update_thread_context() local 1060 memcpy(initial_states, fdst->initial_states, sizeof(fdst->initial_states)); in update_thread_context() 1064 memcpy(fdst->initial_states, initial_states, sizeof(fdst->initial_states)); in update_thread_context()
|
D | ffv1enc.c | 440 if (contains_non_128(f->initial_states[i], f->context_count[i])) { in write_extradata() 444 int pred = j ? f->initial_states[i][j - 1][k] : 128; in write_extradata() 446 (int8_t)(f->initial_states[i][j][k] - pred), 1); in write_extradata() 830 s->initial_states[i][jp][k] = in encode_init() 833 s->initial_states[i][jp][k] = s->initial_states[i][jp-1][k]; in encode_init() 841 s->initial_states[i][j][k] = in encode_init()
|
D | ffv1.h | 102 uint8_t (*initial_states[MAX_QUANT_TABLES])[32]; member
|