Home
last modified time | relevance | path

Searched refs:length_table (Results 1 – 1 of 1) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dqtrleenc.c57 int *length_table; member
73 av_free(s->length_table); in qtrle_encode_end()
114 s->length_table = av_calloc(s->logical_width + 1, sizeof(*s->length_table)); in qtrle_encode_init()
115 if (!s->skip_table || !s->length_table || !s->rlecode_table) { in qtrle_encode_init()
168 s->length_table[width] = 0; in qtrle_encode_line()
205 prev_bulk_cost = s->length_table[i + 1] + base_bulk_cost; in qtrle_encode_line()
230 total_skip_cost = s->length_table[i + skipcount] + 2; in qtrle_encode_line()
239 total_repeat_cost = s->length_table[i + repeatcount] + 1 + s->pixel_size; in qtrle_encode_line()
250 s->length_table[i] = total_repeat_cost; in qtrle_encode_line()
255 s->length_table[i] = total_skip_cost; in qtrle_encode_line()
[all …]