Lines Matching refs:length_table
55 int *length_table;
89 s->length_table = av_mallocz((s->avctx->width + 1)*sizeof(int));
90 if (!s->skip_table || !s->length_table || !s->rlecode_table) {
138 s->length_table[width] = 0;
148 total_skip_cost = s->length_table[i + skipcount] + 2;
157 total_repeat_cost = s->length_table[i + repeatcount] + 1 + s->pixel_size;
168 s->length_table[i] = total_repeat_cost;
173 s->length_table[i] = total_skip_cost;
186 if (s->length_table[i + j] + temp_cost < total_bulk_cost) {
188 total_bulk_cost = s->length_table[i + j] + temp_cost;
194 s->length_table[i] = total_bulk_cost;
319 av_free(s->length_table);